From owner-freebsd-net@FreeBSD.ORG Sat Feb 6 21:52:18 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AAE11065670; Sat, 6 Feb 2010 21:52:18 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6F98FC14; Sat, 6 Feb 2010 21:52:18 +0000 (UTC) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id o16LqHVI024971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 6 Feb 2010 13:52:17 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <4B6DE491.8010901@errno.com> Date: Sat, 06 Feb 2010 13:52:17 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Alexander Egorenkov References: <2d3b7e441002060028i5b1fc665p92b10fa21d77284d@mail.gmail.com> <8F5F80D8-A262-49F4-B580-781A44D3190D@freebsd.org> <2d3b7e441002060658h49712201m464dac80208db369@mail.gmail.com> In-Reply-To: <2d3b7e441002060658h49712201m464dac80208db369@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org, Rui Paulo Subject: Re: HT rate set in net80211 not changeable for STA X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2010 21:52:18 -0000 Alexander Egorenkov wrote: > And is any API in planning that would make it possible to change the > advertised HT rate set by STA during run time and not at compile time ? E.g. > ieee80211_set_ht_rateset :-) > > On Sat, Feb 6, 2010 at 3:44 PM, Rui Paulo wrote: > >> On 6 Feb 2010, at 08:28, Alexander Egorenkov wrote: >> >>> Hi, >>> >>> the HT rate set advertized by a STA is hardcoded in net80211 >>> and the maximum MCS is 15, but my device also supports MCS32 (HT >> duplicate >>> mode). >>> Is there a possibility to change the HT rates set advertized by a STA >>> except changing >>> the code and recompiling net80211 stack ? >> Not really. The advertised rate set should be initially set according to the capabilities of the device. There were no devices > 2x2 when I wrote the code so MCS15 is the max. To support such devices you need to do more than just grow the rateset. Making the rate set user-controllable would be ok to add but probably used only for testing. Sam