From owner-freebsd-wireless@FreeBSD.ORG Mon Oct 22 19:20:01 2012 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5ECF33B1 for ; Mon, 22 Oct 2012 19:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 445188FC08 for ; Mon, 22 Oct 2012 19:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MJK1aw086929 for ; Mon, 22 Oct 2012 19:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MJK1Av086928; Mon, 22 Oct 2012 19:20:01 GMT (envelope-from gnats) Date: Mon, 22 Oct 2012 19:20:01 GMT Message-Id: <201210221920.q9MJK1Av086928@freefall.freebsd.org> To: freebsd-wireless@FreeBSD.org Cc: From: Johann Hugo Subject: misc/172955: [ath] 11n does not work in adhoc mode X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Johann Hugo List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 19:20:01 -0000 The following reply was made to PR kern/172955; it has been noted by GNATS. From: Johann Hugo To: bug-followup@freebsd.org Cc: Adrian Chadd , jhugo@meraka.csir.co.za Subject: misc/172955: [ath] 11n does not work in adhoc mode Date: Mon, 22 Oct 2012 21:19:21 +0200 --Boundary-00=_5wZhQXz13Lr4ES1 Content-Type: multipart/alternative; boundary="Boundary-01=_5wZhQwEUOUCGu56" Content-Transfer-Encoding: 7bit --Boundary-01=_5wZhQwEUOUCGu56 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Request from Adrian Chadd --------------------------------------- On both nodes, enable this: wlandebug -i wlanX +assoc +ht +rate Then do some pings on either side. Don't do iperf, it'll dump out way too much debugging (one line per frame.) Just pings and record both sides is enough. It'll tell me how the HT negotiation goes, what PHY table is selected, what rates there are, etc. Then, when you've done that, do it for both STA/IBSS and IBSS/IBSS, then report back on the bug. ------------------ Output attached --Boundary-01=_5wZhQwEUOUCGu56 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

Request from Adrian Chadd

---------------------------------------

 

On both nodes, enable this:

 

wlandebug -i wlanX +assoc +ht +rate

 

Then do some pings on either side. Don't do iperf, it'll dump out way

too much debugging (one line per frame.) Just pings and record both

sides is enough.

 

It'll tell me how the HT negotiation goes, what PHY table is selected,

what rates there are, etc.

 

Then, when you've done that, do it for both STA/IBSS and IBSS/IBSS,

then report back on the bug.

 

------------------

Output attached

 

--Boundary-01=_5wZhQwEUOUCGu56-- --Boundary-00=_5wZhQXz13Lr4ES1 Content-Type: text/plain; charset="UTF-8"; name="node-1.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="node-1.txt" Node-1 AP mode mesh-1d04:~ # ifconfig wlan1 down mesh-1d04:~ # wlandebug -i wlan1 +assoc +ht +rate net.wlan.1.debug: 0x0 => 0x800020 mesh-1d04:~ # ifconfig wlan1 down mesh-1d04:~ # ifconfig wlan1 up mesh-1d04:~ # wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 1600 FAIL rate/try 0/5 no rates yet wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 1600 FAIL rate/try 0/5 no rates yet wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 OK rate/try 0/1 no rates yet wlan1: [00:0c:42:6c:63:20] station associated at aid 1: short preamble, short slot time, QoS, HT40 (+AMPDU) wlan1: [00:0c:42:6c:63:20] ath_rate_ctl_reset: size 1600 rate/tt 6 Mb /2560 9 Mb /1848 12 Mb /1480 18 Mb /1124 24 Mb /940 36 Mb /764 48 Mb /672 54 Mb /644 0 MCS/1356 1 MCS/880 2 MCS/724 3 MCS/644 4 MCS/564 5 MCS/524 6 MCS/512 7 MCS/500 8 MCS/884 9 MCS/648 10 MCS/568 11 MCS/528 12 MCS/488 13 MCS/468 14 MCS/464 15 MCS/456 wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 6 Mb /0/1 nframes/nbad [1/0] ping 10.50.50.2 PING 10.50.50.2 (10.50.50.2): 56 data bytes wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: size 250 switch rate 6 (760/760) -> 6 (424/424) after 0 packets mrr 1 wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=0 ttl=64 time=32.931 ms wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 mesh-1909:~ # ifconfig wlan1 down mesh-1909:~ # wlandebug -i wlan1 +assoc +ht +rate net.wlan.1.debug: 0x0 => 0x800020 mesh-1909:~ # ifconfig wlan1 up mesh-1909:~ # wlan1: [00:0c:42:6c:61:91] ath_rate_ctl_reset: size 1600 rate/tt 6 Mb /2560 9 Mb /1848 12 Mb /1480 18 Mb /1124 24 Mb /940 36 Mb /764 48 Mb /672 54 Mb /644 wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: size 250 switch rate 6 (760/760) -> 36 (464/464) after 0 packets mrr 1 wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (66 bytes) OK rate/short/long 36 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: size 250 switch rate 36 (464/464) -> 54 (444/444) after 1 packets mrr 1 wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] ping 10.50.50.1 PING 10.50.50.1 (10.50.50.1): 56 data bytes wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=0 ttl=64 time=20.524 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=1 ttl=64 time=17.004 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=2 ttl=64 time=17.027 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=3 ttl=64 time=17.022 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=4 ttl=64 time=17.019 ms ^C --- 10.50.50.1 ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 17.004/17.719/20.524/1.402 ms mesh-1909:~ # wlandebug -i wlan1 -assoc -ht -rate net.wlan.1.debug: 0x800020 => 0x0 mesh-1909:~ # ifconfig -v wlan1 wlan1: flags=8843 metric 0 mtu 1500 ether 00:0c:42:6c:63:20 inet 10.50.50.2 netmask 0xffffff00 broadcast 10.50.50.255 inet6 fe80::20c:42ff:fe6c:6320%wlan1 prefixlen 64 scopeid 0x8 inet6 fde4:7b85:9218:10:20c:42ff:fe6c:6320 prefixlen 64 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running ssid testADHOC channel 28 (5140 MHz 11a ht/40-) bssid 02:8c:ca:fe:ca:10 regdomain NONE country ZA anywhere ecm authmode OPEN -wps -tsn privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpower 17 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 mesh-1909:~ # ifconfig -v wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:63:20 0 28 0M 18.0 75 4 0 I A 00:0c:42:6c:61:91 0 28 54M 18.0 15 15 192 I AQ SSID RATES DSPARMS<28> IBSSPARMS<06020000> COUNTRY PWRCNSTR<200100> HTCAP HTINFO WME VEN VEN mesh-1909:~ #bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=1 ttl=64 time=17.217 ms wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=2 ttl=64 time=17.310 ms wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=3 ttl=64 time=17.200 ms wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=4 ttl=64 time=17.344 ms ^C --- 10.50.50.2 ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 17.200/20.400/32.931/6.266 ms mesh-1d04:~ # wlandebug -i wlan1 -assoc -ht -rate net.wlan.1.debug: 0x800020 => 0x0 mesh-1d04:~ # ifconfig -v wlan1 wlan1: flags=8843 metric 0 mtu 1500 ether 00:0c:42:6c:61:91 inet 10.50.50.1 netmask 0xffffff00 broadcast 10.50.50.255 inet6 fe80::20c:42ff:fe6c:6191%wlan1 prefixlen 64 scopeid 0x8 inet6 fde4:7b85:9218:10:20c:42ff:fe6c:6191 prefixlen 64 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running ssid testAP channel 28 (5140 MHz 11a ht/40-) bssid 00:0c:42:6c:61:91 regdomain NONE country ZA anywhere ecm authmode OPEN -wps -tsn privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpower 17 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 64k ampdudensity 8 amsdu shortgi htprotmode RTSCTS -puren -smps -rifs wme burst -dwds -hidessid apbridge dtimperiod 1 doth -dfs inact bintval 100 AC_BE cwmin 4 cwmax 6 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 1 txopLimit 94 -acm ack cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm AC_VO cwmin 2 cwmax 3 aifs 1 txopLimit 47 -acm ack cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm groups: wlan mesh-1d04:~ # ifconfig -v wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:63:20 1 28 216M 15.0 30 14 272 E AQHTRS SSID RATES PWRCAP<21020022> SUPPCHAN<241afe3f0011111111110100-> HTCAP WME ***************************************************** Node-1 ADHOC mode mesh-1d04:~ # ifconfig wlan1 down mesh-1d04:~ # wlandebug -i wlan1 +assoc +ht +rate net.wlan.1.debug: 0x0 => 0x800020 mesh-1d04:~ # ifconfig wlan1 up mesh-1d04:~ # wlan1: [00:0c:42:6c:63:20] ath_rate_ctl_reset: size 1600 rate/tt 6 Mb /2560 9 Mb /1848 12 Mb /1480 18 Mb /1124 24 Mb /940 36 Mb /764 48 Mb /672 54 Mb /644 mesh-1d04:~ # ping 10.50.50.2 PING 10.50.50.2 (10.50.50.2): 56 data bytes wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: size 250 switch rate 6 (760/760) -> 36 (464/464) after 0 packets mrr 1 wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 36 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=0 ttl=64 time=38.839 ms wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: size 250 switch rate 36 (464/464) -> 54 (444/444) after 1 packets mrr 1 wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=1 ttl=64 time=27.618 ms wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=2 ttl=64 time=17.014 ms wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.2: icmp_seq=3 ttl=64 time=17.009 ms ^C --- 10.50.50.2 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 17.009/25.120/38.839/9.027 ms mesh-1d04:~ # wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:63:20] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:63:20] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] mesh-1d04:~ # wlandebug -i wlan1 -assoc -ht -rate net.wlan.1.debug: 0x800020 => 0x0 mesh-1d04:~ # ifconfig -v wlan1 wlan1: flags=8843 metric 0 mtu 1500 ether 00:0c:42:6c:61:91 inet 10.50.50.1 netmask 0xffffff00 broadcast 10.50.50.255 inet6 fe80::20c:42ff:fe6c:6191%wlan1 prefixlen 64 scopeid 0x8 inet6 fde4:7b85:9218:10:20c:42ff:fe6c:6191 prefixlen 64 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running ssid testADHOC channel 28 (5140 MHz 11a ht/40-) bssid 02:8c:ca:fe:ca:10 regdomain NONE country ZA anywhere ecm authmode OPEN -wps -tsn privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpower 17 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 mesh-1d04:~ # ifconfig -v wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:61:91 0 28 0M 18.0 60 6 0 I A 00:0c:42:6c:63:20 0 28 54M 18.0 0 13 224 I AQ SSID RATES DSPARMS<28> IBSSPARMS<06020000> COUNTRY PWRCNSTR<200100> HTCAP HTINFO WME VEN VEN mesh-1d04:~ # --Boundary-00=_5wZhQXz13Lr4ES1 Content-Type: text/plain; charset="UTF-8"; name="node-2.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="node-2.txt" Node-2 ST mode mesh-1909:~ # ifconfig wlan1 down mesh-1909:~ # wlandebug -i wlan1 +assoc +ht +rate net.wlan.1.debug: 0x0 => 0x800020 mesh-1909:~ # ifconfig wlan1 up mesh-1909:~ # wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 OK rate/try 0/1 no rates yet wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 OK rate/try 0/1 no rates yet wlan1: [00:0c:42:6c:61:91] switch station to HT40 channel 5140/0x40340 wlan1: [00:0c:42:6c:61:91] assoc success at aid 1: short preamble, short slot time, QoS, HT40 (+AMPDU) wlan1: [00:0c:42:6c:61:91] ath_rate_ctl_reset: size 1600 rate/tt 6 Mb /2560 9 Mb /1848 12 Mb /1480 18 Mb /1124 24 Mb /940 36 Mb /764 48 Mb /672 54 Mb /644 0 MCS/1356 1 MCS/880 2 MCS/724 3 MCS/644 4 MCS/564 5 MCS/524 6 MCS/512 7 MCS/500 8 MCS/884 9 MCS/648 10 MCS/568 11 MCS/528 12 MCS/488 13 MCS/468 14 MCS/464 15 MCS/456 wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: size 250 switch rate 6 (760/760) -> 6 (424/424) after 0 packets mrr 1 wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (66 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 12 MCS/0/1 nframes/nbad [1/0] wlandebug -i wlan1 -assoc -ht -rate net.wlan.1.debug: 0x800020 => 0x0 mesh-1909:~ # ifconfig -v wlan1 wlan1: flags=8843 metric 0 mtu 1500 ether 00:0c:42:6c:63:20 inet 10.50.50.2 netmask 0xffffff00 broadcast 10.50.50.255 inet6 fe80::20c:42ff:fe6c:6320%wlan1 prefixlen 64 scopeid 0x8 inet6 fde4:7b85:9218:10:20c:42ff:fe6c:6320 prefixlen 64 nd6 options=21 media: IEEE 802.11 Wireless Ethernet MCS mode 11na status: associated ssid testAP channel 28 (5140 MHz 11a ht/40-) bssid 00:0c:42:6c:61:91 regdomain NONE country ZA anywhere ecm authmode OPEN -wps -tsn privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpower 17 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 64k ampdudensity 8 amsdu shortgi htprotmode RTSCTS -puren -smps -rifs wme burst -dwds roaming AUTO bintval 100 AC_BE cwmin 3 cwmax 10 aifs 2 txopLimit 64 -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 mesh-1909:~ # ifconfig -v wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:61:91 1 28 162M 17.5 0 18 208 E AQHTRS SSID RATES DSPARMS<28> TIM<050400010000> COUNTRY PWRCNSTR<200100> HTCAP HTINFO WME VEN VEN *************************************************** Node-2 ADHOC mode mesh-1909:~ # ifconfig wlan1 down mesh-1909:~ # wlandebug -i wlan1 +assoc +ht +rate net.wlan.1.debug: 0x0 => 0x800020 mesh-1909:~ # ifconfig wlan1 up mesh-1909:~ # wlan1: [00:0c:42:6c:61:91] ath_rate_ctl_reset: size 1600 rate/tt 6 Mb /2560 9 Mb /1848 12 Mb /1480 18 Mb /1124 24 Mb /940 36 Mb /764 48 Mb /672 54 Mb /644 wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: size 250 switch rate 6 (760/760) -> 36 (464/464) after 0 packets mrr 1 wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (66 bytes) OK rate/short/long 36 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: size 250 switch rate 36 (464/464) -> 54 (444/444) after 1 packets mrr 1 wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] ping 10.50.50.1 PING 10.50.50.1 (10.50.50.1): 56 data bytes wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=0 ttl=64 time=20.524 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=1 ttl=64 time=17.004 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=2 ttl=64 time=17.027 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=3 ttl=64 time=17.022 ms wlan1: [00:0c:42:6c:61:91] ath_rate_findrate: switching quickly.. wlan1: [00:0c:42:6c:61:91] ath_rate_tx_complete: size 250 (122 bytes) OK rate/short/long 54 Mb /0/1 nframes/nbad [1/0] 64 bytes from 10.50.50.1: icmp_seq=4 ttl=64 time=17.019 ms ^C --- 10.50.50.1 ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 17.004/17.719/20.524/1.402 ms mesh-1909:~ # wlandebug -i wlan1 -assoc -ht -rate net.wlan.1.debug: 0x800020 => 0x0 mesh-1909:~ # ifconfig -v wlan1 wlan1: flags=8843 metric 0 mtu 1500 ether 00:0c:42:6c:63:20 inet 10.50.50.2 netmask 0xffffff00 broadcast 10.50.50.255 inet6 fe80::20c:42ff:fe6c:6320%wlan1 prefixlen 64 scopeid 0x8 inet6 fde4:7b85:9218:10:20c:42ff:fe6c:6320 prefixlen 64 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running ssid testADHOC channel 28 (5140 MHz 11a ht/40-) bssid 02:8c:ca:fe:ca:10 regdomain NONE country ZA anywhere ecm authmode OPEN -wps -tsn privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpower 17 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 mesh-1909:~ # ifconfig -v wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:63:20 0 28 0M 18.0 75 4 0 I A 00:0c:42:6c:61:91 0 28 54M 18.0 15 15 192 I AQ SSID RATES DSPARMS<28> IBSSPARMS<06020000> COUNTRY PWRCNSTR<200100> HTCAP HTINFO WME VEN VEN mesh-1909:~ # --Boundary-00=_5wZhQXz13Lr4ES1--