Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 11:33:57 +0200
From:      Johann Hugo <jhugo@meraka.csir.co.za>
To:        freebsd-wireless@freebsd.org
Subject:   [ath] Degraded throughput - adhoc mode
Message-ID:  <201205181133.57403.jhugo@meraka.csir.co.za>

next in thread | raw e-mail | index | archive | help
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@jeep] ~> scp /boot/kernel/kernel  zeus.cids.org.za:/dev/null
kernel                            100%   15MB 445.7KB/s   00:34 

After:
[jhugo@jeep] ~> scp /boot/kernel/kernel coin@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



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