Hi, I've managed to get Linux 2.6.26 running on a WGT634U WLAN router. This device has a little-endian MIPS CPU and has an Atheros miniPCI card for providing wireless network connectivity. With lspci it is recognized as an Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01), Engenius 5354MP Plus ARIES2 b/g MiniPCI Adapter, which should run with the ath5k kernel driver (compiled into my kernel).
Now I would like to setup the WLAN device in AP mode, but I didn't succeed yet. I must confess that I'm not very familiar with the current wireless framework in the kernel. What I figured out so far is, that I need iw¹ for wireless settings. So I compiled it and apparently it basically works. Unfortunately it isn't very good documented yet (i. e. I had to read the source to figure out what device types it accepts). I tried the following: # iw dev wlan0 del (delete the old wlan0 client mode device, success) # iw phy phy0 interface add wlan0 type __ap command failed: Invalid argument (-22) As you can see, adding an interface in AP mode doesn't work. Today I realized that ath5k simply isn't able to do AP mode yet. I found the patch² from Jiri posted last week, but I'm now a little bit confused, what the final consensus on this patch is. I would like to test the patch, but don't know which one to choose. I would appreciate a definitive patch and am looking forward to provide any feedback needed. Regards Micha ¹ http://wireless.kernel.org/en/users/Documentation/iw ² http://kerneltrap.org/mailarchive/linux-ath5k-devel/2008/9/27/3428184 _______________________________________________ ath5k-devel mailing list [email protected] https://lists.ath5k.org/mailman/listinfo/ath5k-devel
