Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 18:17:31 +0100
From:      =?ISO-8859-1?Q?Gustau_P=E9rez?= <gperez@entel.upc.edu>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Big delays between an AR5416 AP and its clients
Message-ID:  <4ECFCDAB.1080407@entel.upc.edu>
In-Reply-To: <CAJ-Vmo=1k=oKP-vDUH=BLdyeVzGnQvNmJ6TwGcdQjwpgJWt52w@mail.gmail.com>
References:  <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <CAJ-Vmo=1k=oKP-vDUH=BLdyeVzGnQvNmJ6TwGcdQjwpgJWt52w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ECFCDAB.1080407>