From owner-freebsd-wireless@FreeBSD.ORG Mon Oct 15 11:06:15 2012 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 095DE51E for ; Mon, 15 Oct 2012 11:06:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id CAFF58FC23 for ; Mon, 15 Oct 2012 11:06:14 +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 q9FB6E5x011654 for ; Mon, 15 Oct 2012 11:06:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9FB6EWt011653 for freebsd-wireless@FreeBSD.org; Mon, 15 Oct 2012 11:06:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Oct 2012 11:06:14 GMT Message-Id: <201210151106.q9FB6EWt011653@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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, 15 Oct 2012 11:06:15 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 18 07:35:04 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD7891F0 for ; Thu, 18 Oct 2012 07:35:04 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 79AEC8FC08 for ; Thu, 18 Oct 2012 07:35:02 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) by marge.meraka.csir.co.za (Postfix) with ESMTP id 074E8D0CC01 for ; Thu, 18 Oct 2012 09:34:49 +0200 (SAST) From: Johann Hugo To: freebsd-wireless@freebsd.org Subject: 11n in adhoc mode Date: Thu, 18 Oct 2012 09:34:48 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RELEASE-p3; KDE/4.7.3; amd64; ; ) X-KMail-Markup: true MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_YE7fQwdqaQPNtFK" Message-Id: <201210180934.48741.jhugo@meraka.csir.co.za> X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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: Thu, 18 Oct 2012 07:35:04 -0000 --Boundary-00=_YE7fQwdqaQPNtFK Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Finally got a 11n test setup running FreeBSD 10.0-CURRENT on two ARM boards. HW = gateworks ARM OS = FreeBSD 10.0-CURRENT Build = arm-10-20121011 Wifi = RouterBOARD R52nM = AR9220 11n works if one device is in AP mode and the other in ST mode, but I can get it running with both devices in ADHOC mode. Is there a special switch or something that I need to toggle for 11n to work in ADHOC mode ? Johann --Boundary-00=_YE7fQwdqaQPNtFK Content-Type: text/plain; charset="UTF-8"; name="FreeBSD-10-AP-ST-11na.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="FreeBSD-10-AP-ST-11na.txt" ******************* Node-1 ******************* rc.conf create_args_wlan1="wlanmode hostap country ZA" ifconfig_wlan1="ssid testAP channel 28 10.50.50.1/24" mesh-1d04:~ # ifconfig 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 ecm authmode OPEN privacy OFF txpower 17 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 -dfs mesh-1d04:~ # ifconfig wlan1 list chan Channel 1 : 2412 MHz 11g ht Channel 52 : 5260* MHz 11a ht Channel 2 : 2417 MHz 11g ht Channel 56 : 5280* MHz 11a ht Channel 3 : 2422 MHz 11g ht Channel 60 : 5300* MHz 11a ht Channel 4 : 2427 MHz 11g ht Channel 64 : 5320* MHz 11a ht Channel 5 : 2432 MHz 11g ht Channel 100 : 5500* MHz 11a ht Channel 6 : 2437 MHz 11g ht Channel 104 : 5520* MHz 11a ht Channel 7 : 2442 MHz 11g ht Channel 108 : 5540* MHz 11a ht Channel 8 : 2447 MHz 11g ht Channel 112 : 5560* MHz 11a ht Channel 9 : 2452 MHz 11g ht Channel 116 : 5580* MHz 11a ht Channel 10 : 2457 MHz 11g ht Channel 120 : 5600* MHz 11a ht Channel 11 : 2462 MHz 11g ht Channel 124 : 5620* MHz 11a ht Channel 12 : 2467* MHz 11g ht Channel 128 : 5640* MHz 11a ht Channel 13 : 2472* MHz 11g ht Channel 132 : 5660* MHz 11a ht Channel 24 : 5120* MHz 11a ht Channel 136 : 5680* MHz 11a ht Channel 28 : 5140* MHz 11a ht Channel 140 : 5700* MHz 11a ht Channel 32 : 5160* MHz 11a ht Channel 149 : 5745* MHz 11a ht Channel 36 : 5180* MHz 11a ht Channel 153 : 5765* MHz 11a ht Channel 40 : 5200* MHz 11a ht Channel 157 : 5785* MHz 11a ht Channel 44 : 5220* MHz 11a ht Channel 161 : 5805* MHz 11a ht Channel 48 : 5240* MHz 11a ht Channel 165 : 5825* MHz 11a ht mesh-1d04:~ # ifconfig wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:63:20 1 28 162M 16.5 0 1419 60064 E AQHTRS HTCAP WME mesh-1d04:~ # iperf -c 10.50.50.2 ------------------------------------------------------------ Client connecting to 10.50.50.2, TCP port 5001 TCP window size: 80.5 KByte (default) ------------------------------------------------------------ [ 3] local 10.50.50.1 port 39236 connected with 10.50.50.2 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 43.1 MBytes 36.1 Mbits/sec mesh-1d04:~ # athratestats -i ath1 -m 00:0c:42:6c:63:20 static_rix (-1) ratemask 0x0 [ 250] cur rate 12 MCS since switch: packets 2 ticks 14606823 [ 250] last sample (14 MCS) cur sample (0 ) packets sent 34 [ 250] packets since sample 12 sample tt 1109 [1600] cur rate 13 MCS since switch: packets 60 ticks 14604692 [1600] last sample (15 MCS) cur sample (0 ) packets sent 5787 [1600] packets since sample 49 sample tt 5471 TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit [ 6 Mb: 250] 3:3 (100.0%) 3/ 0 760uS 14602541 [10 MCS:1600] 75:75 (100.0%) 11/ 0 516uS 14604440 [11 MCS:1600] 5:5 (100.0%) 5/ 0 674uS 14602538 [12 MCS: 250] 22:22 (100.0%) 22/ 0 424uS 14606823 [12 MCS:1600] 4389:4389 (100.0%) 247/ 0 569uS 14604387 [13 MCS: 250] 11:11 (100.0%) 12/ 0 549uS 14602438 [13 MCS:1600] 58903:57893 ( 99.7%) 5409/ 0 652uS 14604738 [14 MCS: 250] 1:1 (100.0%) 2/ 0 1109uS 14602438 [14 MCS:1600] 831:479 ( 50.7%) 156/ 0 709uS 14604708 [15 MCS:1600] 299:163 ( 77.6%) 242/ 0 6013uS 14604708 ******************* Node-2 ******************* rc.conf create_args_wlan1="wlanmode sta country ZA" ifconfig_wlan1="ssid testAP 10.50.50.2/24" mesh-1909:~ # ifconfig 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 ecm authmode OPEN privacy OFF txpower 17 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi wme burst mesh-1909:~ # ifconfig wlan1 list chan Channel 1 : 2412 MHz 11g ht Channel 52 : 5260* MHz 11a ht Channel 2 : 2417 MHz 11g ht Channel 56 : 5280* MHz 11a ht Channel 3 : 2422 MHz 11g ht Channel 60 : 5300* MHz 11a ht Channel 4 : 2427 MHz 11g ht Channel 64 : 5320* MHz 11a ht Channel 5 : 2432 MHz 11g ht Channel 100 : 5500* MHz 11a ht Channel 6 : 2437 MHz 11g ht Channel 104 : 5520* MHz 11a ht Channel 7 : 2442 MHz 11g ht Channel 108 : 5540* MHz 11a ht Channel 8 : 2447 MHz 11g ht Channel 112 : 5560* MHz 11a ht Channel 9 : 2452 MHz 11g ht Channel 116 : 5580* MHz 11a ht Channel 10 : 2457 MHz 11g ht Channel 120 : 5600* MHz 11a ht Channel 11 : 2462 MHz 11g ht Channel 124 : 5620* MHz 11a ht Channel 12 : 2467* MHz 11g ht Channel 128 : 5640* MHz 11a ht Channel 13 : 2472* MHz 11g ht Channel 132 : 5660* MHz 11a ht Channel 24 : 5120* MHz 11a ht Channel 136 : 5680* MHz 11a ht Channel 28 : 5140* MHz 11a ht Channel 140 : 5700* MHz 11a ht Channel 32 : 5160* MHz 11a ht Channel 149 : 5745* MHz 11a ht Channel 36 : 5180* MHz 11a ht Channel 153 : 5765* MHz 11a ht Channel 40 : 5200* MHz 11a ht Channel 157 : 5785* MHz 11a ht Channel 44 : 5220* MHz 11a ht Channel 161 : 5805* MHz 11a ht Channel 48 : 5240* MHz 11a ht Channel 165 : 5825* MHz 11a ht mesh-1909:~ # ifconfig wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:61:91 1 28 216M 18.5 0 3757 22688 E AQHTRS HTCAP WME mesh-1909:~ # iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] local 10.50.50.2 port 5001 connected with 10.50.50.1 port 39236 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.1 sec 43.1 MBytes 36.0 Mbits/sec mesh-1909:~ # athratestats -i ath1 -m 00:0c:42:6c:61:91 static_rix (-1) ratemask 0x0 [ 250] cur rate 12 MCS since switch: packets 1 ticks 127783 [ 250] last sample (15 MCS) cur sample (0 ) packets sent 4304 [ 250] packets since sample 160 sample tt 12102 [1600] cur rate 13 MCS since switch: packets 1 ticks 127939 [1600] last sample (15 MCS) cur sample (0 ) packets sent 84 [1600] packets since sample 41 sample tt 5471 TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit [ 6 Mb: 250] 2:2 (100.0%) 3/ 0 1274uS 113171 [ 9 MCS: 250] 4:4 (100.0%) 4/ 0 448uS 114645 [12 MCS: 250] 32003:32003 (100.0%) 4235/ 0 424uS 127783 [12 MCS:1600] 10:10 (100.0%) 10/ 0 488uS 101786 [13 MCS: 250] 222:222 (100.0%) 77/ 0 2972uS 115278 [13 MCS:1600] 66:66 (100.0%) 66/ 0 468uS 127939 [14 MCS: 250] 196:196 (100.0%) 92/ 0 3122uS 115278 [14 MCS:1600] 8:8 (100.0%) 9/ 0 601uS 113707 [15 MCS: 250] 126:54 ( 89.2%) 119/ 0 7167uS 115278 [15 MCS:1600] 1:1 (100.0%) 5/ 0 5471uS 113707 --Boundary-00=_YE7fQwdqaQPNtFK Content-Type: text/plain; charset="UTF-8"; name="FreeBSD-10-ADHOC-ADHOC-11na.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="FreeBSD-10-ADHOC-ADHOC-11na.txt" ******************* Node-1 ******************* rc.conf create_args_wlan1="wlanmode adhoc country ZA" ifconfig_wlan1="10.50.50.1/24 ssid testADHOC channel 28:ht/40 bssid 02:8c:ca:fe:ca:10" mesh-1d04:~ # ifconfig 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 ecm authmode OPEN privacy OFF txpower 17 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 8k ampdudensity 8 shortgi wme burst mesh-1d04:~ # ifconfig wlan1 list chan Channel 1 : 2412 MHz 11g ht Channel 52 : 5260* MHz 11a ht Channel 2 : 2417 MHz 11g ht Channel 56 : 5280* MHz 11a ht Channel 3 : 2422 MHz 11g ht Channel 60 : 5300* MHz 11a ht Channel 4 : 2427 MHz 11g ht Channel 64 : 5320* MHz 11a ht Channel 5 : 2432 MHz 11g ht Channel 100 : 5500* MHz 11a ht Channel 6 : 2437 MHz 11g ht Channel 104 : 5520* MHz 11a ht Channel 7 : 2442 MHz 11g ht Channel 108 : 5540* MHz 11a ht Channel 8 : 2447 MHz 11g ht Channel 112 : 5560* MHz 11a ht Channel 9 : 2452 MHz 11g ht Channel 116 : 5580* MHz 11a ht Channel 10 : 2457 MHz 11g ht Channel 120 : 5600* MHz 11a ht Channel 11 : 2462 MHz 11g ht Channel 124 : 5620* MHz 11a ht Channel 12 : 2467* MHz 11g ht Channel 128 : 5640* MHz 11a ht Channel 13 : 2472* MHz 11g ht Channel 132 : 5660* MHz 11a ht Channel 24 : 5120* MHz 11a ht Channel 136 : 5680* MHz 11a ht Channel 28 : 5140* MHz 11a ht Channel 140 : 5700* MHz 11a ht Channel 32 : 5160* MHz 11a ht Channel 149 : 5745* MHz 11a ht Channel 36 : 5180* MHz 11a ht Channel 153 : 5765* MHz 11a ht Channel 40 : 5200* MHz 11a ht Channel 157 : 5785* MHz 11a ht Channel 44 : 5220* MHz 11a ht Channel 161 : 5805* MHz 11a ht Channel 48 : 5240* MHz 11a ht Channel 165 : 5825* MHz 11a ht mesh-1d04:~ # ifconfig wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:61:91 0 28 0M 18.0 0 585 656 I A 00:0c:42:6c:63:20 0 28 54M 19.0 0 20659 24752 I AQ HTCAP WME mesh-1d04:~ # iperf -c 10.50.50.2 ------------------------------------------------------------ Client connecting to 10.50.50.2, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 10.50.50.1 port 53583 connected with 10.50.50.2 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.1 sec 14.2 MBytes 11.8 Mbits/sec mesh-1d04:~ # athratestats -i ath1 -m 00:0c:42:6c:61:91 static_rix (0) ratemask 0x0 [ 250] cur rate 6 Mb since switch: packets 0 ticks 0 [ 250] last sample (6 Mb) cur sample (6 Mb) packets sent 0 [ 250] packets since sample 0 sample tt 0 [1600] cur rate 6 Mb since switch: packets 0 ticks 0 [1600] last sample (6 Mb) cur sample (6 Mb) packets sent 0 [1600] packets since sample 0 sample tt 0 TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit mesh-1d04:~ # athratestats -i ath1 -m 00:0c:42:6c:63:20 static_rix (-1) ratemask 0x0 [ 250] cur rate 54 Mb since switch: packets 1 ticks 83583 [ 250] last sample (6 Mb) cur sample (0 ) packets sent 22 [ 250] packets since sample 0 sample tt 0 [1600] cur rate 54 Mb since switch: packets 402 ticks 82416 [1600] last sample (48 Mb) cur sample (0 ) packets sent 20640 [1600] packets since sample 8 sample tt 672 TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit [18 Mb:1600] 6:6 (100.0%) 6/ 0 1124uS 82359 [24 Mb:1600] 29:29 (100.0%) 33/ 0 940uS 82499 [36 Mb: 250] 1:1 (100.0%) 1/ 0 464uS 68917 [36 Mb:1600] 724:724 (100.0%) 785/ 0 953uS 82503 [48 Mb:1600] 6200:6200 (100.0%) 6628/ 0 693uS 82506 [54 Mb: 250] 21:21 (100.0%) 21/ 0 444uS 83583 [54 Mb:1600] 13681:13681 (100.0%) 14539/ 0 666uS 82507 ******************* Node-2 ******************* rc.conf create_args_wlan1="wlanmode adhoc country ZA" ifconfig_wlan1="10.50.50.2/24 ssid testADHOC channel 28:ht/40 bssid 02:8c:ca:fe:ca:10" mesh-1909:~ # ifconfig 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 ecm authmode OPEN privacy OFF txpower 17 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 8k ampdudensity 8 shortgi wme burst mesh-1909:~ # ifconfig wlan1 list chan Channel 1 : 2412 MHz 11g ht Channel 52 : 5260* MHz 11a ht Channel 2 : 2417 MHz 11g ht Channel 56 : 5280* MHz 11a ht Channel 3 : 2422 MHz 11g ht Channel 60 : 5300* MHz 11a ht Channel 4 : 2427 MHz 11g ht Channel 64 : 5320* MHz 11a ht Channel 5 : 2432 MHz 11g ht Channel 100 : 5500* MHz 11a ht Channel 6 : 2437 MHz 11g ht Channel 104 : 5520* MHz 11a ht Channel 7 : 2442 MHz 11g ht Channel 108 : 5540* MHz 11a ht Channel 8 : 2447 MHz 11g ht Channel 112 : 5560* MHz 11a ht Channel 9 : 2452 MHz 11g ht Channel 116 : 5580* MHz 11a ht Channel 10 : 2457 MHz 11g ht Channel 120 : 5600* MHz 11a ht Channel 11 : 2462 MHz 11g ht Channel 124 : 5620* MHz 11a ht Channel 12 : 2467* MHz 11g ht Channel 128 : 5640* MHz 11a ht Channel 13 : 2472* MHz 11g ht Channel 132 : 5660* MHz 11a ht Channel 24 : 5120* MHz 11a ht Channel 136 : 5680* MHz 11a ht Channel 28 : 5140* MHz 11a ht Channel 140 : 5700* MHz 11a ht Channel 32 : 5160* MHz 11a ht Channel 149 : 5745* MHz 11a ht Channel 36 : 5180* MHz 11a ht Channel 153 : 5765* MHz 11a ht Channel 40 : 5200* MHz 11a ht Channel 157 : 5785* MHz 11a ht Channel 44 : 5220* MHz 11a ht Channel 161 : 5805* MHz 11a ht Channel 48 : 5240* MHz 11a ht Channel 165 : 5825* MHz 11a ht mesh-1909:~ # ifconfig wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:63:20 0 28 0M 17.0 0 207 656 I A 00:0c:42:6c:61:91 0 28 54M 18.5 0 13837 9392 I AQ HTCAP WME mesh-1909:~ # iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] local 10.50.50.2 port 5001 connected with 10.50.50.1 port 53583 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.7 sec 14.2 MBytes 11.2 Mbits/sec mesh-1909:~ # athratestats -i ath1 -m 00:0c:42:6c:61:91 static_rix (-1) ratemask 0x0 [ 250] cur rate 54 Mb since switch: packets 2 ticks 31507 [ 250] last sample (48 Mb) cur sample (0 ) packets sent 13839 [ 250] packets since sample 4 sample tt 448 [1600] cur rate 6 Mb since switch: packets 0 ticks 0 [1600] last sample (6 Mb) cur sample (0 ) packets sent 0 [1600] packets since sample 0 sample tt 0 TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit [ 6 Mb: 250] 6:6 (100.0%) 6/ 0 760uS 30178 [ 9 Mb: 250] 26:26 (100.0%) 28/ 0 688uS 30342 [12 Mb: 250] 68:68 (100.0%) 75/ 0 610uS 30421 [18 Mb: 250] 836:836 (100.0%) 921/ 0 524uS 30350 [24 Mb: 250] 2523:2523 (100.0%) 2762/ 0 669uS 30401 [36 Mb: 250] 1757:1757 (100.0%) 1922/ 0 514uS 30414 [48 Mb: 250] 5446:5446 (100.0%) 5913/ 0 461uS 30431 [54 Mb: 250] 3178:3178 (100.0%) 3471/ 0 447uS 31508 --Boundary-00=_YE7fQwdqaQPNtFK-- From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 18 07:37:09 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCC52324 for ; Thu, 18 Oct 2012 07:37:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 899D98FC0C for ; Thu, 18 Oct 2012 07:37:09 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so8661063pad.13 for ; Thu, 18 Oct 2012 00:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=/+cOpdIBAB62d6PQGfeh3YPB3uE/l6xl5Vypdc2zYDE=; b=IqR9Tn4frOBBWQh2BNEaIgHeU/qIKh5J/f9IKkNrhdwUHvWyLGObTFbwJ3bluC31qk u6Wf0fLCbUAw/Vyx7wARDqkH/AhW/1eUN1ALVEbrRmeKzni09p/L4WsfImpgjQ2KIWjE hcFPmqDgQ0l4AiAUPuRR/rYHdrOcbfHoyfEp5s7xBE10c1o5lwd4Qnlt3+44WAIzhO49 H0Bv8kks/JkEEuA+QbPlH1pwPw1QXhqQFCfqhD9tbYGwnThDqJZ4EABKegrouYAYKBnJ 6a+jHGbfO02JFoB6ncjK2dH3683tsn/Sx+tWnWWT9VOV+fFqI1EHaVWENfWclk5PmUSF 0ehA== MIME-Version: 1.0 Received: by 10.68.229.138 with SMTP id sq10mr64218573pbc.126.1350545829136; Thu, 18 Oct 2012 00:37:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Thu, 18 Oct 2012 00:37:09 -0700 (PDT) In-Reply-To: <201210180934.48741.jhugo@meraka.csir.co.za> References: <201210180934.48741.jhugo@meraka.csir.co.za> Date: Thu, 18 Oct 2012 00:37:09 -0700 X-Google-Sender-Auth: ppQSS9Hb44uPhiVR6kjxLcsAGfk Message-ID: Subject: Re: 11n in adhoc mode From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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: Thu, 18 Oct 2012 07:37:10 -0000 Hi, Try disabling ampdu - ifconfig wlanX -ampdu Adrian On 18 October 2012 00:34, Johann Hugo wrote: > Hi > > Finally got a 11n test setup running FreeBSD 10.0-CURRENT on two ARM boards. > > HW = gateworks ARM > OS = FreeBSD 10.0-CURRENT > Build = arm-10-20121011 > Wifi = RouterBOARD R52nM = AR9220 > > 11n works if one device is in AP mode and the other in ST mode, but I can get > it running with both devices in ADHOC mode. > > Is there a special switch or something that I need to toggle for 11n to work > in ADHOC mode ? > > Johann > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 18 07:49:01 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9164E75E; Thu, 18 Oct 2012 07:49:01 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7DBD48FC18; Thu, 18 Oct 2012 07:48:59 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) by marge.meraka.csir.co.za (Postfix) with ESMTP id 4E6B6D0CC21; Thu, 18 Oct 2012 09:48:58 +0200 (SAST) From: Johann Hugo To: Adrian Chadd Subject: Re: 11n in adhoc mode Date: Thu, 18 Oct 2012 09:48:57 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RELEASE-p3; KDE/4.7.3; amd64; ; ) References: <201210180934.48741.jhugo@meraka.csir.co.za> In-Reply-To: X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201210180948.57545.jhugo@meraka.csir.co.za> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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: Thu, 18 Oct 2012 07:49:01 -0000 On Thursday 18 October 2012 09:37:09 Adrian Chadd wrote: > Hi, > > Try disabling ampdu - ifconfig wlanX -ampdu Nope, still the same. (done on both sides) mesh-1d04:~ # ifconfig wlan1 -ampdu mesh-1d04:~ # ifconfig 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 ecm authmode OPEN privacy OFF txpower 17 mcastrate 6 mgmtrate 6 scanvalid 60 -ampdu ampdulimit 8k ampdudensity 8 shortgi wme burst mesh-1d04:~ # ifconfig wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:61:91 0 28 0M 18.5 30 25 0 I A 00:0c:42:6c:63:20 0 28 54M 18.5 0 3 288 I AQ HTCAP WME mesh-1d04:~ # iperf -c 10.50.50.2 ------------------------------------------------------------ Client connecting to 10.50.50.2, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 10.50.50.1 port 61073 connected with 10.50.50.2 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.1 sec 24.5 MBytes 20.4 Mbits/sec mesh-1d04:~ # ifconfig wlan1 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0c:42:6c:61:91 0 28 0M 18.5 0 43 656 I A 00:0c:42:6c:63:20 0 28 54M 18.0 0 17776 59552 I AQ HTCAP WME mesh-1d04:~ # athratestats -i ath1 -m 00:0c:42:6c:63:20 static_rix (-1) ratemask 0x0 [ 250] cur rate 54 Mb since switch: packets 4 ticks 292459 [ 250] last sample (6 Mb) cur sample (0 ) packets sent 28 [ 250] packets since sample 6 sample tt 0 [1600] cur rate 54 Mb since switch: packets 1 ticks 292477 [1600] last sample (36 Mb) cur sample (0 ) packets sent 17748 [1600] packets since sample 20 sample tt 764 TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit [ 9 Mb:1600] 1:1 (100.0%) 1/ 0 1848uS 291850 [18 Mb:1600] 17:17 (100.0%) 19/ 0 1193uS 292315 [24 Mb:1600] 28:28 (100.0%) 30/ 0 956uS 292259 [36 Mb: 250] 1:1 (100.0%) 1/ 0 464uS 288917 [36 Mb:1600] 203:203 (100.0%) 214/ 0 1003uS 292325 [48 Mb:1600] 7733:7733 (100.0%) 8335/ 0 794uS 292323 [54 Mb: 250] 27:27 (100.0%) 27/ 0 444uS 292478 [54 Mb:1600] 9767:9767 (100.0%) 10518/ 0 648uS 292477 > > > > > Adrian > > On 18 October 2012 00:34, Johann Hugo wrote: > > Hi > > > > Finally got a 11n test setup running FreeBSD 10.0-CURRENT on two ARM > > boards. > > > > HW = gateworks ARM > > OS = FreeBSD 10.0-CURRENT > > Build = arm-10-20121011 > > Wifi = RouterBOARD R52nM = AR9220 > > > > 11n works if one device is in AP mode and the other in ST mode, but I can > > get it running with both devices in ADHOC mode. > > > > Is there a special switch or something that I need to toggle for 11n to > > work in ADHOC mode ? > > > > Johann > > > > _______________________________________________ > > freebsd-wireless@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe, send any mail to > > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 18 07:52:20 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30646792 for ; Thu, 18 Oct 2012 07:52:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id F20488FC0A for ; Thu, 18 Oct 2012 07:52:19 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so8676522pad.13 for ; Thu, 18 Oct 2012 00:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=jL4kvJmEc8WpFth5nBuK40wfFkosibmYpjvRB4l9JoU=; b=kRg2uFCRu0IZw1ZjqWmgcE90fISDTX7VgQRcHwI6cNQG1G/yXUh+pdY79RjI/Thrmm qpY9jJRwaU018PwkSpj6n267+eqRiMZ7SBP/6QsiLNTUYnvLRMWWUhldIjWizFhX65OY xN/qgeykVJ6ZrxVLmZvYfW/Fw0W+QiS1dNIIq73xwIN5nFa0FHtIkx/r30FOM8RKJQX8 qqTRP7zmmj9pQ4sn2YG2030OGptIQMcbcLLjZ5duLturkwAjM6bio3Ft22PBjhEk/OOh qtusPG39yCN0jMRiQuZ6QFeTnhekoy1b6tDFRinN2YGosx7Fo+V7XzaZY7ByoKCCe0mI uPtw== MIME-Version: 1.0 Received: by 10.68.229.138 with SMTP id sq10mr64309389pbc.126.1350546739207; Thu, 18 Oct 2012 00:52:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Thu, 18 Oct 2012 00:52:19 -0700 (PDT) In-Reply-To: <201210180948.57545.jhugo@meraka.csir.co.za> References: <201210180934.48741.jhugo@meraka.csir.co.za> <201210180948.57545.jhugo@meraka.csir.co.za> Date: Thu, 18 Oct 2012 00:52:19 -0700 X-Google-Sender-Auth: WMe3AtG-46mMf_zQO0wQg7-2POo Message-ID: Subject: Re: 11n in adhoc mode From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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: Thu, 18 Oct 2012 07:52:20 -0000 Ah, it looks like the MCS rate stuff isn't being setup or negotiated right? Please file a bug. I'm not sure if I'll have time to dig into it though; but it should be easy to fix. adrian On 18 October 2012 00:48, Johann Hugo wrote: > On Thursday 18 October 2012 09:37:09 Adrian Chadd wrote: > >> Hi, > >> > >> Try disabling ampdu - ifconfig wlanX -ampdu > > > > Nope, still the same. (done on both sides) > > > > mesh-1d04:~ # ifconfig wlan1 -ampdu > > mesh-1d04:~ # ifconfig 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 ecm authmode OPEN privacy OFF txpower 17 > > mcastrate 6 mgmtrate 6 scanvalid 60 -ampdu ampdulimit 8k > > ampdudensity 8 shortgi wme burst > > > > mesh-1d04:~ # ifconfig wlan1 list sta > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > 00:0c:42:6c:61:91 0 28 0M 18.5 30 25 0 I A > > 00:0c:42:6c:63:20 0 28 54M 18.5 0 3 288 I AQ HTCAP WME > > > > mesh-1d04:~ # iperf -c 10.50.50.2 > > ------------------------------------------------------------ > > Client connecting to 10.50.50.2, TCP port 5001 > > TCP window size: 32.5 KByte (default) > > ------------------------------------------------------------ > > [ 3] local 10.50.50.1 port 61073 connected with 10.50.50.2 port 5001 > > [ ID] Interval Transfer Bandwidth > > [ 3] 0.0-10.1 sec 24.5 MBytes 20.4 Mbits/sec > > mesh-1d04:~ # ifconfig wlan1 list sta > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > 00:0c:42:6c:61:91 0 28 0M 18.5 0 43 656 I A > > 00:0c:42:6c:63:20 0 28 54M 18.0 0 17776 59552 I AQ HTCAP WME > > mesh-1d04:~ # athratestats -i ath1 -m 00:0c:42:6c:63:20 > > static_rix (-1) ratemask 0x0 > > [ 250] cur rate 54 Mb since switch: packets 4 ticks 292459 > > [ 250] last sample (6 Mb) cur sample (0 ) packets sent 28 > > [ 250] packets since sample 6 sample tt 0 > > > > [1600] cur rate 54 Mb since switch: packets 1 ticks 292477 > > [1600] last sample (36 Mb) cur sample (0 ) packets sent 17748 > > [1600] packets since sample 20 sample tt 764 > > > > TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit > > [ 9 Mb:1600] 1:1 (100.0%) 1/ 0 1848uS 291850 > > [18 Mb:1600] 17:17 (100.0%) 19/ 0 1193uS 292315 > > [24 Mb:1600] 28:28 (100.0%) 30/ 0 956uS 292259 > > [36 Mb: 250] 1:1 (100.0%) 1/ 0 464uS 288917 > > [36 Mb:1600] 203:203 (100.0%) 214/ 0 1003uS 292325 > > [48 Mb:1600] 7733:7733 (100.0%) 8335/ 0 794uS 292323 > > [54 Mb: 250] 27:27 (100.0%) 27/ 0 444uS 292478 > > [54 Mb:1600] 9767:9767 (100.0%) 10518/ 0 648uS 292477 > > > > > >> > >> > >> > >> > >> Adrian > >> > >> On 18 October 2012 00:34, Johann Hugo wrote: > >> > Hi > >> > > >> > Finally got a 11n test setup running FreeBSD 10.0-CURRENT on two ARM > >> > boards. > >> > > >> > HW = gateworks ARM > >> > OS = FreeBSD 10.0-CURRENT > >> > Build = arm-10-20121011 > >> > Wifi = RouterBOARD R52nM = AR9220 > >> > > >> > 11n works if one device is in AP mode and the other in ST mode, but I >> > can > >> > get it running with both devices in ADHOC mode. > >> > > >> > Is there a special switch or something that I need to toggle for 11n to > >> > work in ADHOC mode ? > >> > > >> > Johann > >> > > >> > _______________________________________________ > >> > freebsd-wireless@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >> > To unsubscribe, send any mail to > >> > "freebsd-wireless-unsubscribe@freebsd.org" > > From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 18 22:32:53 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 3CCE646C; Thu, 18 Oct 2012 22:32:53 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0BC7A8FC1C; Thu, 18 Oct 2012 22:32:53 +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 q9IMWqsP014822; Thu, 18 Oct 2012 22:32:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9IMWqfU014818; Thu, 18 Oct 2012 22:32:52 GMT (envelope-from linimon) Date: Thu, 18 Oct 2012 22:32:52 GMT Message-Id: <201210182232.q9IMWqfU014818@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-wireless@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: kern/172706: [wpi] wpi0 fails to load firmware when using country X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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: Thu, 18 Oct 2012 22:32:53 -0000 Old Synopsis: wpi0 fails to load firmware when using country New Synopsis: [wpi] wpi0 fails to load firmware when using country Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless Responsible-Changed-By: linimon Responsible-Changed-When: Thu Oct 18 22:32:37 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=172706