Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 20:54:35 +0400
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: New ath code works well as AP
Message-ID:  <20120820165435.GO98910@zxy.spb.ru>
In-Reply-To: <CAJ-VmonybT879YHyJk3QWa8Dru2p4ogG0hHHq-fwgOtMzgNYug@mail.gmail.com>
References:  <1311732708.20120815005429@serebryakov.spb.ru> <20120819071403.GF98910@zxy.spb.ru> <CAJ-Vmompt74rHx=C8Z5L978ciFN1LnPr2Mz=5PB3a%2BdgZJ8GVA@mail.gmail.com> <20120820125524.GL98910@zxy.spb.ru> <CAJ-VmokyTZyEEeodfmzFzA07tGVAu6QJHxNBWbrJpEMUb_Etig@mail.gmail.com> <20120820160344.GM98910@zxy.spb.ru> <CAJ-Vmo=wrZmTzObjRkoyNMvSQxTEehP9m3VTwaqHmDdU_kG1sg@mail.gmail.com> <20120820163118.GN98910@zxy.spb.ru> <CAJ-VmonybT879YHyJk3QWa8Dru2p4ogG0hHHq-fwgOtMzgNYug@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 20, 2012 at 09:36:04AM -0700, Adrian Chadd wrote:

> On 20 August 2012 09:31, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> 
> >> The main issues I see right now are very likely due to noisy
> >> environments and ANI behaving poorly.
> >
> > How you detect noisy environments?
> > (some output from athsurvey?)
> 
> Yup. Look at the channel busy statistics. YOur channel isn't busy at all.

Oh, I am don't need utilise all bandwidth, typical use: ssh access to remote host
and lot of web traffic. And narrow uplink (~2-5Mbit/s).

Now I do test transfer from local ftp:

         min                   avg                   max
  tx%  rx%  bc%  ec%    tx%  rx%  bc%  ec%    tx%  rx%  bc%  ec%
(10.8 73.8 90.5  5.1) (12.2 76.7 93.2  6.8) (13.2 81.2 94.9  9.5)
(10.8 73.8 91.2  5.1) (12.2 77.0 93.3  6.6) (13.2 81.2 94.9  8.8)
(11.2 74.5 91.2  5.1) (12.3 76.7 93.5  6.5) (13.2 81.2 94.9  8.8)
(10.3 73.7 91.2  5.1) (12.4 76.6 93.8  6.2) (13.4 79.5 94.9  8.8)
(10.3 73.6 92.4  5.1) (12.5 76.5 94.0  6.0) (13.4 79.0 94.9  7.6)
(10.3 73.6 92.4  4.9) (12.5 76.5 94.0  5.9) (13.4 78.6 95.1  7.6)
(11.0 72.4 92.4  4.9) (12.6 76.2 94.0  6.0) (13.5 79.2 95.1  7.6)
(11.0 72.3 92.4  4.9) (12.6 76.1 94.0  6.0) (13.6 79.2 95.1  7.6)
(11.0 70.8 92.6  4.9) (13.2 75.5 94.1  5.9) (16.6 79.2 95.1  7.4)
(11.5 70.8 93.0  5.1) (13.3 75.2 94.1  5.9) (16.6 79.2 94.9  7.0)
(11.5 70.8 92.8  5.1) (13.2 74.9 94.2  5.8) (16.6 78.9 94.9  7.2)
(11.2 70.9 92.8  5.1) (12.7 75.3 94.0  6.0) (14.7 78.9 94.9  7.2)
(10.7 70.9 92.4  4.4) (12.3 75.7 93.9  6.1) (13.5 79.4 95.6  7.6)
( 7.5 63.2 92.1  3.2) (12.0 75.7 93.8  6.2) (13.4 79.4 96.8  7.8)
( 7.5 63.2 92.1  3.2) (11.8 76.2 93.8  6.2) (13.3 80.2 96.8  7.8)
( 7.5 63.2 92.1  3.2) (11.9 76.4 93.8  6.2) (13.3 80.2 96.8  7.8)
(10.3 71.8 92.1  5.3) (12.0 76.7 93.8  6.2) (13.3 80.2 94.7  7.8)
(10.2 71.8 92.2  5.1) (12.0 76.3 93.8  6.2) (13.2 79.8 94.9  7.8)
(10.2 71.8 92.2  5.0) (12.1 76.5 94.0  6.0) (13.3 79.5 95.0  7.8)
(10.2 71.8 92.2  5.0) (12.2 76.2 94.1  5.8) (13.3 79.5 95.0  7.8)
( 9.2 71.0 93.2  5.0) (12.3 75.9 94.2  5.8) (13.3 79.5 95.0  6.8)
( 9.2 71.0 93.1  5.0) (12.1 75.6 94.2  5.8) (13.3 78.7 95.0  6.9)
( 9.2 71.0 92.4  5.1) (12.1 75.7 94.1  5.9) (13.2 78.4 94.9  7.6)


> > What level of noisy is acpetable in terms of athsurvey and in terms of
> > physicaly units? (I can use Cisco Spectrum Expert for survey, but not
> > simultaneously with this card).
> 
> Anything bursty, wide or narrow band, will cause issues.
> 
> 
> > What is ANI?
> 
> Ambient/Automatic Noise Immunity. There's some code which adjusts some
> PHY parameters to do with signal sizing and offset; however I may have
> (more) broken it.
> I need to sit down and add some further debugging and write an
> inspection tool or two to figure out exactly what's going on.
> 
> > What I need to try in next time of lost traffic?
> 
> > (no messages in console in this situation, nothing about "ath0: device
> > timeout" nor "ath0: bb hang detected (0x4), resetting").
> >
> > Do I need to enable some debug?
> 
> Well, what do you mean by "lost traffic" ? I need some more
> information about that.

Sometimes (may be one in 2-3 days) receiving packets on wlan0 stoped.
May be intesive traffic increase probability.
No messages in dmesg. tcpdump on wlan0 show only outgoing packets. Interface is UP.
No automatic recovery. For manual recovery I am need to kldunload/kldolad if_ath_pci.



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