From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 29 04:00:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.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 ESMTP id C82002ED for ; Tue, 29 Oct 2013 04:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F1B3251B for ; Tue, 29 Oct 2013 04:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9T400O7097876 for ; Tue, 29 Oct 2013 04:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9T400iF097875; Tue, 29 Oct 2013 04:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 29 Oct 2013 04:00:00 GMT Resent-Message-Id: <201310290400.r9T400iF097875@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adrian Chadd 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 ESMTP id 877DC2CE for ; Tue, 29 Oct 2013 03:56:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 74A622505 for ; Tue, 29 Oct 2013 03:56:10 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9T3uAMS019708 for ; Tue, 29 Oct 2013 03:56:10 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9T3uAQN019696; Tue, 29 Oct 2013 03:56:10 GMT (envelope-from nobody) Message-Id: <201310290356.r9T3uAQN019696@oldred.freebsd.org> Date: Tue, 29 Oct 2013 03:56:10 GMT From: Adrian Chadd To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/183428: [net80211] [iwn] Some APs seem to announce HT but no HT rates X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 04:00:00 -0000 >Number: 183428 >Category: kern >Synopsis: [net80211] [iwn] Some APs seem to announce HT but no HT rates >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 29 04:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Adrian Chadd >Release: -HEAD >Organization: >Environment: >Description: I just came across an 802.11n AP that doesn't announce 802.11n rates. The net80211 code dutifully sets the channel up as an 11n channel and populates the HT rate set as empty. So, amrr gets very confused when this occurs. And so does iwn. There's two things to fix: * amrr should not treat the node as 11n if there are no 11n rates; * iwn should not assume that if the channel is 11n, that the rate is an MCS rate. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: