<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>&gt;&gt; I'm being told in #madwifi that I need to use hostapd to set master<BR>&gt;&gt; mode with ath5k since iwconfig gives me:<BR>&gt;&gt; <BR>&gt;&gt; ath0 does not support setting the mode to "master"<BR>&gt;&gt; <BR>&gt;&gt; I've always set master mode with iwconfig and then started hostapd to<BR>&gt;&gt; control authentication.&nbsp; How can I use hostapd to set master mode?<BR><BR></DIV>
<DIV>&gt;By starting it.. Just set driver=nl80211 in hostapd.conf and hostapd<BR>&gt;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&nbsp; &nbsp; &nbsp; 2009-02-10 06:11:43.186470883 +0100<BR>+++ wireless-testing/drivers/net/wireless/ath5k/base.c.old&nbsp; &nbsp; &nbsp; 2008-11-14&nbsp;09:36:40.000000000 +0100<BR>@@ -522,6 +501,7 @@<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hw-&gt;wiphy-&gt;interface_modes =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BIT(NL80211_IFTYPE_STATION) |<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BIT(NL80211_IFTYPE_ADHOC) |<BR>&nbsp;+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BIT(NL80211_IFTYPE_AP) |<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 BIT(NL80211_IFTYPE_MESH_POINT);<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hw-&gt;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>&nbsp;</DIV></DIV></DIV></div><br>

      </body></html>