On 19 February 2013 08:32, Adrian Chadd <adr...@freebsd.org> wrote:
> 0x2003 will make things appear. Just do an active scan (ifconfig wlanX
> scan) to ensure something happens.


(Cc'ing the list so people can see the progress of debugging this.)

It looks like this happens:

* a channel change occurs;
* beacons are received;
* probe request frames are queued to the hardware;
* but before the TX completes (either fail or succeed) the queue gets
stopped and reset.

So either it's not going out, or the timers are all screwed up and
it's immediately resetting. It's hard to tell given the current
logging (ie, no microsecond resolution timestamps, sigh.)

Can you try changing the timecounter?

sysctl kern.timecounter

set it to something obviously inefficient, like "i8254":

sysctl kern.timecounter.hardware=i8254

.. and similarly the eventtimer:

sysctl kern.eventtimer.timer=i8254

and see if that changes things.

It looks like the scan times default to 200ms per channel in
ieee80211_scan_sta.c. It's tunable, but the scan code in ifconfig
doesn't have any option to change it. 200ms should be plenty of time
to finish calibrating and start sending frames though..


freebsd-wireless@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to