[ath] Degraded throughput - adhoc mode

Adrian Chadd adrian at freebsd.org
Fri May 18 17:23:52 UTC 2012


Hi,

Please check the output of the sample rate module - sysctl
dev.ath.X.sample_stats=1, then check dmesg.

Which NICs are you using?



Adrian


On 18 May 2012 02:33, Johann Hugo <jhugo at meraka.csir.co.za> wrote:
> Hi
>
> We have an outdoor wifi mesh network with various atheros adapters configured
> in adhoc mode. (FreeBSD-9)
>
> We sometimes (randomly) get a wifi adapter that goes into a "slow-mo" mode,
> with degraded throughput, less than half.
>
> A simple ifconfig wlanX down/up fixes the problem.
>
> Before: (slow-mo)
> [jhugo at jeep] ~> scp /boot/kernel/kernel  zeus.cids.org.za:/dev/null
> kernel                            100%   15MB 445.7KB/s   00:34
>
> After:
> [jhugo at jeep] ~> scp /boot/kernel/kernel coin at elardus:/dev/null
> kernel                            100%   15MB   1.0MB/s   00:15
>
> Here is a list of all the registers (athregs) that changed during the down/up.
>
> Register                        Before          After
> RXDP                    01200ea0        01200840
> MIBC                    00000001        00000000
> SPC_0                   00942a83        000c246a
> DMADBG0         88888898        88888888
> DMADBG4         000000a0        00000000
> DMADBG5         04000000        00000000
> DMADBG6         00032000        00022000
> DMADBG7         000140a0        00000000
> D_SEQ                   0000038a        000008c1
> TIMER0                  000071d8        00000064
> TIMER1                  00038eb0        00000310
> TIMER2                  01bb8c30        000002d0
> TIMER3                  000071b5        00000065
> TSF_L32                 ddc5e966        de252332
> DEF_ANT         00000000        00000001
> OBSERV1         00002898        00002888
> LAST_TST                ddc52219        de2473af
> ACK_FAIL                00000002        00000000
> FCS_FAIL                00000000        00000001
> TFCNT                   0d8e4e2f        01e95fea
> RFCNT                   157c4d09        015d5432
> RCCNT                   281c998e        03b5a65c
> CCCNT                   d4782107        0d5b4b5b
> QUIET1                  0000717c        00000088
> FILTOFDM                00ffffff                000001b8
> FILTCCK                 00ffffff                0000015e
> PHYCNT1         00bffe72        00bffe9f
> PHYCNT2         00bfff3f                00bfff4a
>
> Is there a wiki/docs on the web that explains what these registers mean ?
> The only thing I could find was this link.
> http://madwifi-project.org/wiki/DevDocs/AtherosRegisters
>
> Any other usefull info that I should capture the next time this happens ?
>
> Regards
> Johann
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"


More information about the freebsd-wireless mailing list