From owner-freebsd-wireless@FreeBSD.ORG Fri Mar 13 02:59:24 2015 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6639BE6A for ; Fri, 13 Mar 2015 02:59:24 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CF979A4 for ; Fri, 13 Mar 2015 02:59:24 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2D2xOAF005752 for ; Fri, 13 Mar 2015 02:59:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 198556] ath(4) channel 'any' not working correctly Date: Fri, 13 Mar 2015 02:59:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: cmb@pfsense.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-1 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, 13 Mar 2015 02:59:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198556 Bug ID: 198556 Summary: ath(4) channel 'any' not working correctly Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: cmb@pfsense.org When configuring ath(4) with channel any, the interface always ends up in 11b mode only on channel 6. ath0_wlan0: flags=8843 metric 0 mtu 1500 ether 00:80:48:79:99:f2 inet6 fe80::280:48ff:fe79:99f2%ath0_wlan0 prefixlen 64 scopeid 0x9 inet 100.70.0.1 netmask 0xffffff00 broadcast 100.70.0.255 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11b status: running ssid APUtest channel 6 (2437 MHz 11b) bssid 00:80:48:79:99:f2 country US ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 27 scanvalid 60 wme burst -apbridge dtimperiod 1 -dfs If I configure any specific channel 1-11, and change nothing else, I end up with b/g/n as expected. ath0_wlan0: flags=8843 metric 0 mtu 1500 ether 00:80:48:79:99:f2 inet6 fe80::280:48ff:fe79:99f2%ath0_wlan0 prefixlen 64 scopeid 0x9 inet 100.70.0.1 netmask 0xffffff00 broadcast 100.70.0.255 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ssid APUtest channel 1 (2412 MHz 11g ht/40+) bssid 00:80:48:79:99:f2 country US ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 27 scanvalid 60 protmode OFF ampdulimit 64k ampdudensity 8 shortgi wme burst -apbridge dtimperiod 1 -dfs This has been verified on multiple systems in disparate locations with different ath cards. At least two locations with significant 2.4 GHz noise (a dozen up to a few dozen visible APs), and one location with minimal 2.4 GHz noise, with the exact same results. The above is the circumstance with -CURRENT. This also doesn't work in FreeBSD 10.1, though with different symptoms. It's completely broken and gets stuck in "no carrier" there with channel any. ath0_wlan0: flags=8c43 metric 0 mtu 1500 ether 00:80:48:79:99:f2 inet6 fe80::280:48ff:fe79:99f2%ath0_wlan0 prefixlen 64 scopeid 0x9 inet 100.64.0.1 netmask 0xffffff00 broadcast 100.64.0.255 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng (autoselect ) status: no carrier ssid asdfasfd channel 1 (2412 MHz 11b) country US ecm authmode WPA2/802.11i privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit txpower 27 scanvalid 60 wme burst -apbridge dtimperiod 1 -dfs I haven't tested anything other than ath(4) cards, so not sure if this is specific to ath or net80211 in general. -- You are receiving this mail because: You are the assignee for the bug.