Use hostapd to set master mode?

Ahmad Ali Tabassam ahmadthe8
Mon Feb 23 00:22:56 PST 2009


On Sat, Feb 21, 2009 at 10:45:36AM -0800, Grant wrote:

>> I'm being told in #madwifi that I need to use hostapd to set master
>> mode with ath5k since iwconfig gives me:
>> 
>> ath0 does not support setting the mode to "master"
>> 
>> I've always set master mode with iwconfig and then started hostapd to
>> control authentication.? How can I use hostapd to set master mode?


>By starting it.. Just set driver=nl80211 in hostapd.conf and hostapd
>takes care of the details.


Hello Everyone
Am I right, just seting driver=nl80211 in hostapd.conf does not work for ath5k but for ath9k.
for ath5k we also have add the following extra line? any idea ?

--- wireless-testing/drivers/net/wireless/ath5k/base.c? ? ? 2009-02-10 06:11:43.186470883 +0100
+++ wireless-testing/drivers/net/wireless/ath5k/base.c.old? ? ? 2008-11-14?09:36:40.000000000 +0100
@@ -522,6 +501,7 @@
??????? hw->wiphy->interface_modes =
??????????????? BIT(NL80211_IFTYPE_STATION) |
??????????????? BIT(NL80211_IFTYPE_ADHOC) |
?+? ? ? ? ? ? ? BIT(NL80211_IFTYPE_AP) |
??????????????? BIT(NL80211_IFTYPE_MESH_POINT);

??????? hw->extra_tx_headroom = 2;

Best Regards 

Ahmad Ali Tabassam
Institute Industrial IT


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090223/5fa9a962/attachment.htm 



More information about the Hostap mailing list