From owner-freebsd-net@FreeBSD.ORG Sat Sep 26 18:48:49 2009 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 F27651065670 for ; Sat, 26 Sep 2009 18:48:49 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id C64DB8FC0C for ; Sat, 26 Sep 2009 18:48:49 +0000 (UTC) Received: from Macintosh-4.local (sam@[10.0.0.198]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n8QImm0t090452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Sep 2009 11:48:49 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4ABE620F.7000105@freebsd.org> Date: Sat, 26 Sep 2009 11:48:47 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Denis Shaposhnikov References: <20090921191327.045cf140@wizard.volgograd.ru> <20090921195011.2a1f5143@wizard.volgograd.ru> <4AB8FEB3.3010907@memberwebs.com> <20090922224155.13949fa4@wizard.volgograd.ru> <4ABC2F11.5080202@freebsd.org> <20090925125537.0d272e28@wizard.volgograd.ru> In-Reply-To: <20090925125537.0d272e28@wizard.volgograd.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-CTc-dcc1-Metrics: ebb.errno.com; whitelist Cc: stef-list@memberwebs.com, stef@memberwebs.com, freebsd-net@freebsd.org Subject: Re: low ath speed on 8.0-RC1 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, 26 Sep 2009 18:48:50 -0000 Denis Shaposhnikov wrote: > Hello, > > On Thu, 24 Sep 2009 19:46:41 -0700 > Sam Leffler wrote: > >>> May be do you know why I'm getting normal speed (2Mb/s) for some >>> time after using "ifconfig bssid ..." command only? >> When you set the bssid you reset the state of the tx rate control code >> and that probably resets the tx rate to 24M. > > Does it possible to disable tx rate control and lock wlan0 on > OFDM/54Mbps? Think it isn't right tha I have only 900K of transfer speed > without using of bssid command. The bssid cmd is unrelated to your low tx rate; this is a byproduct of (apparent) poor communication conditions. All the cmd does is reset state so the tx rate is yanked back to 24M from which it falls again to where the rate control code believes is the right value. For setting a fixed tx rate man ifconfig. If you want to explore look at enabling tx rate control msgs with wlandebug rate and/or look at sysctl dev.ath.0.sample_stats=-1. Sam