From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 27 21:59:23 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52DA4F1D for ; Sun, 27 Jul 2014 21:59:23 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 221372CDA for ; Sun, 27 Jul 2014 21:59:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6RLxNn1034937 for ; Sun, 27 Jul 2014 21:59:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 192057] Sound doesn't work, fan on high, Wi-Fi Broadcom BCM43224 doesn't work Date: Sun, 27 Jul 2014 21:59:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gavin@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Sun, 27 Jul 2014 21:59:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192057 Gavin Atkinson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Triage |Open Summary|Wi-Fi Broadcom BCM43224 |Sound doesn't work, fan on |doesn`t work and etc. |high, Wi-Fi Broadcom | |BCM43224 doesn't work --- Comment #1 from Gavin Atkinson --- Hi, Unfortunately, we do not have a driver for the BCM43224 WiFi chipset - this chipset is entirely undocumented, making it hard to support. For the sound issue, it looks like your system actually has four different sound interfaces, and my guess is that we're defaulting to the wrong interface. In a root shell, can you try: sysctl hw.snd.default_unit=0 and then try playing sound. If that doesn't work, try setting it to 1, 2 and then 3, each time stopping and restarting playing audio each time. I suspect one setting will make audio work (note that it is possible that PC-BSD provides a "proper" interface to do this, however I'm afraid that I don't know what that would be. It's not clear from the debug output you gave what the issue could be with the fan being stuck on high speed. Could you show the output of "vmstat -i; sleep 10; vmstat -i" when the fan is running at high speed on an otherwise idle system? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 27 22:19:01 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C007378 for ; Sun, 27 Jul 2014 22:19:01 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 243B42E48 for ; Sun, 27 Jul 2014 22:19:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6RMJ1ld087116 for ; Sun, 27 Jul 2014 22:19:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 192057] Sound doesn't work, fan on high, Wi-Fi Broadcom BCM43224 doesn't work Date: Sun, 27 Jul 2014 22:19:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gavin@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Sun, 27 Jul 2014 22:19:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192057 Gavin Atkinson changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-wireless@FreeBSD.or |freebsd-bugs@FreeBSD.org |g | --- Comment #2 from Gavin Atkinson --- Over to -bugs, multiple bugs in one report (and the non-wireless ones are more easily fixed) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 28 08:00:22 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 143988CE for ; Mon, 28 Jul 2014 08:00:22 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC80E2D61 for ; Mon, 28 Jul 2014 08:00:21 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6S80LnZ065461 for ; Mon, 28 Jul 2014 08:00:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Message-Id: <201407280800.s6S80LnZ065461@kenobi.freebsd.org> From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 28 Jul 2014 08:00:21 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 28 Jul 2014 08:00:22 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (7 bugs) Bug 140567: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=140567 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] [patch] ath is not worked on my notebook PC Bug 154598: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154598 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] Atheros 5424/2424 can't connect to WPA network Bug 163312: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=163312 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [panic] [ath] kernel panic: page fault with ath0 taskq Bug 166190: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166190 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] TX hangs and frames stuck in TX queue Bug 166357: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166357 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] 802.11n TX stall when the first frame in the BAW is in the software queue Bug 166642: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166642 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ieee80211] [patch] in 802.11n mode for FreeBSD AP, having a station in powersave cripples AP TX. Bug 169362: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=169362 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-wireless@FreeBSD.org Status: Needs MFC Resolution: Summary: [ath] AR5416: radar pulse PHY errors sometimes include the CRC Error bit set as well as the PHY errors From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 29 07:39:24 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3744FDBE for ; Tue, 29 Jul 2014 07:39:24 +0000 (UTC) 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 8867423D8 for ; Tue, 29 Jul 2014 07:39:22 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPS id 6DE3BD0CC03 for ; Tue, 29 Jul 2014 09:38:57 +0200 (SAST) From: Johann Hugo To: "freebsd-wireless@freebsd.org" Subject: Atheros 9220 in 11a mode Date: Tue, 29 Jul 2014 09:38:56 +0204 Message-ID: <5909485.NSLuUH4TOr@jeep> User-Agent: KMail/4.9.3 (FreeBSD/9.1-RELEASE; KDE/4.9.3; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 29 Jul 2014 07:39:24 -0000 Hi Are there any special settings needed to operate a 11n adapter in 11a mode ? e.g. dev.ath.0.rxantenna I've managed to get it into 11a mode, but for some reason more that 80% of all big packets are dropped, small packets works fine. mesh-6c9a:~ # uname -a FreeBSD mesh-6c9a 11.0-CURRENT FreeBSD 11.0-CURRENT #16 r268838M: Thu Jul 24 14:41:29 SAST 2014 jhay@dolphin.meraka.csir.co.za:/usr/obj/arm.armeb/snaps/arm/11- tst/src/sys/SMALL-CAMBRIA arm dmesg: ath0: irq 28 at device 1.0 on pci0 [ath] enabling AN_TOP2_FIXUP ath0: [HT] enabling HT modes ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9220 mac 128.2 RF5133 phy 13.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 mesh-6c9a:~ # ifconfig wlan0 channel 112:a/20 mesh-6c9a:~ # ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:21:a4:35:6c:9a inet6 fe80::221:a4ff:fe35:6c9a%wlan0 prefixlen 64 scopeid 0x7 inet6 fde4:7b85:9218:10:221:a4ff:fe35:6c9a prefixlen 64 inet6 fde4:7b85:9218:10:: prefixlen 64 anycast ssid ptabb channel 112 (5560 MHz 11a ht/40-) bssid 02:02:ca:fe:12:34 regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 27 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 8k ampdudensity 8 shortgi wme burst media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running nd6 options=21 mesh-6c9a:~ # ifconfig wlan0 mode 11a mesh-6c9a:~ # ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:21:a4:35:6c:9a inet6 fe80::221:a4ff:fe35:6c9a%wlan0 prefixlen 64 scopeid 0x7 inet6 fde4:7b85:9218:10:221:a4ff:fe35:6c9a prefixlen 64 inet6 fde4:7b85:9218:10:: prefixlen 64 anycast ssid ptabb channel 112 (5560 MHz 11a ht/40-) bssid 02:02:ca:fe:12:34 regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 27 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 8k ampdudensity 8 shortgi wme burst media: IEEE 802.11 Wireless Ethernet autoselect mode 11na status: running nd6 options=21 This one does the trick. mesh-6c9a:~ # ifconfig wlan0 -ht mesh-6c9a:~ # ifconfig -v wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:21:a4:35:6c:9a inet6 fe80::221:a4ff:fe35:6c9a%wlan0 prefixlen 64 scopeid 0x7 inet6 fde4:7b85:9218:10:221:a4ff:fe35:6c9a prefixlen 64 inet6 fde4:7b85:9218:10:: prefixlen 64 anycast groups: wlan ssid ptabb channel 112 (5560 MHz 11a) bssid 02:02:ca:fe:12:34 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 status: running nd6 options=21 mesh-6c9a:~ # ping6 -i 0.1 -s 1450 fe80::221:a4ff:fe31:2a55%wlan0 PING6(1498=40+8+1450 bytes) fe80::221:a4ff:fe35:6c9a%wlan0 --> fe80::221:a4ff:fe31:2a55%wlan0 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=4 hlim=64 time=5.141 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=9 hlim=64 time=7.357 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=14 hlim=64 time=6.035 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=92 hlim=64 time=10.437 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=102 hlim=64 time=17.306 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=103 hlim=64 time=7.724 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=104 hlim=64 time=13.918 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=202 hlim=64 time=7.162 ms 1458 bytes from fe80::221:a4ff:fe31:2a55%wlan0, icmp_seq=206 hlim=64 time=9.092 ms ^C --- fe80::221:a4ff:fe31:2a55%wlan0 ping6 statistics --- 209 packets transmitted, 9 packets received, 95.7% packet loss round-trip min/avg/max/std-dev = 5.141/9.352/17.306/3.735 ms B.t.w the same setup works fine if I swap the 11n adapter with a 11a adapter (Atheros 5413 chipset) From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 29 18:54:08 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CA31CDE for ; Tue, 29 Jul 2014 18:54:08 +0000 (UTC) Received: from systemdatarecorder.org (mail.systemdatarecorder.org [54.246.96.61]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "localhost" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AC7825A9 for ; Tue, 29 Jul 2014 18:54:07 +0000 (UTC) Received: from nereid (84-253-211-213.bb.dnainternet.fi [84.253.211.213]) (authenticated bits=0) by systemdatarecorder.org (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s6TIpRj7021435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 29 Jul 2014 18:51:28 GMT Date: Tue, 29 Jul 2014 21:53:27 +0300 From: Stefan Parvu To: freebsd-wireless@freebsd.org Subject: Centrino Advanced-N 6235 on Asus Zenbook UX32VD poor performance Message-Id: <20140729215327.832f04499819e3eab8369877@systemdatarecorder.org> Organization: systemdatarecorder.org X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 29 Jul 2014 18:54:08 -0000 Hi, Im running FreeBSD nereid 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r268622 on my laptop. I am not able to get a decent network throughput when doing scp or ftp. Strange is no matter what I use for transfer I get same speed: around 400KB/sec. Even scp or ftp ... I tried to disable bgscan on the wlan0 interface, no success. See below, my settings: 1. device: iwn0@pci0:3:0:0: class=0x028000 card=0x40608086 chip=0x088e8086 rev=0x24 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Advanced-N 6235' class = network 2. interface iwn0: flags=8843 metric 0 mtu 2290 ether c4:85:08:a3:4e:09 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 wlan0: flags=8843 metric 0 mtu 1500 ether c4:85:08:a3:4e:09 inet 192.168.1.171 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid sdr channel 6 (2437 MHz 11g ht/20) bssid cc:5d:4e:ee:2c:69 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi wme roaming MANUAL Any ideas if this chip is well supported or are there current issues with the driver for this device ? Running Debian 7 on this machine let me to get 7-9MB/sec easily. Thanks, -- Stefan Parvu From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 29 18:55:44 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2F13D01 for ; Tue, 29 Jul 2014 18:55:44 +0000 (UTC) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 843AB25B1 for ; Tue, 29 Jul 2014 18:55:44 +0000 (UTC) Received: by mail-qg0-f45.google.com with SMTP id f51so124952qge.4 for ; Tue, 29 Jul 2014 11:55:42 -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:message-id:subject :from:to:cc:content-type; bh=uVdxtMMmjesykPRuoVgys6JY2/Qi9eJzMEt3cQ9jzic=; b=O+fV7Yv5z8XB67BiLICiOyY0Sc2h99/iBoFXYVVsHK35EM3Af5s2sfOaPgxjR+JRnz 9SBQe6yNC6fySqsFxeSdduLVAGrtkjyORs0FKEByACcCJOyHcOI8/+cNWXcL9+oRlQsX sr+BqENre7ulAndzJwVVCu4jaEpB2TXF8CEa615LSuPCDcDQIv0mmvySjVmiVMFG+oYw bBhMi6YSaPFeMVsIBlEqKAVXoFTtZzw14+EPAesdedeXIYVyE2tVYMe2Yg80nwGSwhmo OfrQPuBooAMaaYuBv/j2/zUPyGJykjw4SSWtv8folvNxVqsbCfAUHUnlRkdWGp1UO31t W7dA== MIME-Version: 1.0 X-Received: by 10.140.93.161 with SMTP id d30mr5797921qge.53.1406660142044; Tue, 29 Jul 2014 11:55:42 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Tue, 29 Jul 2014 11:55:41 -0700 (PDT) In-Reply-To: <20140729215327.832f04499819e3eab8369877@systemdatarecorder.org> References: <20140729215327.832f04499819e3eab8369877@systemdatarecorder.org> Date: Tue, 29 Jul 2014 11:55:41 -0700 X-Google-Sender-Auth: Q4n4pHjWhVpwMt3wPC-WcanbIso Message-ID: Subject: Re: Centrino Advanced-N 6235 on Asus Zenbook UX32VD poor performance From: Adrian Chadd To: Stefan Parvu Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 29 Jul 2014 18:55:44 -0000 Yeah, the freebsd intel driver likely requires quite a bit more attention. :( I think I have a 6235 here but I don't have an antenna connection for it so I can test it. It's the one that's smaller than u.fl, which is freaking annoying. (Someone may have to send me a laptop with this NIC in it so I can fix it up..) -a On 29 July 2014 11:53, Stefan Parvu wrote: > Hi, > > Im running FreeBSD nereid 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r268622 on my laptop. > I am not able to get a decent network throughput when doing scp or ftp. Strange is no matter > what I use for transfer I get same speed: around 400KB/sec. Even scp or ftp ... > > I tried to disable bgscan on the wlan0 interface, no success. See below, my settings: > > 1. device: > > iwn0@pci0:3:0:0: class=0x028000 card=0x40608086 chip=0x088e8086 rev=0x24 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Centrino Advanced-N 6235' > class = network > > 2. interface > > iwn0: flags=8843 metric 0 mtu 2290 > ether c4:85:08:a3:4e:09 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: associated > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > wlan0: flags=8843 metric 0 mtu 1500 > ether c4:85:08:a3:4e:09 > inet 192.168.1.171 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > ssid sdr channel 6 (2437 MHz 11g ht/20) bssid cc:5d:4e:ee:2c:69 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 protmode CTS > ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi wme > roaming MANUAL > > Any ideas if this chip is well supported or are there current issues with the driver for this device ? > Running Debian 7 on this machine let me to get 7-9MB/sec easily. > > Thanks, > > -- > Stefan Parvu > _______________________________________________ > 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 Tue Jul 29 22:35:23 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16444BD8 for ; Tue, 29 Jul 2014 22:35:23 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C13B2FB6 for ; Tue, 29 Jul 2014 22:35:22 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id d1so6509222wiv.7 for ; Tue, 29 Jul 2014 15:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=p2wn6aKn8R342tx95Ow3vPd3aPly4UCHJG9bc7oZBeo=; b=GgYuc2bZg2FGpBUJjQ9GSjSg+ZzJdLoAaT2n5MlisoHRS/KhcWry/h9OHZ4F8zS9WN o4XCkjjmyT4DegaM4XN5EIUxOD4h2lHzUgwZFZjN/FY9GZq8yWuRvy7hT2gfGxSgXgbT YlfuGh4TiJRkyYokLUpa3ggFANMMZha3ztklJAXoTdRZq/RhORXHwaHE5GyDXJ4a+FXY 8tiy7+f52pGFb+JuLwJn25YZ3p7qY2t2kYX0RKZARvAhUEsnjrsJ5AvSSKRTfAERtiPt gGHMlHKakYKDtxi9UGlgKPBrrLI/FceJgihb92l2jOl21zY81zu5Yv2VIiSGULT8yYOO vpeQ== X-Received: by 10.194.23.135 with SMTP id m7mr291950wjf.2.1406673320693; Tue, 29 Jul 2014 15:35:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.195.12.134 with HTTP; Tue, 29 Jul 2014 15:35:00 -0700 (PDT) From: Miguel Clara Date: Tue, 29 Jul 2014 23:35:00 +0100 Message-ID: Subject: FreeBSD current RT3071 can't connect to 5G network To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 29 Jul 2014 22:35:23 -0000 Hi, I just brought a TP-Link N600 Wireless Dual Band USB Adpater (model TL-WDN3200) and its correctly recognized in FreeBSD as a ranlink. Dmesg shows: wlan0: Ethernet address: e8:94:f6:12:98:9d run0: firmware RT3071 ver. 0.33 loaded So the module and firmware seem to be loaded fine and I'm able to connect to my 2.4g wireless fine. However I'm having no luck connecting to the 5G network, I've pasted the scans and wpa_supplicant log, and I see: "wlan0: Authentication with 60:a4:4c:28:13:c4 timed out. Added BSSID 60:a4:4c:28:13:c4 into blacklist" which I'm guessing means that for some reason the auth time-out, but I don't really know why, all other 5G devices connect fine! (Also if its important the router is a RT-N66U running the latest Asus-Merlin firmware) First Scan: ~% ifconfig wlan0 scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS ****** a4:b1:e9:ef:1c:68 1 54M -36:-68 100 EP RSN HTCAP WPS WPA WME ****** 9c:97:26:34:b7:cd 11 54M -41:-78 100 EP RSN HTCAP WPS WPA WME ****** 24:ec:99:39:4a:12 11 54M -33:-62 100 EP RSN HTCAP WPS WPA WME ****** 26:ec:99:39:4a:13 11 54M -31:-60 100 ES HTCAP WME ****** 10:fe:ed:c3:77:51 7 54M -40:-76 100 EPS RSN HTCAP WPA WME ATH WPS Mynetwork5G 60:a4:4c:28:13:c4 44 54M -12:-20 100 EP RSN HTCAP WME Second Scan % ifconfig wlan0 scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS ****** a4:b1:e9:ef:1c:68 1 54M -36:-68 100 EP RSN HTCAP WPS WPA WME ****** 9c:97:26:34:b7:cd 11 54M -41:-78 100 EP RSN HTCAP WPS WPA WME ****** 24:ec:99:39:4a:12 11 54M -33:-62 100 EP RSN HTCAP WPS WPA WME ****** 26:ec:99:39:4a:13 11 54M -31:-60 100 ES HTCAP WME ****** 10:fe:ed:c3:77:51 7 54M -40:-76 100 EPS RSN HTCAP WPA WME ATH WPS Mynetwork5G 60:a4:4c:28:13:c4 44 54M -12:-20 100 EP RSN HTCAP WME Mynetwork 60:a4:4c:28:13:c0 3 54M -18:-32 100 EP RSN HTCAP WME log from --> wpa_supplicant -i wlano -c /etc/wpa_supplicant.conf -d NOTE: while doing this in wpa_supplicant.conf I only have my 5g network! wpa_supplicant v2.0 Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' Priority group 145 id=0 ssid='PissnLove5G' wpa_driver_bsd_capa: drivercaps=0x0d85c501,cryptocaps=0x0000001b wlan0: Own MAC address: e8:94:f6:12:98:9d bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wlan0: RSN: flushing PMKID list in the driver wlan0: Setting scan request: 0 sec 100000 usec WPS: Set UUID for interface wlan0 WPS: UUID based on MAC address - hexdump(len=16): 49 97 f8 d3 b1 d4 56 1d 94 a4 d0 76 2e 1d 81 b3 EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: Supplicant port status: Unauthorized EAPOL: Supplicant port status: Unauthorized wlan0: Added interface wlan0 wlan0: State: DISCONNECTED -> DISCONNECTED wlan0: State: DISCONNECTED -> SCANNING Scan SSID - hexdump_ascii(len=11): 50 69 73 73 6e 4c 6f 76 65 35 47 PissnLove5G wlan0: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 EAPOL: disable timer tick EAPOL: Supplicant port status: Unauthorized wlan0: Event SCAN_RESULTS (3) received Received 2464 bytes of scan results (9 BSSes) wlan0: BSS: Start scan result update 1 wlan0: BSS: Add new id 0 BSSID 60:a4:4c:28:13:c4 SSID 'PissnLove5G' wlan0: BSS: Add new id 1 BSSID 60:a4:4c:28:13:c0 SSID 'PissnLove' wlan0: BSS: Add new id 2 BSSID 24:ec:99:39:4a:12 SSID 'NET' wlan0: BSS: Add new id 3 BSSID a4:b1:e9:ef:1c:68 SSID 'casabessa' wlan0: BSS: Add new id 4 BSSID 10:fe:ed:c3:77:51 SSID 'PQTP' wlan0: BSS: Add new id 5 BSSID 9c:97:26:34:b7:cd SSID 'Vodafone-34B7CD' wlan0: BSS: Add new id 6 BSSID 00:05:ca:64:7b:e8 SSID 'ZON-7BE0' wlan0: BSS: Add new id 7 BSSID 26:ec:99:39:4a:13 SSID 'MEO-WiFi' wlan0: BSS: Add new id 8 BSSID 00:05:ca:64:7b:e9 SSID 'FON_ZON_FREE_INTERNET' BSS: last_scan_res_used=9/32 last_scan_full=0 wlan0: New scan results available WPS: AP 24:ec:99:39:4a:12 type 0 added WPS: AP a4:b1:e9:ef:1c:68 type 0 added WPS: AP 10:fe:ed:c3:77:51 type 0 added WPS: AP 9c:97:26:34:b7:cd type 0 added WPS: AP 00:05:ca:64:7b:e8 type 0 added WPS: AP[0] 24:ec:99:39:4a:12 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] a4:b1:e9:ef:1c:68 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 10:fe:ed:c3:77:51 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[3] 9c:97:26:34:b7:cd type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 00:05:ca:64:7b:e8 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan0: Selecting BSS from priority group 145 wlan0: 0: 60:a4:4c:28:13:c4 ssid='PissnLove5G' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-12 wlan0: selected based on RSN IE wlan0: selected BSS 60:a4:4c:28:13:c4 ssid='PissnLove5G' wlan0: Request association: reassociate: 0 selected: 60:a4:4c:28:13:c4 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan0: Trying to associate with 60:a4:4c:28:13:c4 (SSID='PissnLove5G' freq=5220 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan0: Cancelling scan request wlan0: WPA: clearing own WPA/RSN IE wlan0: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 60:a4:4c:28:13:c4 RSN: No PMKSA cache entry found wlan0: RSN: using IEEE 802.11i/D9.0 wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: No keys have been configured - skip key clearing wlan0: State: SCANNING -> ASSOCIATING Limit connection to BSSID 60:a4:4c:28:13:c4 freq=5220 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'PissnLove5G' wpa ie len 22 pairwise 3 group 3 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 wlan0: Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan0: Authentication with 60:a4:4c:28:13:c4 timed out. Added BSSID 60:a4:4c:28:13:c4 into blacklist wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=60:a4:4c:28:13:c4 reason=3 state=ASSOCIATING wlan0: Event DEAUTH (12) received wlan0: Deauthentication notification wlan0: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan0: CTRL-EVENT-DISCONNECTED bssid=60:a4:4c:28:13:c4 reason=3 locally_generated=1 wlan0: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan0: Setting scan request: 0 sec 100000 usec BSSID 60:a4:4c:28:13:c4 blacklist count incremented to 2 wlan0: Blacklist count 2 --> request scan in 500 ms wlan0: Not rescheduling scan to ensure that specific SSID scans occur wlan0: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c2f4c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 wlan0: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan0: No keys have been configured - skip key clearing wlan0: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan0: Not rescheduling scan to ensure that specific SSID scans occur wlan0: State: DISCONNECTED -> SCANNING Scan SSID - hexdump_ascii(len=11): 50 69 73 73 6e 4c 6f 76 65 35 47 PissnLove5G wlan0: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan0: Removing interface wlan0 wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=SCANNING wlan0: No keys have been configured - skip key clearing wlan0: State: SCANNING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wpa_driver_bsd_set_countermeasures: enabled=0 wlan0: No keys have been configured - skip key clearing Removed BSSID 60:a4:4c:28:13:c4 from blacklist (clear) wlan0: BSS: Remove id 0 BSSID 60:a4:4c:28:13:c4 SSID 'PissnLove5G' due to wpa_bss_flush wlan0: BSS: Remove id 1 BSSID 60:a4:4c:28:13:c0 SSID 'PissnLove' due to wpa_bss_flush wlan0: BSS: Remove id 2 BSSID 24:ec:99:39:4a:12 SSID 'NET' due to wpa_bss_flush wlan0: BSS: Remove id 3 BSSID a4:b1:e9:ef:1c:68 SSID 'casabessa' due to wpa_bss_flush wlan0: BSS: Remove id 4 BSSID 10:fe:ed:c3:77:51 SSID 'PQTP' due to wpa_bss_flush wlan0: BSS: Remove id 5 BSSID 9c:97:26:34:b7:cd SSID 'Vodafone-34B7CD' due to wpa_bss_flush wlan0: BSS: Remove id 6 BSSID 00:05:ca:64:7b:e8 SSID 'ZON-7BE0' due to wpa_bss_flush wlan0: BSS: Remove id 7 BSSID 26:ec:99:39:4a:13 SSID 'MEO-WiFi' due to wpa_bss_flush wlan0: BSS: Remove id 8 BSSID 00:05:ca:64:7b:e9 SSID 'FON_ZON_FREE_INTERNET' due to wpa_bss_flush wlan0: Cancelling scan request wlan0: Cancelling authentication timeout wpa_driver_bsd_set_wpa: enabled=0 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 bsd_set_opt_ie: set WPA+RSN ie (len 0) ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=0 wlan0: CTRL-EVENT-TERMINATING From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 29 23:11:38 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50CB3A96 for ; Tue, 29 Jul 2014 23:11:38 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBA262471 for ; Tue, 29 Jul 2014 23:11:37 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id f8so1368773wiw.6 for ; Tue, 29 Jul 2014 16:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=MGIkC5wPCqvZOuh6o/+9OKt/A+dHlRI2VKwVBZF0xno=; b=OsJLWoLhp4/T7ZOEuXeJrp9Bq1ozUMgIgULUSyewVheqsT1+ermnlJzh3PFcos04KD KmksT0VdCQFLDrQKT6tlA/rUUBdeWIpJnAp136p8BIsj8kbb6ayqEvLbf6IK4UppPtkO yNFapbktITIZc81sO2Jrv57p4FJFjef2c0iNnebKnIk0WuqzBbCK9nzq+Le/oM0EVOTh AHrbUpZYUIheYzHQF+rC3WZgZbVJA0namF8r7gr/9UD8LXZI7OCyO3pvk6hOO65m9uiw s4ciH5cl6/GXgnfnTNmu65PTU1Ozbq6GKTKtcPOziow/lVaH7oUJFH86DXb2bH7sjeCO DgXw== X-Received: by 10.180.104.163 with SMTP id gf3mr1540118wib.24.1406675496254; Tue, 29 Jul 2014 16:11:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.195.12.134 with HTTP; Tue, 29 Jul 2014 16:11:16 -0700 (PDT) In-Reply-To: References: From: Miguel Clara Date: Wed, 30 Jul 2014 00:11:16 +0100 Message-ID: Subject: Re: FreeBSD current RT3071 can't connect to 5G network To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 29 Jul 2014 23:11:38 -0000 Also just noticed that even if it conencts to the 2.4g the performence is very low, I also tested in my main Laptop with FreeeBSD 10, same result. Simple iperf tests on my main laptop: Client connecting to RALINK CARD IP, TCP port 5001 TCP window size: 3.07 MByte (default) ------------------------------------------------------------ [ 3] local 10.10.50.50 port 65530 connected with 10.10.50.8 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 27.1 MBytes 22.7 Mbits/sec Client connecting to ath(Atheros AR946x/AR948x>) CARD IP, TCP port 5001 TCP window size: 3.07 MByte (default) ------------------------------------------------------------ [ 3] local 10.10.50.50 port 65528 connected with 10.10.50.70 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 94.8 MBytes 79.4 Mbits/sec Thanks From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 30 04:43:09 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5934F0E; Wed, 30 Jul 2014 04:43:09 +0000 (UTC) Received: from systemdatarecorder.org (mail.systemdatarecorder.org [54.246.96.61]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "localhost" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 612BE253A; Wed, 30 Jul 2014 04:43:08 +0000 (UTC) Received: from nereid (84-253-211-213.bb.dnainternet.fi [84.253.211.213]) (authenticated bits=0) by systemdatarecorder.org (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s6U4evTM023797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 30 Jul 2014 04:40:57 GMT Date: Wed, 30 Jul 2014 07:42:59 +0300 From: Stefan Parvu To: Adrian Chadd Subject: Re: Centrino Advanced-N 6235 on Asus Zenbook UX32VD poor performance Message-Id: <20140730074259.cdf8e0d7ac88f2bcff1c63b8@systemdatarecorder.org> In-Reply-To: References: <20140729215327.832f04499819e3eab8369877@systemdatarecorder.org> Organization: systemdatarecorder.org X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 30 Jul 2014 04:43:09 -0000 > I think I have a 6235 here but I don't have an antenna connection for > it so I can test it. It's the one that's smaller than u.fl, which is > freaking annoying. > (Someone may have to send me a laptop with this NIC in it so I can fix it up..) Cant send you my laptop, Im using it everyday for my job. But I can help if you need access to my system, for testing. Dont you guys get any support from Intel ? Anyone from Intel writing drivers for FreeBSD or are they 100% Linux ? -- Stefan Parvu From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 31 20:05:08 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 091883DE for ; Thu, 31 Jul 2014 20:05:08 +0000 (UTC) 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 50A7A2103 for ; Thu, 31 Jul 2014 20:05:06 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPS id AC767D0CC1E for ; Thu, 31 Jul 2014 22:04:50 +0200 (SAST) From: Johann Hugo To: freebsd-wireless@freebsd.org Subject: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 Date: Thu, 31 Jul 2014 22:04:48 +0204 Message-ID: <5520556.ca3p8qHkHk@jeep> User-Agent: KMail/4.9.3 (FreeBSD/9.1-RELEASE; KDE/4.9.3; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 31 Jul 2014 20:05:08 -0000 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 root@magrathea.meraka.csir.co.za:/scratch/9-stable- old/obj/arm.armeb/var/scratch/9-stable-old/src/sys/SMALL-CAMBRIA arm dmesg ath1: 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 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 media: IEEE 802.11 Wireless Ethernet autoselect mode 11a 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: 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 root@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 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 status: running nd6 options=21 From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 31 20:43:35 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E8D4353 for ; Thu, 31 Jul 2014 20:43:35 +0000 (UTC) Received: from mail-qg0-x234.google.com (mail-qg0-x234.google.com [IPv6:2607:f8b0:400d:c04::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5125125A2 for ; Thu, 31 Jul 2014 20:43:35 +0000 (UTC) Received: by mail-qg0-f52.google.com with SMTP id f51so4720500qge.11 for ; Thu, 31 Jul 2014 13:43:34 -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:message-id:subject :from:to:cc:content-type; bh=XtYi9yiGU9f5tSUdeyi6Nz9/NR6ksIt8MyGnIozUSIg=; b=vvOh6Ce3J2oQluxEfX3R8WVUnCBxVSlHkkPbguiimn5vWwjO2X4Wf9UxE8M4cnAfL+ z40cjxgszj99PDCK2BjbN7Wv7JJ0UKabKpBaz73JQ1REZ21duSlziMrQFxHhAhVeJqVv Gg4rQ2SWDTLeEsZT+pYM5BDGwml77cvXS/2yQY750KQd/iT/AdMT6ZXuX7O9kTuDrsgg DSpFH74hiAurVpddq/dPrYOtI1ScjbPeaZc+KJWbhvLj7Se6/O0EZ3K3V8XDjOxTNuwH GU9Jr99cURoCVokIG7dFYX8L4+7f4vhV480HXZUxefI0yRxmykup+1Py1X/WFM5vxz6/ N7+w== MIME-Version: 1.0 X-Received: by 10.140.93.161 with SMTP id d30mr1107406qge.53.1406839414443; Thu, 31 Jul 2014 13:43:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Thu, 31 Jul 2014 13:43:34 -0700 (PDT) In-Reply-To: <5520556.ca3p8qHkHk@jeep> References: <5520556.ca3p8qHkHk@jeep> Date: Thu, 31 Jul 2014 13:43:34 -0700 X-Google-Sender-Auth: VqHdI2wIQ_7lza_idonUKE6LA4g Message-ID: Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 31 Jul 2014 20:43:35 -0000 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. The RSSI's look fine. So there's likely something else odd going on -a On 31 July 2014 13:00, Johann Hugo 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 root@magrathea.meraka.csir.co.za:/scratch/9-stable- > old/obj/arm.armeb/var/scratch/9-stable-old/src/sys/SMALL-CAMBRIA arm > > dmesg > ath1: 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 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 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a > 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: 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 root@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 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 > status: running > nd6 options=21 > > _______________________________________________ > 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 Jul 31 21:19:12 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A8C9415; Thu, 31 Jul 2014 21:19:12 +0000 (UTC) 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 CD05A28F7; Thu, 31 Jul 2014 21:19:10 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPS id 4EB9DD0CC0C; Thu, 31 Jul 2014 23:18:57 +0200 (SAST) From: Johann Hugo To: Adrian Chadd Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 Date: Thu, 31 Jul 2014 23:18:54 +0204 Message-ID: <2432139.WPHcFAQKmt@jeep> User-Agent: KMail/4.9.3 (FreeBSD/9.1-RELEASE; KDE/4.9.3; amd64; ; ) In-Reply-To: References: <5520556.ca3p8qHkHk@jeep> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 31 Jul 2014 21:19:12 -0000 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 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 root@magrathea.meraka.csir.co.za:/scratch/9-stable- > > old/obj/arm.armeb/var/scratch/9-stable-old/src/sys/SMALL-CAMBRIA arm > > > > dmesg > > ath1: 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 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 > > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a > > 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: 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 root@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 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 > > status: running > > nd6 options=21 > > > > _______________________________________________ > > 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 Jul 31 21:29:57 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E1BA824 for ; Thu, 31 Jul 2014 21:29:57 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C306E2A02 for ; Thu, 31 Jul 2014 21:29:56 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id j15so2991231qaq.1 for ; Thu, 31 Jul 2014 14:29:55 -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:message-id:subject :from:to:cc:content-type; bh=0+dZSYSvBTORvMAFZsx5i8LQmG0XjvLqZv/iQXf3uVs=; b=cd8eGpI9suFehVNp5BRgOqqpZCnuWr2aAAjDcj+kheRnZEtw5T1Qw3yaeBG+RVn94+ E4gIOrT0BLz/4ek0wdB6p6t0BhduoKt0jWux9dZf1V2kP3DfNnTzvknKso6U+py0i3s6 tDvqV7V16bLdH7Zwe8vMJxsw0OV3Z05ZoZUOBd5kpmiMGkZStwyJxfaGC4BXfj5ZTesD vfPdGrryO99TGO2KKwnVdwR1UGP5ExuYoR6j8CBQDuwEjvvDEMK2hYINni2ddpgistWn nrgDnBgASZO4K8uje4NYLYjisKa4aSPBiFibXLriBLPDNuh2A6SbtDfQwKdBepQSsCxT MDIA== MIME-Version: 1.0 X-Received: by 10.224.161.83 with SMTP id q19mr1732117qax.26.1406842195700; Thu, 31 Jul 2014 14:29:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Thu, 31 Jul 2014 14:29:55 -0700 (PDT) In-Reply-To: <2432139.WPHcFAQKmt@jeep> References: <5520556.ca3p8qHkHk@jeep> <2432139.WPHcFAQKmt@jeep> Date: Thu, 31 Jul 2014 14:29:55 -0700 X-Google-Sender-Auth: jeI2iItlnmrlhtZ_VkJF45WdFHg Message-ID: Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 31 Jul 2014 21:29:57 -0000 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. -a On 31 July 2014 14:14, Johann Hugo 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 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 root@magrathea.meraka.csir.co.za:/scratch/9-stable- > >> > old/obj/arm.armeb/var/scratch/9-stable-old/src/sys/SMALL-CAMBRIA arm > >> > > >> > dmesg > >> > ath1: 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 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 > >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a > >> > 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: 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 root@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 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 > >> > status: running > >> > nd6 options=21 > >> > > >> > _______________________________________________ > >> > 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 Jul 31 21:44:51 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7BD8D5E; Thu, 31 Jul 2014 21:44:51 +0000 (UTC) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [146.64.28.1]) by mx1.freebsd.org (Postfix) with ESMTP id B19CA2BA5; Thu, 31 Jul 2014 21:44:49 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPS id B5557D0CC0B; Thu, 31 Jul 2014 23:44:41 +0200 (SAST) From: Johann Hugo To: Adrian Chadd Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 Date: Thu, 31 Jul 2014 23:44:36 +0204 Message-ID: <1890035.BzIg6FQn3L@jeep> User-Agent: KMail/4.9.3 (FreeBSD/9.1-RELEASE; KDE/4.9.3; amd64; ; ) In-Reply-To: References: <5520556.ca3p8qHkHk@jeep> <2432139.WPHcFAQKmt@jeep> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 31 Jul 2014 21:44:52 -0000 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 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 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 root@magrathea.meraka.csir.co.za:/scratch/9-stable- > > > >> > old/obj/arm.armeb/var/scratch/9-stable-old/src/sys/SMALL-CAMBRIA arm > > > >> > > > > >> > dmesg > > > >> > ath1: 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 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 > > > >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a > > > >> > 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: 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 root@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 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 > > > >> > status: running > > > >> > nd6 options=21 > > > >> > > > > >> > _______________________________________________ > > > >> > 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 Jul 31 22:01:05 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43A5F1D2; Thu, 31 Jul 2014 22:01:05 +0000 (UTC) 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 569002EB9; Thu, 31 Jul 2014 22:01:03 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPS id 73517D0CC14; Fri, 1 Aug 2014 00:00:48 +0200 (SAST) From: Johann Hugo To: Adrian Chadd Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 Date: Fri, 01 Aug 2014 00:00:42 +0204 Message-ID: <2355251.gdJNgdnIzD@jeep> User-Agent: KMail/4.9.3 (FreeBSD/9.1-RELEASE; KDE/4.9.3; amd64; ; ) In-Reply-To: References: <5520556.ca3p8qHkHk@jeep> <2432139.WPHcFAQKmt@jeep> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 31 Jul 2014 22:01:05 -0000 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. Forgot to mention that I only see the problem on cards with an Atheros 9220 chipset and not on older ones with an Atheros 5413 chipset. > > > -a > > > On 31 July 2014 14:14, Johann Hugo 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 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 root@magrathea.meraka.csir.co.za:/scratch/9-stable- > > > >> > old/obj/arm.armeb/var/scratch/9-stable-old/src/sys/SMALL-CAMBRIA arm > > > >> > > > > >> > dmesg > > > >> > ath1: 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 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 > > > >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a > > > >> > 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: 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 root@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 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 > > > >> > status: running > > > >> > nd6 options=21 > > > >> > > > > >> > _______________________________________________ > > > >> > 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 Jul 31 23:01:57 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BA5FAF2 for ; Thu, 31 Jul 2014 23:01:57 +0000 (UTC) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D11026CE for ; Thu, 31 Jul 2014 23:01:57 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id cm18so3069381qab.18 for ; Thu, 31 Jul 2014 16:01:56 -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:message-id:subject :from:to:cc:content-type; bh=La56r4HN7TZR8W38O5YVNudRi+sR1MF1/VpjU4IWEco=; b=v7hLMks8U49CScEN0T1glXF8fdYPEQ2I8DOtULzvZI2VK/FU5stTpyX8GE4lZOeva2 q5N1gsOBz5uxRzGTwkny+zBIShMIFF9X5BgkrNWSNxx1RAtkFDcGKXqbxdEePgUU5wPL mV2GEAJHKsqKnbE7WagcpuqApxq8R3Jw4Hfjq+7UBC6P0hENDklfWMbOvD222A4BwlBO r1dcVyvUdNTgzGjRl4yj2RveER3JNcrEySxx7TSRjWKDy6zZrZwlk4R2IhMqEM/TFKA9 CNw0JRCMiEqMZyU+lwdeA1EHnpr0+8DmLFpFzNZTIBe2faFDLt+qWLbSPHdmMJ1Henbj B20Q== MIME-Version: 1.0 X-Received: by 10.140.92.13 with SMTP id a13mr2219765qge.88.1406847716413; Thu, 31 Jul 2014 16:01:56 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Thu, 31 Jul 2014 16:01:56 -0700 (PDT) In-Reply-To: <2355251.gdJNgdnIzD@jeep> References: <5520556.ca3p8qHkHk@jeep> <2432139.WPHcFAQKmt@jeep> <2355251.gdJNgdnIzD@jeep> Date: Thu, 31 Jul 2014 16:01:56 -0700 X-Google-Sender-Auth: bfq7iarzGJysRN4j3VttIFcu29c Message-ID: Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 31 Jul 2014 23:01:57 -0000 On 31 July 2014 14:56, Johann Hugo wrote: > 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. > > > > Forgot to mention that I only see the problem on cards with an Atheros 9220 > chipset and not on older ones with an Atheros 5413 chipset. > > > Right, but the main changes to the ANI code occured with the 11n HAL, not with the pre-11n chips. There's also changes to the initval arrays used in chip initailisation. That may have changed things. -a From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 1 09:24:53 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F552804; Fri, 1 Aug 2014 09:24:53 +0000 (UTC) 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 704662128; Fri, 1 Aug 2014 09:24:51 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by marge.meraka.csir.co.za (Postfix) with ESMTPS id 30B8FD0CC06; Fri, 1 Aug 2014 11:24:36 +0200 (SAST) From: Johann Hugo To: Adrian Chadd Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 Date: Fri, 01 Aug 2014 11:24:35 +0204 Message-ID: <1495468.yhTHqENs3S@jeep> User-Agent: KMail/4.9.3 (FreeBSD/9.1-RELEASE; KDE/4.9.3; amd64; ; ) In-Reply-To: References: <5520556.ca3p8qHkHk@jeep> <2355251.gdJNgdnIzD@jeep> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 01 Aug 2014 09:24:53 -0000 Hi Is it possible to disable ANI ? How should we go about to narrow down the problem ? -------------------------------------------- FreeBSD 11.0-CURRENT (Looks like crcerr is not updating) mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1 input output altrate short long xretry crcerr crypt phyerr rssi rate 2994 248 0 0 18 3 0 0 0 44 54M 11 1 0 0 0 0 0 0 0 44 54M 11 0 0 0 0 0 0 0 0 42 54M 11 1 0 0 0 0 0 0 0 44 54M 11 0 0 0 0 0 0 0 0 44 54M 11 1 0 0 0 0 0 0 0 43 54M 11 0 0 0 0 0 0 0 0 44 54M 10 1 0 0 0 0 0 0 0 45 54M 12 1 0 0 0 0 0 0 0 44 54M 11 1 0 0 0 0 0 0 0 42 54M 11 1 0 0 0 0 0 0 0 44 54M 12 0 0 0 0 0 0 0 0 42 54M 11 1 0 0 0 0 0 0 0 43 54M 11 0 0 0 0 0 0 0 0 44 54M 12 1 0 0 0 0 0 0 0 42 54M 11 1 0 0 13 1 0 0 0 43 36M 10 1 0 0 0 0 0 0 0 44 36M 12 1 0 0 0 0 0 0 0 43 36M 10 1 0 0 13 1 0 0 0 44 54M 11 1 0 0 0 0 0 0 0 44 54M 12 2 0 0 11 1 0 0 0 43 12M input output altrate short long xretry crcerr crypt phyerr rssi rate 3230 272 0 0 66 7 0 0 0 44 9M 12 2 0 0 13 1 0 0 0 43 24M 11 1 0 0 0 0 0 0 0 42 24M 12 2 0 0 0 0 0 0 0 43 54M 11 1 0 0 0 0 0 0 0 43 54M 12 1 0 0 0 0 0 0 0 42 54M 11 0 0 0 0 0 0 0 0 43 54M 10 1 0 0 0 0 0 0 0 43 54M 11 1 0 0 0 0 0 0 0 42 54M 9 0 0 0 0 0 0 0 0 43 54M 11 1 0 0 0 0 0 0 0 43 54M 14 3 0 0 0 0 0 0 0 37 54M 11 0 0 0 0 0 0 0 0 42 54M 10 1 0 0 0 0 0 0 0 44 54M 11 0 0 0 0 0 0 0 0 44 54M 10 1 0 0 0 0 0 0 0 44 54M 11 0 0 0 0 0 0 0 0 44 54M 10 1 0 0 0 0 0 0 0 45 54M 11 1 0 0 0 0 0 0 0 45 54M 11 0 0 0 0 0 0 0 0 45 54M 10 1 0 0 0 0 0 0 0 45 54M input output altrate short long xretry crcerr crypt phyerr rssi rate 3460 290 0 0 79 8 0 0 0 44 54M 10 1 0 0 0 0 0 0 0 44 54M 11 0 0 0 0 0 0 0 0 41 54M 11 1 0 0 0 0 0 0 0 43 54M 10 1 0 0 0 0 0 0 0 44 54M 11 0 0 0 0 0 0 0 0 44 54M 12 2 0 0 0 0 0 0 0 42 54M 11 0 0 0 0 0 0 0 0 43 54M 11 1 0 0 0 0 0 0 0 43 54M 12 0 0 0 0 0 0 0 0 42 54M ----------------------------------------- FreeBSD 9.0-STABLE mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1 input output altrate short long xretry crcerr crypt phyerr rssi rate 1315335 48744 431 0 10204 865 630698 0 0 27 12M 38 0 0 0 0 0 13 0 0 21 12M 34 1 0 0 0 0 14 0 0 24 12M 28 0 0 0 0 0 14 0 0 27 12M 44 8 0 0 1 0 13 0 0 23 12M 43 1 0 0 0 0 9 0 0 23 12M 33 1 0 0 0 0 11 0 0 27 12M 36 1 0 0 0 0 16 0 0 22 12M 30 0 0 0 0 0 21 0 0 26 12M 42 5 0 0 1 0 18 0 0 23 12M 34 3 0 0 0 0 9 0 0 23 12M 32 0 0 0 0 0 20 0 0 23 12M 31 3 0 0 0 0 18 0 0 25 12M 27 1 0 0 0 0 18 0 0 29 54M 40 2 0 0 0 0 16 0 0 23 54M 40 3 0 0 0 0 12 0 0 21 54M 37 2 0 0 0 0 15 0 0 24 54M 34 1 0 0 0 0 12 0 0 26 54M 44 2 0 0 0 0 7 0 0 24 54M 60 1 0 0 0 0 19 0 0 24 54M 41 0 0 0 0 0 11 0 0 24 54M input output altrate short long xretry crcerr crypt phyerr rssi rate 1316118 48780 431 0 10206 865 630996 0 0 23 54M 39 1 0 0 0 0 12 0 0 21 54M 42 2 0 0 0 0 10 0 0 22 6M 36 2 0 0 2 0 15 0 0 21 6M 41 0 0 0 0 0 9 0 0 23 6M 34 1 0 0 0 0 7 0 0 26 6M 30 0 0 0 0 0 16 0 0 26 6M 36 3 0 0 0 0 15 0 0 22 6M 45 0 0 0 0 0 26 0 0 26 6M 38 3 0 0 2 0 18 0 0 21 6M 38 1 0 0 0 0 13 0 0 25 6M 36 0 0 0 0 0 13 0 0 20 6M 27 2 0 0 0 0 20 0 0 24 6M 39 1 0 0 0 0 15 0 0 21 6M 40 2 0 0 0 0 13 0 0 23 6M 38 0 0 0 0 0 8 0 0 24 6M 35 3 0 0 6 1 18 0 0 23 6M 34 1 0 0 0 0 11 0 0 22 6M 48 0 0 0 0 0 23 0 0 24 6M 35 1 0 0 0 0 8 0 0 24 6M 34 2 0 0 0 0 14 0 0 20 6M input output altrate short long xretry crcerr crypt phyerr rssi rate 1316889 48805 431 0 10216 866 631303 0 0 27 6M 41 1 0 0 0 0 15 0 0 24 6M 28 0 0 0 0 0 13 0 0 24 6M 36 3 0 0 0 0 12 0 0 23 6M 27 1 0 0 0 0 12 0 0 25 6M 26 0 0 0 0 0 12 0 0 28 6M 20 1 0 0 0 0 15 0 0 29 6M 40 0 0 0 0 0 28 0 0 27 6M On Thursday 31 July 2014 16:01:56 Adrian Chadd wrote: > On 31 July 2014 14:56, Johann Hugo wrote: > > 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. > > > > > > > > Forgot to mention that I only see the problem on cards with an Atheros 9220 > > chipset and not on older ones with an Atheros 5413 chipset. > > > > > > > > Right, but the main changes to the ANI code occured with the 11n HAL, > not with the pre-11n chips. > > There's also changes to the initval arrays used in chip > initailisation. That may have changed things. > > > -a From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 1 17:56:06 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABF406A7 for ; Fri, 1 Aug 2014 17:56:06 +0000 (UTC) Received: from mail-qg0-x229.google.com (mail-qg0-x229.google.com [IPv6:2607:f8b0:400d:c04::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AED12067 for ; Fri, 1 Aug 2014 17:56:06 +0000 (UTC) Received: by mail-qg0-f41.google.com with SMTP id q107so6091050qgd.0 for ; Fri, 01 Aug 2014 10:56:05 -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:message-id:subject :from:to:cc:content-type; bh=g10c7738Tzx7RorjtCpmmQ09s/e73DUOjLuzp2YDEnk=; b=BRBppuAI6LcQOzHf84zFjlfXzcyoqR5cfYWJzVcw2mbHiTQztkXuOK+MlZCnUndZ4h oIrlelVo0ZVGYdSrMjRoSPUpGxdahFpfN9hYhmFbIsiHXyRvldM7EBiH8jrLFTM2Iwdd gCwo+ztJPvdSIc3QZs3418XX6hpaIIS74WrKkAPP6TLIMhXKCNBXZXj9kWkihyzMpXoO 3Sh0ekFschy5mbWmnEonfwHL5qV77t1WPQYlmhYUQMqnEeFo9tDJonaxsRTq11sFmHnf 1hqsf47OMgZuqBIK8hMa7tPp16kVMHo0XTSo0IyjwDBg5/iZlNUxYmQc7vMfooqyfnDJ RxBA== MIME-Version: 1.0 X-Received: by 10.224.55.131 with SMTP id u3mr11526111qag.98.1406915765477; Fri, 01 Aug 2014 10:56:05 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Fri, 1 Aug 2014 10:56:05 -0700 (PDT) In-Reply-To: <1495468.yhTHqENs3S@jeep> References: <5520556.ca3p8qHkHk@jeep> <2355251.gdJNgdnIzD@jeep> <1495468.yhTHqENs3S@jeep> Date: Fri, 1 Aug 2014 10:56:05 -0700 X-Google-Sender-Auth: 4hgPpWIJYFv9Tjc7tW5HBF0b94o Message-ID: Subject: Re: Ath - clients with weak signals not working after upgrade to FreeBSD 11.0 From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 01 Aug 2014 17:56:06 -0000 Well, step #1 would be to run the freebsd-9 ath(4) driver in the later freebsd version. If you're able to shoehorn that in, let's see if that's the case. -a On 1 August 2014 02:20, Johann Hugo wrote: > Hi > > > > Is it possible to disable ANI ? > > > > How should we go about to narrow down the problem ? > > > > -------------------------------------------- > > > > FreeBSD 11.0-CURRENT (Looks like crcerr is not updating) > > > > mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1 > > input output altrate short long xretry crcerr crypt phyerr rssi rate > > 2994 248 0 0 18 3 0 0 0 44 54M > > 11 1 0 0 0 0 0 0 0 44 54M > > 11 0 0 0 0 0 0 0 0 42 54M > > 11 1 0 0 0 0 0 0 0 44 54M > > 11 0 0 0 0 0 0 0 0 44 54M > > 11 1 0 0 0 0 0 0 0 43 54M > > 11 0 0 0 0 0 0 0 0 44 54M > > 10 1 0 0 0 0 0 0 0 45 54M > > 12 1 0 0 0 0 0 0 0 44 54M > > 11 1 0 0 0 0 0 0 0 42 54M > > 11 1 0 0 0 0 0 0 0 44 54M > > 12 0 0 0 0 0 0 0 0 42 54M > > 11 1 0 0 0 0 0 0 0 43 54M > > 11 0 0 0 0 0 0 0 0 44 54M > > 12 1 0 0 0 0 0 0 0 42 54M > > 11 1 0 0 13 1 0 0 0 43 36M > > 10 1 0 0 0 0 0 0 0 44 36M > > 12 1 0 0 0 0 0 0 0 43 36M > > 10 1 0 0 13 1 0 0 0 44 54M > > 11 1 0 0 0 0 0 0 0 44 54M > > 12 2 0 0 11 1 0 0 0 43 12M > > input output altrate short long xretry crcerr crypt phyerr rssi rate > > 3230 272 0 0 66 7 0 0 0 44 9M > > 12 2 0 0 13 1 0 0 0 43 24M > > 11 1 0 0 0 0 0 0 0 42 24M > > 12 2 0 0 0 0 0 0 0 43 54M > > 11 1 0 0 0 0 0 0 0 43 54M > > 12 1 0 0 0 0 0 0 0 42 54M > > 11 0 0 0 0 0 0 0 0 43 54M > > 10 1 0 0 0 0 0 0 0 43 54M > > 11 1 0 0 0 0 0 0 0 42 54M > > 9 0 0 0 0 0 0 0 0 43 54M > > 11 1 0 0 0 0 0 0 0 43 54M > > 14 3 0 0 0 0 0 0 0 37 54M > > 11 0 0 0 0 0 0 0 0 42 54M > > 10 1 0 0 0 0 0 0 0 44 54M > > 11 0 0 0 0 0 0 0 0 44 54M > > 10 1 0 0 0 0 0 0 0 44 54M > > 11 0 0 0 0 0 0 0 0 44 54M > > 10 1 0 0 0 0 0 0 0 45 54M > > 11 1 0 0 0 0 0 0 0 45 54M > > 11 0 0 0 0 0 0 0 0 45 54M > > 10 1 0 0 0 0 0 0 0 45 54M > > input output altrate short long xretry crcerr crypt phyerr rssi rate > > 3460 290 0 0 79 8 0 0 0 44 54M > > 10 1 0 0 0 0 0 0 0 44 54M > > 11 0 0 0 0 0 0 0 0 41 54M > > 11 1 0 0 0 0 0 0 0 43 54M > > 10 1 0 0 0 0 0 0 0 44 54M > > 11 0 0 0 0 0 0 0 0 44 54M > > 12 2 0 0 0 0 0 0 0 42 54M > > 11 0 0 0 0 0 0 0 0 43 54M > > 11 1 0 0 0 0 0 0 0 43 54M > > 12 0 0 0 0 0 0 0 0 42 54M > > > > ----------------------------------------- > > > > FreeBSD 9.0-STABLE > > > > mesh-6c9a:~ # athstats -i ath1 anistats -o ani 1 > > input output altrate short long xretry crcerr crypt phyerr rssi rate > > 1315335 48744 431 0 10204 865 630698 0 0 27 12M > > 38 0 0 0 0 0 13 0 0 21 12M > > 34 1 0 0 0 0 14 0 0 24 12M > > 28 0 0 0 0 0 14 0 0 27 12M > > 44 8 0 0 1 0 13 0 0 23 12M > > 43 1 0 0 0 0 9 0 0 23 12M > > 33 1 0 0 0 0 11 0 0 27 12M > > 36 1 0 0 0 0 16 0 0 22 12M > > 30 0 0 0 0 0 21 0 0 26 12M > > 42 5 0 0 1 0 18 0 0 23 12M > > 34 3 0 0 0 0 9 0 0 23 12M > > 32 0 0 0 0 0 20 0 0 23 12M > > 31 3 0 0 0 0 18 0 0 25 12M > > 27 1 0 0 0 0 18 0 0 29 54M > > 40 2 0 0 0 0 16 0 0 23 54M > > 40 3 0 0 0 0 12 0 0 21 54M > > 37 2 0 0 0 0 15 0 0 24 54M > > 34 1 0 0 0 0 12 0 0 26 54M > > 44 2 0 0 0 0 7 0 0 24 54M > > 60 1 0 0 0 0 19 0 0 24 54M > > 41 0 0 0 0 0 11 0 0 24 54M > > input output altrate short long xretry crcerr crypt phyerr rssi rate > > 1316118 48780 431 0 10206 865 630996 0 0 23 54M > > 39 1 0 0 0 0 12 0 0 21 54M > > 42 2 0 0 0 0 10 0 0 22 6M > > 36 2 0 0 2 0 15 0 0 21 6M > > 41 0 0 0 0 0 9 0 0 23 6M > > 34 1 0 0 0 0 7 0 0 26 6M > > 30 0 0 0 0 0 16 0 0 26 6M > > 36 3 0 0 0 0 15 0 0 22 6M > > 45 0 0 0 0 0 26 0 0 26 6M > > 38 3 0 0 2 0 18 0 0 21 6M > > 38 1 0 0 0 0 13 0 0 25 6M > > 36 0 0 0 0 0 13 0 0 20 6M > > 27 2 0 0 0 0 20 0 0 24 6M > > 39 1 0 0 0 0 15 0 0 21 6M > > 40 2 0 0 0 0 13 0 0 23 6M > > 38 0 0 0 0 0 8 0 0 24 6M > > 35 3 0 0 6 1 18 0 0 23 6M > > 34 1 0 0 0 0 11 0 0 22 6M > > 48 0 0 0 0 0 23 0 0 24 6M > > 35 1 0 0 0 0 8 0 0 24 6M > > 34 2 0 0 0 0 14 0 0 20 6M > > input output altrate short long xretry crcerr crypt phyerr rssi rate > > 1316889 48805 431 0 10216 866 631303 0 0 27 6M > > 41 1 0 0 0 0 15 0 0 24 6M > > 28 0 0 0 0 0 13 0 0 24 6M > > 36 3 0 0 0 0 12 0 0 23 6M > > 27 1 0 0 0 0 12 0 0 25 6M > > 26 0 0 0 0 0 12 0 0 28 6M > > 20 1 0 0 0 0 15 0 0 29 6M > > 40 0 0 0 0 0 28 0 0 27 6M > > > > On Thursday 31 July 2014 16:01:56 Adrian Chadd wrote: > >> On 31 July 2014 14:56, Johann Hugo wrote: > >> > 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. > >> > > >> > > >> > > >> > Forgot to mention that I only see the problem on cards with an Atheros >> > 9220 > >> > chipset and not on older ones with an Atheros 5413 chipset. > >> > > >> > > >> > > >> > >> Right, but the main changes to the ANI code occured with the 11n HAL, > >> not with the pre-11n chips. > >> > >> There's also changes to the initval arrays used in chip > >> initailisation. That may have changed things. > >> > >> > >> -a