New ath code works well as AP

Slawa Olhovchenkov slw at zxy.spb.ru
Mon Aug 20 16:52:12 UTC 2012


On Mon, Aug 20, 2012 at 09:36:04AM -0700, Adrian Chadd wrote:

> On 20 August 2012 09:31, Slawa Olhovchenkov <slw at 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.


More information about the freebsd-wireless mailing list