From: Amit Sood Date: Wed, 3 Sep 2008 05:05:56 +0530 (IST) Subject: [ath9k-devel] ath9k & hostapd Message-ID: <783216.52197.qm@web95011.mail.in2.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Thanks Nils for detailed explanation. I understand this is not a ath9k issue however I googled & could not find how I can use ath9k driver with hostapd. There is support for madwifi, bsd drivers & hostpad but I didn't know how I can use ath9k. I installed compiled it as it is but didn;t work. I'll try it tonight with "nl80211" option . Hopefully it should work.... : ) Kind Regards, Amit ----- Original Message ---- From: Nils Bagge To: Amit Sood ; ath9k-devel at lists.ath9k.org Sent: Wednesday, 3 September, 2008 8:13:08 AM Subject: RE: [ath9k-devel] ath9k & hostapd When you say ?I was unable to run the hostapd with ath9k?, what exactly is your problem? Generally: 1) Built the ath9k driver (I assume you know how to do this). 2) Built hostapd, make sure you use the nl80211 driver. (this is also documented). You'll need libnl (I used 1.1) so get that and build it then setup the .config file. 3) Make sure your network interfaces are configured properly. You'll need to setup a bridge (and also tell hostapd about it (also documented)). Make sure the kernel IP routing table is setup okay. I don't know if this is true for every configuration, but in my case I needed to set the bridge interface to be used for all the routes (this makes sense if you think about what an AP is doing)., e.g. Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.1.1.0 * 255.255.255.0 U 0 0 0 br0 default 10.1.1.1 0.0.0.0 UG 0 0 0 br0 Hope this helps. This was mostly a hostapd/linux issue rather than anything to do with the ath9k driver. Good luck, Nils From: Amit Sood [mailto:as22_2000 at yahoo.com] Sent: Friday, August 29, 2008 7:55 PM To: Nils Bagge; ath9k-devel at lists.ath9k.org Subject: Re: [ath9k-devel] ath9k & hostapd Hi Nils, I'm also interested to test the hostapd with AR5416, however I was unable to run the hostapd with ath9k. Do you mind provdig some basci steps to achieve the same? cheers, -amit- ----- Original Message ---- From: Nils Bagge To: ath9k-devel at lists.ath9k.org Sent: Saturday, 30 August, 2008 6:11:13 AM Subject: [ath9k-devel] ath9k & hostapd I can also confirm that hostapd and ath9k are working for me. I have an AR5416 reference PC card, running the latest wireless-testing kernel along with the patches from w1.fi. I don?t have the latest patches that were submitted today to the linux-wireless mailing list, though. As was previously mentioned (see below), I can also confirm that 11a mode is not working with hostapd; it appears not to be an ath9k issue? I have narrowed down the code and I think I?ll take it up with the hostapd guys. Anyway, I am highly anticipating the 11n mode. Just for the curious, I was able to get these results without any tweaking. This is in 11g mode. iperf -c 10.1.1.229 -i 5 -w 2M -t 60 -S 0xa0 ------------------------------------------------------------ Client connecting to 10.1.1.229, TCP port 5001 TCP window size: 256 KByte (WARNING: requested 2.00 MByte) ------------------------------------------------------------ [ 3] local 10.1.1.210 port 53323 connected with 10.1.1.229 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 5.0 sec 13.6 MBytes 22.9 Mbits/sec [ 3] 5.0-10.0 sec 13.1 MBytes 22.0 Mbits/sec [ 3] 10.0-15.0 sec 13.2 MBytes 22.1 Mbits/sec [ 3] 15.0-20.0 sec 13.1 MBytes 22.0 Mbits/sec [ 3] 20.0-25.0 sec 1.79 MBytes 3.00 Mbits/sec [ 3] 25.0-30.0 sec 13.4 MBytes 22.5 Mbits/sec [ 3] 30.0-35..0 sec 13.8 MBytes 23.1 Mbits/sec [ 3] 35.0-40.0 sec 13.8 MBytes 23.2 Mbits/sec [ 3] 40.0-45.0 sec 13.7 MBytes 22.9 Mbits/sec [ 3] 45..0-50.0 sec 13.9 MBytes 23.4 Mbits/sec [ 3] 50.0-55.0 sec 13.4 MBytes 22.5 Mbits/sec [ 3] 55.0-60.0 sec 13.5 MBytes 22.7 Mbits/sec [ 3] 0.0-60.0 sec 150 MBytes 21.0 Mbits/sec Nils On Aug 20, 2008, at 7:46 PM, Alexandros C. Couloumbis wrote: > it works! I posted some benchmarks on the openwrt forum: > http://forum.openwrt.org/viewtopic.php?pid=72503#p72503 > > I am unable though to set hostapd for 802.11a Nice to hear that the AP mode worked for you. I haven't tested 802.11a for a long time with hostapd, so I'm not too surprised if something is broken there with mac80211. I'll take a closer look once I get 802.11n stuff merged into hostapd. - Jouni ________________________________________ Unlimited freedom, unlimited storage... Get it now Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/