From owner-freebsd-net@FreeBSD.ORG Tue Feb 23 12:12:54 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 7F9BD1065672; Tue, 23 Feb 2010 12:12:54 +0000 (UTC) (envelope-from egorenar@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id DCACA8FC15; Tue, 23 Feb 2010 12:12:53 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so846818eyd.9 for ; Tue, 23 Feb 2010 04:12:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IznPgTtdn/6Lh6eOkV07CESRuoXEPqVuOdKc/KSHyYM=; b=tvrA61J4/J6csRCIcBLVcHQZ3YqML0ERJ/nAuL9v7uy3OhMyPIgfE45u7OYkrme5n6 eNh7FpNf5ZgnYdAENp8Kx6AlO4YRNAvPaMa83fEB7viaUAGN0L4axRxGk6rrNsb/9UcD ayoQo/kjr7mpleQ5QhwoHR2b/0DLPU2NVDtmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rR2zPDVCmXa+1F1Ukw7trR6GXI+gch/8G5E8tG9pPiaLdTaIR357V5nqCzjmHIiXhv LtmlFvL5K/qyKFrC3TE/FnRJMozl2NsM3mCauDM8Ar1cFYOlw+1UdvSLOPZKQncbn1MM 1jazQgX7VI+hBPQoDQh2+a6kIiTUba4gHKaLk= MIME-Version: 1.0 Received: by 10.213.109.68 with SMTP id i4mr9920596ebp.43.1266927162854; Tue, 23 Feb 2010 04:12:42 -0800 (PST) In-Reply-To: <0FE9B65C-5612-411A-8EA8-24ABF57999BC@freebsd.org> References: <2d3b7e441002060028i5b1fc665p92b10fa21d77284d@mail.gmail.com> <8F5F80D8-A262-49F4-B580-781A44D3190D@freebsd.org> <2d3b7e441002060658h49712201m464dac80208db369@mail.gmail.com> <4B6DE491.8010901@errno.com> <2d3b7e441002070041waa8f968le66328ebeb7b163d@mail.gmail.com> <4B6F2A44.3010205@errno.com> <2d3b7e441002210235q5c6de2bvaedfa460fcb0766e@mail.gmail.com> <0FE9B65C-5612-411A-8EA8-24ABF57999BC@freebsd.org> Date: Tue, 23 Feb 2010 13:12:42 +0100 Message-ID: <2d3b7e441002230412n4df32e6dm872af957b368f816@mail.gmail.com> From: Alexander Egorenkov To: Rui Paulo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org 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: Tue, 23 Feb 2010 12:12:54 -0000 The problem is not on the AP side, the client sends with MCS32 because it's the last MCS in ni_htrates array of AP and the connection is good. AMRR increases the Tx rate to AP till MCS32 and then the client sends with MCS32. I changed AMRR a bit so it would skip MCS32 and it works fine now. I had to change AMRR anyway, because ieee80211_amrr.c doesn't support HT nodes. On Tue, Feb 23, 2010 at 1:01 PM, Rui Paulo wrote: > On 21 Feb 2010, at 10:35, Alexander Egorenkov wrote: > > > This MCS32 HT rate causes problems with AMRR. If the connection between a > > client and an AP is very good and the AP supports MCS32, the client keeps > > increasing the Tx rate upto MCS32 and then the problems begin because the > > client starts to send with MCS32. > > Can you change the bitrate mask in the HTINFO information element? If you > say that you don't support MCS32, the AP shouldn't use it. > > -- > Rui Paulo > >