Big delays between an AR5416 AP and its clients

Gustau Pérez gperez at entel.upc.edu
Fri Nov 25 17:17:43 UTC 2011


On 11/25/11 10:53, Adrian Chadd wrote:
> 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.
>

    All that follows was done with all the debug kernel knobs there.

    I did two tests collecting info with athstats.

    The first was with no clients associated with the box and then 
letting the iphone associate. The athstats dump is at:

http://pastebin.com/EVgFJC7s

    The second one was 1 client associated with the box. This client was 
sending icmp messages at the default rate of 1 icmp/s:

http://pastebin.com/C5kjuEpg

     Neither wlanstats nor dmesg shows additional information. The 
kernel only complains about this (I paste it only because it is quite 
short):

              ar5416PerCalibrationN: NF calibration didn't finish; 
delaying CCA
             Timeout while waiting for nf to load: 
AR_PHY_AGC_CONTROL=0x41d1a

    The last message appears from time to time (currently I have it 
three times) but it shows up without any correlation with the 
association process of the iphone so I would say it has nothing to do 
with our problem. It appears to be related with calibration in N mode. 
However I'm posting just in case.

    Any additional test, let me know.

    Gus




More information about the freebsd-wireless mailing list