All of lore.kernel.org
 help / color / mirror / Atom feed
* ath5k AP support?
@ 2009-06-16 21:40 Tomasz Chmielewski
  2009-06-16 21:51 ` Pavel Roskin
  2009-06-16 21:54 ` Bob Copeland
  0 siblings, 2 replies; 7+ messages in thread
From: Tomasz Chmielewski @ 2009-06-16 21:40 UTC (permalink / raw)
  To: linux-wireless

According to http://linuxwireless.org/en/users/Drivers/ath5k, AP mode is 
"reported to work, we just need some further tests on all cards to be sure".

I just tried it with 2.6.30 kernel with this card:

00:02.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 
Multiprotocol MAC/baseband processor (rev 01)

And it doesn't work:

1245188059.756414: Configuration file: /etc/hostapd/hostapd-wlan0.conf
1245188059.766698: nl80211: Add own interface ifindex 6
1245188059.768470: nl80211: Add own interface ifindex 5
1245188059.770822: nl80211: Failed to set interface 5 to mode 3: -122 
(Operation not supported)
1245188059.772627: nl80211: Failed to set interface wlan1 into AP mode
1245188059.774811: nl80211 driver initialization failed.
1245188059.776564: wlan1: Unable to setup interface.
1245188059.778342: Flushing old station entries
1245188059.780055: Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=3 eloop_data=0x47b860 user_data=0x47bda0 
handler=0x43929c


Is there anything more needed for ath5k to work (some external patches, 
git tree etc.)?

I tested it on ASUS WL-500gP (BCM47XX mips platform).

-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ath5k AP support?
  2009-06-16 21:40 ath5k AP support? Tomasz Chmielewski
@ 2009-06-16 21:51 ` Pavel Roskin
  2009-06-16 21:54 ` Bob Copeland
  1 sibling, 0 replies; 7+ messages in thread
From: Pavel Roskin @ 2009-06-16 21:51 UTC (permalink / raw)
  To: Tomasz Chmielewski; +Cc: linux-wireless

On Tue, 2009-06-16 at 23:40 +0200, Tomasz Chmielewski wrote:
> According to http://linuxwireless.org/en/users/Drivers/ath5k, AP mode is 
> "reported to work, we just need some further tests on all cards to be sure".

That's for the wireless-testing.git.

> I just tried it with 2.6.30 kernel with this card:

The AP support is not in Linux 2.6.30.  I believe it will be in Linux
2.6.31.

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ath5k AP support?
  2009-06-16 21:40 ath5k AP support? Tomasz Chmielewski
  2009-06-16 21:51 ` Pavel Roskin
@ 2009-06-16 21:54 ` Bob Copeland
  2009-06-18 20:16   ` Tomasz Chmielewski
  1 sibling, 1 reply; 7+ messages in thread
From: Bob Copeland @ 2009-06-16 21:54 UTC (permalink / raw)
  To: Tomasz Chmielewski; +Cc: linux-wireless

On Tue, Jun 16, 2009 at 5:40 PM, Tomasz Chmielewski<mangoo@wpkg.org> wrote:
> According to http://linuxwireless.org/en/users/Drivers/ath5k, AP mode is
> "reported to work, we just need some further tests on all cards to be sure".
>
> I just tried it with 2.6.30 kernel with this card:

2.6.30 does not enable AP mode, you should try the wireless-testing
tree instead.

There is at least one known bug (the patch at the end is broken but
close):  http://bugzilla.kernel.org/show_bug.cgi?id=13237

-- 
Bob Copeland %% www.bobcopeland.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ath5k AP support?
  2009-06-16 21:54 ` Bob Copeland
@ 2009-06-18 20:16   ` Tomasz Chmielewski
  2009-06-18 20:22     ` Tomasz Chmielewski
  0 siblings, 1 reply; 7+ messages in thread
From: Tomasz Chmielewski @ 2009-06-18 20:16 UTC (permalink / raw)
  To: Bob Copeland; +Cc: linux-wireless

Bob Copeland wrote:
> On Tue, Jun 16, 2009 at 5:40 PM, Tomasz Chmielewski<mangoo@wpkg.org> wrote:
>> According to http://linuxwireless.org/en/users/Drivers/ath5k, AP mode is
>> "reported to work, we just need some further tests on all cards to be sure".
>>
>> I just tried it with 2.6.30 kernel with this card:
> 
> 2.6.30 does not enable AP mode, you should try the wireless-testing
> tree instead.
> 
> There is at least one known bug (the patch at the end is broken but
> close):  http://bugzilla.kernel.org/show_bug.cgi?id=13237

I tried compat-wireless-2009-06-17, but I can't connect:

Jun 18 22:12:31 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: authenticated
Jun 18 22:12:31 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: associated (aid 1)
Jun 18 22:12:34 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: deauthenticated due to local deauth request
Jun 18 22:12:40 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: authenticated
Jun 18 22:12:40 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: associated (aid 1)
Jun 18 22:12:43 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: deauthenticated due to local deauth request
Jun 18 22:12:55 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: authenticated
Jun 18 22:12:55 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: associated (aid 1)
Jun 18 22:12:58 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 802.11: deauthenticated due to local deauth request
(...)


I didn't try your patch.


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ath5k AP support?
  2009-06-18 20:16   ` Tomasz Chmielewski
@ 2009-06-18 20:22     ` Tomasz Chmielewski
  2009-07-05 12:02       ` Bob Copeland
  0 siblings, 1 reply; 7+ messages in thread
From: Tomasz Chmielewski @ 2009-06-18 20:22 UTC (permalink / raw)
  To: Bob Copeland; +Cc: linux-wireless

Tomasz Chmielewski wrote:
> Bob Copeland wrote:
>> On Tue, Jun 16, 2009 at 5:40 PM, Tomasz Chmielewski<mangoo@wpkg.org> 
>> wrote:
>>> According to http://linuxwireless.org/en/users/Drivers/ath5k, AP mode is
>>> "reported to work, we just need some further tests on all cards to be 
>>> sure".
>>>
>>> I just tried it with 2.6.30 kernel with this card:
>>
>> 2.6.30 does not enable AP mode, you should try the wireless-testing
>> tree instead.
>>
>> There is at least one known bug (the patch at the end is broken but
>> close):  http://bugzilla.kernel.org/show_bug.cgi?id=13237
> 
> I tried compat-wireless-2009-06-17, but I can't connect:
> 
> Jun 18 22:12:31 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 
> 802.11: authenticated
> Jun 18 22:12:31 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 
> 802.11: associated (aid 1)
> Jun 18 22:12:34 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 
> 802.11: deauthenticated due to local deauth request
> Jun 18 22:12:40 mangoo hostapd: wlan1: STA 00:23:08:78:d4:5f IEEE 
> 802.11: authenticated
> (...)

Oh well.
The above is with hostapd 0.7.0 snapshot.
With 0.6.9 I can connect and the connection works fine

Is it normal?

hostapd 0.7.0 snapshot worked with a b43 card (but my b43 card doesn't 
work well on my ASUS router, and hence I'm trying a different card, ath5k).


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ath5k AP support?
  2009-06-18 20:22     ` Tomasz Chmielewski
@ 2009-07-05 12:02       ` Bob Copeland
  2009-07-11 16:20         ` Tomasz Chmielewski
  0 siblings, 1 reply; 7+ messages in thread
From: Bob Copeland @ 2009-07-05 12:02 UTC (permalink / raw)
  To: Tomasz Chmielewski; +Cc: linux-wireless

On Thu, Jun 18, 2009 at 10:22:36PM +0200, Tomasz Chmielewski wrote:
> Oh well.
> The above is with hostapd 0.7.0 snapshot.
> With 0.6.9 I can connect and the connection works fine
>
> Is it normal?

I'm not sure -- do you have anything in dmesg?  

I've noticed a strange bug lately where some packets to the STA get dropped
due to some kind of off-by-u32 bug.  I haven't tracked it down yet to
any certain combination of ath5k/w-t/hostapd, though.

-- 
Bob Copeland %% www.bobcopeland.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ath5k AP support?
  2009-07-05 12:02       ` Bob Copeland
@ 2009-07-11 16:20         ` Tomasz Chmielewski
  0 siblings, 0 replies; 7+ messages in thread
From: Tomasz Chmielewski @ 2009-07-11 16:20 UTC (permalink / raw)
  To: Bob Copeland; +Cc: linux-wireless

Bob Copeland wrote:
> On Thu, Jun 18, 2009 at 10:22:36PM +0200, Tomasz Chmielewski wrote:
>> Oh well.
>> The above is with hostapd 0.7.0 snapshot.
>> With 0.6.9 I can connect and the connection works fine
>>
>> Is it normal?
> 
> I'm not sure -- do you have anything in dmesg?  
> 
> I've noticed a strange bug lately where some packets to the STA get dropped
> due to some kind of off-by-u32 bug.  I haven't tracked it down yet to
> any certain combination of ath5k/w-t/hostapd, though.

No, nothing in dmesg.

I checked out 0.7 now, and it seems to work.

So, problem solved.


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-07-11 16:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16 21:40 ath5k AP support? Tomasz Chmielewski
2009-06-16 21:51 ` Pavel Roskin
2009-06-16 21:54 ` Bob Copeland
2009-06-18 20:16   ` Tomasz Chmielewski
2009-06-18 20:22     ` Tomasz Chmielewski
2009-07-05 12:02       ` Bob Copeland
2009-07-11 16:20         ` Tomasz Chmielewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.