From owner-freebsd-wireless@FreeBSD.ORG Fri Feb 22 17:58:15 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4ED512C0; Fri, 22 Feb 2013 17:58:15 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mx.techwires.net (mx.techwires.net [79.140.39.242]) by mx1.freebsd.org (Postfix) with ESMTP id 19A8BEFF; Fri, 22 Feb 2013 17:58:14 +0000 (UTC) Received: from amy.lab.techwires.net (dslb-088-067-212-155.pools.arcor-ip.net [88.67.212.155]) by mx.techwires.net (Postfix) with ESMTPSA id AB6B430A7B3; Fri, 22 Feb 2013 18:58:12 +0100 (CET) From: Bernhard Schmidt To: PseudoCylon Subject: Re: kern/176201: [net80211] [patch] 11n station includes unrelated ht params into ASSOC_REQ packet Date: Fri, 22 Feb 2013 18:59:31 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) References: <201302180246.r1I2kocv064092@freefall.freebsd.org> In-Reply-To: <201302180246.r1I2kocv064092@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201302221859.31446.bschmidt@techwires.net> Cc: freebsd-bugs@freebsd.org, freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 17:58:15 -0000 The patch effectively reverts a previous change, which was to cap rxmax and density by what the AP is capable of. I think the better approach would be to initialize rxmax and density with the VAP capabilities before the condition and use MIN() in STA mode to limit to AP caps. -- Bernhard