From owner-svn-src-all@FreeBSD.ORG Mon Feb 18 01:09:00 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7A760D38; Mon, 18 Feb 2013 01:09:00 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5831C9; Mon, 18 Feb 2013 01:09:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1I190TW050544; Mon, 18 Feb 2013 01:09:00 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1I190ET050543; Mon, 18 Feb 2013 01:09:00 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201302180109.r1I190ET050543@svn.freebsd.org> From: Adrian Chadd Date: Mon, 18 Feb 2013 01:09:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246927 - head/sys/net80211 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 01:09:00 -0000 Author: adrian Date: Mon Feb 18 01:08:59 2013 New Revision: 246927 URL: http://svnweb.freebsd.org/changeset/base/246927 Log: Disable this code and add a note as to why. It wasn't currently being called anyway - but being explicit about it can't hurt. Modified: head/sys/net80211/ieee80211_adhoc.c Modified: head/sys/net80211/ieee80211_adhoc.c ============================================================================== --- head/sys/net80211/ieee80211_adhoc.c Mon Feb 18 01:02:48 2013 (r246926) +++ head/sys/net80211/ieee80211_adhoc.c Mon Feb 18 01:08:59 2013 (r246927) @@ -768,8 +768,23 @@ adhoc_recv_mgmt(struct ieee80211_node *n IEEE80211_RSSI_LPF(ni->ni_avgrssi, rssi); ni->ni_noise = nf; } + /* + * Same here - the channel width change should + * be applied to the specific peer node, not + * to the ic. Ie, the interface configuration + * should stay in its current channel width; + * but it should change the rate control and + * any queued frames for the given node only. + * + * Since there's no (current) way to inform + * the driver that a channel width change has + * occured for a single node, just stub this + * out. + */ +#if 0 if (ht_state_change) ieee80211_update_chw(ic); +#endif } break; }