<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>On Sat, Feb 21, 2009 at 10:45:36AM -0800, Grant wrote:<BR><BR>>> I'm being told in #madwifi that I need to use hostapd to set master<BR>>> mode with ath5k since iwconfig gives me:<BR>>> <BR>>> ath0 does not support setting the mode to "master"<BR>>> <BR>>> I've always set master mode with iwconfig and then started hostapd to<BR>>> control authentication. How can I use hostapd to set master mode?<BR><BR></DIV>
<DIV>>By starting it.. Just set driver=nl80211 in hostapd.conf and hostapd<BR>>takes care of the details.<BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Hello Everyone</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Am I right, just seting driver=nl80211 in hostapd.conf does not work for ath5k but for ath9k.</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">for ath5k we also have add the following extra line? any idea ?<BR><BR>--- wireless-testing/drivers/net/wireless/ath5k/base.c 2009-02-10 06:11:43.186470883 +0100<BR>+++ wireless-testing/drivers/net/wireless/ath5k/base.c.old 2008-11-14 09:36:40.000000000 +0100<BR>@@ -522,6 +501,7 @@<BR> hw->wiphy->interface_modes =<BR> BIT(NL80211_IFTYPE_STATION) |<BR> BIT(NL80211_IFTYPE_ADHOC) |<BR> + BIT(NL80211_IFTYPE_AP) |<BR>
BIT(NL80211_IFTYPE_MESH_POINT);<BR><BR> hw->extra_tx_headroom = 2;<BR></DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><SPAN style="COLOR: rgb(0,0,255)"><SPAN style="FONT-WEIGHT: bold">B</SPAN>est <SPAN style="FONT-WEIGHT: bold">R</SPAN>egards <BR><BR style="COLOR: rgb(0,0,255)"></SPAN><SPAN style="COLOR: rgb(0,0,255)"><SPAN style="FONT-WEIGHT: bold">A</SPAN>hmad <SPAN style="FONT-WEIGHT: bold">A</SPAN>li </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: rgb(0,0,255)">T</SPAN><SPAN style="COLOR: rgb(0,0,255)">abassam</SPAN><BR>Institute Industrial IT<BR>
<DIV> </DIV></DIV></DIV></div><br>
</body></html>