Skip to contentSkip to conversation

Wireless N - AP mode devel status??

ath9k-devel Adam Tistler 3 participants 5 messages Dec 30, 2008 – Dec 31, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I have been using ath5k on debian etch for sometime using AP mode on a netgear wireless G card and have been extremely happy with it. Thank you so much for all the hard work going into this project.

I would like to get a wireless N pci card and use the ath9k drivers. I would like for it to serve as an AP as in my previous setup. I read that there are a few patches available for ath9k/AP mode. What is the current state of development in regards to this?
I would be happy to serve as a tester if this is still considered alpha or if there are some patches that I can apply.

I had my eye on the:

	D-Link Rangebooster N Desktop Adapter
	(MPN: DWA542)

which I believe has AR5416 Chipset. If there is a better card to test with, please let me know.

Adam Tistler
1(732)718-2631
atistler at gmail.com

#1 lore raw
Quoted 6 lines · Adam Tistler

I would like to get a wireless N pci card and use the ath9k drivers. I would like for it to serve as an AP as in my previous setup. I read that there are a few patches available for ath9k/AP mode. What is the current state of development in regards to this?
I would be happy to serve as a tester if this is still considered alpha or if there are some patches that I can apply.

All the AP mode patches are now included in wireless-testing.git tree and will likely be included in the next kernel release (2.6.29). I'm not aware of any major issues with this code.

- Jouni

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jouni,

maybe I'm simply to stupid, but after your mail I pulled the latest version and compiled the kernel from wireless-testing:

acapulco ~ # uname -a
Linux acapulco 2.6.28-rc9-wl-dirty #2 SMP Tue Dec 30 19:04:19 CET 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

but when I try to set device to master (ap) mode I only get:

acapulco ~ # iwconfig wlan0 mode master Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

The card is a DLink DWA-547 and identifies itself as

acapulco ~ # lspci | grep Atheros
01:08.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)

Maybe you (or someone else) have a hint for me what I'm doing wrong.

Thanks in advance and best regards
Jens

Quoted 16 lines · Jouni Malinen
Quoted 6 lines · Adam Tistler

I would like to get a wireless N pci card and use the ath9k drivers. I would like for it to serve as an AP as in my previous setup. I read that there are a few patches available for ath9k/AP mode. What is the current state of development in regards to this?
I would be happy to serve as a tester if this is still considered alpha or if there are some patches that I can apply.

All the AP mode patches are now included in wireless-testing.git tree and will likely be included in the next kernel release (2.6.29). I'm not aware of any major issues with this code.

- Jouni

Quoted 7 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

!DSPAM:2,495a110b72781804284693!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklabZIACgkQMf0yjMLKfXpTaACeJAHEbeVRqjyVL3QP0aJfVqtr 2jMAnRvBmlFGOvvPkOsmgnWYsIzFEPFe
=coFV
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 5 lines · Jens Ott - Opteamax

but when I try to set device to master (ap) mode I only get:

acapulco ~ # iwconfig wlan0 mode master Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

mac80211 does not support iwconfig for setting the AP mode, i.e., you will need to use a user space program to take care of some AP operations. You can use the current 0.6.x version of hostapd
(http://w1.fi/hostapd/) for this.

- Jouni

#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

thank you for this hint. My problem came from the gentoo-start-scripts of hostapd, which require net.wlan* to be started before starting hostapd. In gentoo's quick-start-guide for hostapd, they ask to configure wlan0 to be in master-mode by setting "iwconfig mode master".

I think I should take a deeper look into the hostapd-documentation ;-)

Best regards and have a good start into 2009 tonight.

Jens

Quoted 13 lines · Jouni Malinen
Quoted 5 lines · Jens Ott - Opteamax

but when I try to set device to master (ap) mode I only get:

acapulco ~ # iwconfig wlan0 mode master Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

mac80211 does not support iwconfig for setting the AP mode, i.e., you will need to use a user space program to take care of some AP operations. You can use the current 0.6.x version of hostapd
(http://w1.fi/hostapd/) for this.

Quoted 6 lines

- Jouni

!DSPAM:2,495b294f39102289814270!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklbOnAACgkQMf0yjMLKfXqEBQCfSoqNZIdo6tXhYy58QqdWxXfj 17sAn3GFEaW4AecEaWEEzj7HUqhe2paO
=gm5P
-----END PGP SIGNATURE-----