Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2009 11:48:47 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        Denis Shaposhnikov <dsh@wizard.volgograd.ru>
Cc:        stef-list@memberwebs.com, stef@memberwebs.com, freebsd-net@freebsd.org
Subject:   Re: low ath speed on 8.0-RC1
Message-ID:  <4ABE620F.7000105@freebsd.org>
In-Reply-To: <20090925125537.0d272e28@wizard.volgograd.ru>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Denis Shaposhnikov wrote:
> Hello,
> 
> On Thu, 24 Sep 2009 19:46:41 -0700
> Sam Leffler <sam@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ABE620F.7000105>