Big delays between an AR5416 AP and its clients

Adrian Chadd adrian.chadd at gmail.com
Fri Nov 25 09:53:42 UTC 2011


Hi,

As I've said privately:

* compile w/ ATH_DEBUG, ATH_DIAGAPI, AH_DEBUG
* and compile src/tools/tools/ath/athstats/

I also suggest:

* compile w/ IEEE80211_DEBUG
* and compile src/tools/tools/wlan/wlanstats/

(why those aren't built as part of the base is beyond me, but I digress..)

Let's see if we can find some correlations between counters
incrementing and upset traffic w/ your iphone.

The commit (r227364) is the introduction of the TX aggregation and
software TX queue handling. It's very possible that we're seeing some
very bad behaviour with aggressive power saving as I _do_ know my ath
driver changes have broken the power saving stuff somewhat.

The short of it: because there are now frames sitting in the driver,
rather than the net80211 TX interface queue, the beacon TIM (traffic
map) generation won't take into account anything that the driver sees.
However unless you've enabled 11n, the software retransmission
shouldn't occur - it only occurs when 11n aggregation has been
negotiated. So I think it's very likely something to do with the
software TX queue itself and how frames are queued/drained.

So yes, let's get some more details from your environment and once
I've finished relocation (and have the right iphone hardware :-) I'll
see about fixing it up.

Thanks very much for testing this stuff!



Adrian


More information about the freebsd-wireless mailing list