Hostapd and ath9k - AP not working
helena at astbb.com
Fri Mar 27 19:55:10 EDT 2009
Thanks for the help Jouni. I switched to 2.6.29 and it works better now (I
don't know why but wireless testing does not work). Now I have a new
problem. When both sides are in a/b/g mode, the connection works fine.
However, when I switch to na/ng mode, the connection is very fragile. The
sta can associate with the ap and stays associated, but they cannot ping
each other unless I put the antenna in a very specific place (I have to
manually adjust for each connection carefully since the place changes with
every channel), which is really strange because the two boxes are only two
feet from each other. Even when I do get them to ping each other the ping
time is very unstable. When I do iperf, the maximum throughput I managed to
get is 21 Mb on channel 44, HT40+, which is a lot less than what it should
be. Has anyone else seen this problem before? What could I be doing wrong?
On Tue, Mar 24, 2009 at 1:27 PM, Jouni Malinen <j at w1.fi> wrote:
> On Tue, Mar 24, 2009 at 12:34:43PM -0700, Helena Zhang wrote:
> > iw list output:
> Thanks, this looked fine.
> > hostapd didn't produce any dmesg output, even when I use -dd. Is there
> > another way to produce more debugging?
> Would it be possible for you to test this with Linux 2.6.29 or even
> better, wireless-testing.git? For an easier test, could you please try
> running "iw dev wlan0 set freq 2412" after having tried starting
> hostapd? That could provide more useful error message for the failed
> channel configuration.
> By the way, which version of hostapd are you using? I do not remember
> any changes that should affect the initial channel configuration, but
> anyway, the best policy is to run a test with the latest release and/or
> development branch snapshot.
> Do you have CRDA installed on the device? Which Atheros WLAN card are
> you using? As far as getting more debug out from the driver is
> concerned, please take a look at "Enabling debug" on the following page:
> It would probably be useful to enable both ATH_DBG_CHANNEL and
> ATH_DBG_REGULATORY for this particular issue (and maybe add
> ATH_DBG_CONFIG, too). This would hopefully show something in dmesg
> output when hostapd is started. Though, it is still possible that the
> issue happens in mac80211, in which case the driver debug may not
> actually show much.
> Jouni Malinen PGP id EFC895FA
> HostAP mailing list
> HostAP at lists.shmoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP