On Thursday 31 July 2014 14:29:55 Adrian Chadd wrote:
> Hi,
> 
> Yeah, run athstats 1 on both to see what kind of difference(s) there
> are in transmit/receive statistics.
> 
> I wonder if it's changes in the ANI code.

Just booted with FreeBSD 9.0 again

mesh-6c9a:~ # ifconfig wlan1 list sta
ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG   
00:21:a4:35:6c:a9    0  104   0M 12.5    0    180  18512 I    A      
00:21:a4:35:6c:96    0  104  54M 22.5    0     49   2976 I    AQ      WME
00:21:a4:35:83:38    0  104   6M  6.5    0     18    288 I    AQ      WME
00:21:a4:35:83:1b    0  104   9M  6.5    0    274    848 I    AQ      WME
00:80:48:62:e1:0f    0  104  12M  9.0    0     58  63296 I    AQ      WME
00:21:a4:31:2a:81    0  104  24M  0.0  240      7      0      A      
mesh-6c9a:~ # ping6 fe80::221:a4ff:fe35:831b%wlan1
PING6(56=40+8+8 bytes) fe80::221:a4ff:fe35:6ca9%wlan1 --> 
fe80::221:a4ff:fe35:831b%wlan1
16 bytes from fe80::221:a4ff:fe35:831b%wlan1, icmp_seq=0 hlim=64 time=1.537 ms
16 bytes from fe80::221:a4ff:fe35:831b%wlan1, icmp_seq=1 hlim=64 time=1.419 ms
16 bytes from fe80::221:a4ff:fe35:831b%wlan1, icmp_seq=2 hlim=64 time=2.617 ms
16 bytes from fe80::221:a4ff:fe35:831b%wlan1, icmp_seq=3 hlim=64 time=2.551 ms
16 bytes from fe80::221:a4ff:fe35:831b%wlan1, icmp_seq=4 hlim=64 time=1.961 ms
16 bytes from fe80::221:a4ff:fe35:831b%wlan1, icmp_seq=5 hlim=64 time=1.265 ms
^C
--- fe80::221:a4ff:fe35:831b%wlan1 ping6 statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.265/1.892/2.617/0.533 ms

mesh-6c9a:~ # athstats -i ath1
8490     data frames received
656      data frames transmit
17       tx frames with an alternate rate
407      long on-chip tx retries
15       tx failed 'cuz too many retries
12M      current transmit rate
179      tx frames with no ack marked
4153     rx failed 'cuz of bad CRC
11       periodic calibrations
-0/+0    TDMA slot adjust (usecs, smoothed)
18       rssi of last ack
26       avg recv rssi
-96      rx noise floor
41       tx frames through raw api
1        spur immunity level
96       listen time
2        ANI increased spur immunity
2        ANI enabled OFDM weak signal detect
2        ANI disabled CCK weak signal threshold
1195114  cumulative OFDM phy error count
6        ANI forced listen time to zero
407      missing ACK's
19845    bad FCS
5049     beacons received
28       average rssi (beacons only)
Antenna profile:
[0] tx      641 rx        3
[1] tx        0 rx     8487


> 
> 
> -a
> 
> 
> On 31 July 2014 14:14, Johann Hugo <jh...@meraka.csir.co.za> wrote:
> > On Thursday 31 July 2014 13:43:34 Adrian Chadd wrote:
> >
> >> I think the idle counter there is the receive idle counter. Ie, it's
> >
> >> not hearing frames from them.
> >
> >>
> >
> >> See if you can figure out what frames it isn't hearing.
> >
> >
> >
> > tcpdump for the last couple of minutes.
> >
> >
> >
> > mesh-6c9a:~ # tcpdump -i wlan1 -n -e -y IEEE802_11_RADIO | grep
> > 00:21:a4:35:83:1b
> >
> > tcpdump: data link type IEEE802_11_RADIO
> >
> > tcpdump: WARNING: wlan1: no IPv4 address assigned
> >
> > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> >
> > listening on wlan1, link-type IEEE802_11_RADIO (802.11 plus radiotap
> > header), capture size 65535 bytes
> >
> > 23:24:45.046188 16985251046258410120us tsft short preamble 6.0 Mb/s -82dB
> > signal -96dB noise antenna 1 5520 MHz 11a BSSID:02:8c:ca:fe:ca:05
> > DA:ff:ff:ff:ff:ff:ff SA:00:21:a4:35:83:1b Beacon (mesh05) [6.0* 9.0 12.0*
> > 18.0 24.0* 36.0 48.0 54.0 Mbit] IBSS CH: 104
> >
> > 23:27:14.360001 16985251046409245942us tsft short preamble 6.0 Mb/s -84dB
> > signal -96dB noise antenna 1 5520 MHz 11a BSSID:02:8c:ca:fe:ca:05
> > DA:ff:ff:ff:ff:ff:ff SA:00:21:a4:35:83:1b Beacon (mesh05) [6.0* 9.0 12.0*
> > 18.0 24.0* 36.0 48.0 54.0 Mbit] IBSS CH: 104
> >
> > 23:31:40.129098 16985251046677723213us tsft short preamble 6.0 Mb/s 54dBm 
tx
> > power antenna 1 5520 MHz 11a CF +QoS DA:00:21:a4:35:83:1b
> > SA:00:21:a4:35:6c:a9 BSSID:02:8c:ca:fe:ca:05
> >
> > 23:31:55.139074 16985251046692886125us tsft short preamble 6.0 Mb/s 54dBm 
tx
> > power antenna 1 5520 MHz 11a CF +QoS DA:00:21:a4:35:83:1b
> > SA:00:21:a4:35:6c:a9 BSSID:02:8c:ca:fe:ca:05
> >
> > 23:34:37.437525 16985251046856837656us tsft short preamble 6.0 Mb/s -83dB
> > signal -96dB noise antenna 1 5520 MHz 11a BSSID:02:8c:ca:fe:ca:05
> > DA:ff:ff:ff:ff:ff:ff SA:00:21:a4:35:83:1b Beacon (mesh05) [6.0* 9.0 12.0*
> > 18.0 24.0* 36.0 48.0 54.0 Mbit] IBSS CH: 104
> >
> > 23:35:31.060875 16985251046911007901us tsft short preamble 6.0 Mb/s -83dB
> > signal -96dB noise antenna 1 5520 MHz 11a BSSID:02:8c:ca:fe:ca:05
> > DA:ff:ff:ff:ff:ff:ff SA:00:21:a4:35:83:1b Beacon (mesh05) [6.0* 9.0 12.0*
> > 18.0 24.0* 36.0 48.0 54.0 Mbit] IBSS CH: 104
> >
> > 23:35:42.921206 16985251046922989068us tsft short preamble 6.0 Mb/s -83dB
> > signal -96dB noise antenna 1 5520 MHz 11a BSSID:02:8c:ca:fe:ca:05
> > DA:ff:ff:ff:ff:ff:ff SA:00:21:a4:35:83:1b Beacon (mesh05) [6.0* 9.0 12.0*
> > 18.0 24.0* 36.0 48.0 54.0 Mbit] IBSS CH: 104
> >
> >
> >
> >
> >
> > mesh-6c9a:~ # athstats -i ath1
> >
> > 13114 data frames received
> >
> > 1021 data frames transmit
> >
> > 75 long on-chip tx retries
> >
> > 9 tx failed 'cuz too many retries
> >
> > 54M current transmit rate
> >
> > 1 watchdog timeouts
> >
> > 925 tx frames with no ack marked
> >
> > 21 rx failed 'cuz of bad CRC
> >
> > 39 periodic calibrations
> >
> > -0/+0 TDMA slot adjust (usecs, smoothed)
> >
> > 43 rssi of last ack
> >
> > 44 avg recv rssi
> >
> > -96 rx noise floor
> >
> > 30 tx frames through raw api
> >
> > 6 spur immunity level
> >
> > 1 OFDM weak signal detect
> >
> > 220 listen time
> >
> > 6 ANI increased spur immunity
> >
> > 4 ANI disabled OFDM weak signal detect
> >
> > 4 ANI disabled CCK weak signal threshold
> >
> > 426767 cumulative OFDM phy error count
> >
> > 24 ANI forced listen time to zero
> >
> > 75 missing ACK's
> >
> > 60 bad FCS
> >
> > 11323 beacons received
> >
> > 44 average rssi (beacons only)
> >
> > Antenna profile:
> >
> > [0] tx 1012 rx 0
> >
> > [1] tx 0 rx 13114
> >
> >
> >
> >
> >
> >>
> >
> >> The RSSI's look fine. So there's likely something else odd going on
> >
> >>
> >
> >>
> >
> >> -a
> >
> >>
> >
> >>
> >
> >> On 31 July 2014 13:00, Johann Hugo <jh...@meraka.csir.co.za> wrote:
> >
> >> > Hi
> >
> >> >
> >
> >> > After an upgrade from FreeBSD 9.0 to 11.0 I'm losing comms to some of
> >> > the wifi
> >
> >> > clients that worked when I was using FreeBSD 9.0 (long distance links 
in
> >> > mesh)
> >
> >> >
> >
> >> > On CURRENT the devices are still showing with list sta, but the idle
> >> > counter
> >
> >> > keeps growing + no comms to them.
> >
> >> >
> >
> >> >
> >
> >> > FreeBSD 9.0-STABLE
> >
> >> >
> >
> >> > mesh-6c9a:~ # ifconfig wlan1 list sta
> >
> >> > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG
> >
> >> > 00:21:a4:35:6c:a9 0 104 0M 9.5 0 421 60496 I A
> >
> >> > 00:21:a4:35:6c:96 0 104 54M 21.0 0 98 10496 I AQ WME
> >
> >> > 00:21:a4:35:83:38 0 104 6M 6.5 0 28 448 I AQ WME
> >
> >> > 00:21:a4:35:83:1b 0 104 9M 8.0 0 4680 37056 I AQ WME
> >
> >> > 00:80:48:62:e1:0f 0 104 6M 9.5 0 50 47136 I AQ WME
> >
> >> >
> >
> >> >
> >
> >> > FreeBSD 11.0-CURRENT
> >
> >> >
> >
> >> > mesh-6c9a:~ # ifconfig wlan1 list sta
> >
> >> > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG
> >
> >> > 00:21:a4:35:6c:a9 0 104 0M 13.5 0 142 38384 I A
> >
> >> > 00:21:a4:35:6c:96 0 104 54M 22.0 0 11 18048 I AQ WME
> >
> >> > 00:21:a4:35:83:1b 0 104 6M 8.0 60 0 0 I AQ WME
> >
> >> > 00:80:48:62:e1:0f 0 104 6M 11.5 30 0 41248 A
> >
> >> > 00:21:a4:35:83:38 0 104 6M 7.0 60 0 0 I AQ WME
> >
> >> >
> >
> >> >
> >
> >> >
> >> > 
----------------------------------------------------------------------------
> >
> >> > FreeBSD 9.0-STABLE
> >
> >> >
> >
> >> > mesh-6c9a:~ # uname -a
> >
> >> > FreeBSD mesh-6c9a 9.0-STABLE FreeBSD 9.0-STABLE #1 r229528:231308: Wed
> >> > Nov 27
> >
> >> > 12:21:54 SAST 2013 r...@magrathea.meraka.csir.co.za:/scratch/9-stable-
> >
> >> > old/obj/arm.armeb/var/scratch/9-stable-old/src/sys/SMALL-CAMBRIA arm
> >
> >> >
> >
> >> > dmesg
> >
> >> > ath1: <Atheros 9280> irq 27 at device 2.0 on pci0
> >
> >> > [ath] enabling AN_TOP2_FIXUP
> >
> >> > ath1: AR9280 mac 128.2 RF5133 phy 13.0
> >
> >> >
> >
> >> > mesh-6c9a:~ # ifconfig -v wlan1
> >
> >> > wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> >> > 1500
> >
> >> > ether 00:21:a4:35:6c:a9
> >
> >> > inet6 fe80::221:a4ff:fe35:6ca9%wlan1 prefixlen 64 scopeid 0xb
> >
> >> > inet6 fd35:ac5b:b116:10:221:a4ff:fe35:6ca9 prefixlen 64
> >
> >> > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> >
> >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a <adhoc>
> >
> >> > status: running
> >
> >> > ssid mesh05 channel 104 (5520 MHz 11a) bssid 02:8c:ca:fe:ca:05
> >
> >> > regdomain NONE country ZA anywhere ecm authmode OPEN -wps -tsn
> >
> >> > privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100
> >
> >> > txpower 27 txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346
> >
> >> > bmiss 7
> >
> >> > 11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
> >
> >> > 11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > 11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > turboA ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
> >
> >> > turboG ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > sturbo ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
> >
> >> > 11na ucast NONE mgmt 12 MCS mcast 12 MCS maxretry 6
> >
> >> > 11ng ucast NONE mgmt 2 MCS mcast 2 MCS maxretry 6
> >
> >> > half ucast NONE mgmt 3 Mb/s mcast 3 Mb/s maxretry 6
> >
> >> > quarter ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
> >
> >> > roam:11a rssi 7dBm rate 12 Mb/s
> >
> >> > roam:11b rssi 7dBm rate 1 Mb/s
> >
> >> > roam:11g rssi 7dBm rate 5 Mb/s
> >
> >> > roam:turboA rssi 7dBm rate 12 Mb/s
> >
> >> > roam:turboG rssi 7dBm rate 12 Mb/s
> >
> >> > roam:sturbo rssi 7dBm rate 12 Mb/s
> >
> >> > roam:11na rssi 7dBm MCS 1
> >
> >> > roam:11ng rssi 7dBm MCS 1
> >
> >> > roam:half rssi 7dBm rate 6 Mb/s
> >
> >> > roam:quarter rssi 7dBm rate 3 Mb/s
> >
> >> > -pureg protmode CTS -ht -htcompat -ampdu ampdulimit 8k ampdudensity 8
> >
> >> > -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs wme burst -dwds
> >
> >> > roaming AUTO bintval 100
> >
> >> > AC_BE cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm ack
> >
> >> > cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm
> >
> >> > AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack
> >
> >> > cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm
> >
> >> > AC_VI cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm ack
> >
> >> > cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm
> >
> >> > AC_VO cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm ack
> >
> >> > cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm
> >
> >> > groups: wlan
> >
> >> >
> >
> >> >
> >> > 
-------------------------------------------------------------------------------
> >
> >> > FreeBSD 11.0
> >
> >> >
> >
> >> > dmesg
> >
> >> > ath1: <Atheros 9220> irq 27 at device 2.0 on pci0
> >
> >> > [ath] enabling AN_TOP2_FIXUP
> >
> >> > ath1: AR9220 mac 128.2 RF5133 phy 13.0
> >
> >> > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
> >
> >> >
> >
> >> >
> >
> >> > mesh-6c9a:~ # uname -a
> >
> >> > FreeBSD mesh-6c9a 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r269182M: Mon 
Jul
> >> > 28
> >
> >> > 14:51:06 SAST 2014 r...@magrathea.meraka.csir.co.za:/var/scratch/11-
> >
> >> > current/obj/arm.armeb/var/scratch/11-current/src/sys/SMALL-CAMBRIA arm
> >
> >> >
> >
> >> > mesh-6c9a:~ # ifconfig -v wlan1
> >
> >> > wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> >> > 1500
> >
> >> > ether 00:21:a4:35:6c:a9
> >
> >> > inet6 fe80::221:a4ff:fe35:6ca9%wlan1 prefixlen 64 scopeid 0x8
> >
> >> > inet6 fd35:ac5b:b116:10:221:a4ff:fe35:6ca9 prefixlen 64
> >
> >> > groups: wlan
> >
> >> > ssid mesh05 channel 104 (5520 MHz 11a) bssid 02:8c:ca:fe:ca:05
> >
> >> > regdomain NONE country ZA anywhere ecm authmode OPEN -wps -tsn
> >
> >> > privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100
> >
> >> > txpower 27 txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346
> >
> >> > bmiss 7
> >
> >> > 11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
> >
> >> > 11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > 11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > turboA ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
> >
> >> > turboG ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > sturbo ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
> >
> >> > 11na ucast NONE mgmt 12 MCS mcast 12 MCS maxretry 6
> >
> >> > 11ng ucast NONE mgmt 2 MCS mcast 2 MCS maxretry 6
> >
> >> > half ucast NONE mgmt 3 Mb/s mcast 3 Mb/s maxretry 6
> >
> >> > quarter ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
> >
> >> > scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
> >
> >> > roam:11a rssi 7dBm rate 12 Mb/s
> >
> >> > roam:11b rssi 7dBm rate 1 Mb/s
> >
> >> > roam:11g rssi 7dBm rate 5 Mb/s
> >
> >> > roam:turboA rssi 7dBm rate 12 Mb/s
> >
> >> > roam:turboG rssi 7dBm rate 12 Mb/s
> >
> >> > roam:sturbo rssi 7dBm rate 12 Mb/s
> >
> >> > roam:11na rssi 7dBm MCS 1
> >
> >> > roam:11ng rssi 7dBm MCS 1
> >
> >> > roam:half rssi 7dBm rate 6 Mb/s
> >
> >> > roam:quarter rssi 7dBm rate 3 Mb/s
> >
> >> > -pureg protmode CTS -ht -htcompat -ampdu ampdulimit 8k ampdudensity 8
> >
> >> > -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs wme burst -dwds
> >
> >> > roaming AUTO bintval 100
> >
> >> > AC_BE cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm ack
> >
> >> > cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm
> >
> >> > AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack
> >
> >> > cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm
> >
> >> > AC_VI cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm ack
> >
> >> > cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm
> >
> >> > AC_VO cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm ack
> >
> >> > cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm
> >
> >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a <adhoc>
> >
> >> > status: running
> >
> >> > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> >
> >> >
> >
> >> > _______________________________________________
> >
> >> > freebsd-wireless@freebsd.org mailing list
> >
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> >
> >> > To unsubscribe, send any mail to
> >> > "freebsd-wireless-unsubscr...@freebsd.org"
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to