Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2011 18:21:55 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Lev Serebryakov <lev@serebryakov.spb.ru>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Bad host-vased AP performace -- and qouple of questions about FreeBSD WiFi stack tuning
Message-ID:  <CAJ-Vmo=dU0uVeZdhkTsgwb54aHH8AK7eb5FviS3hjgLppSecQg@mail.gmail.com>
In-Reply-To: <281311475.20110809142033@serebryakov.spb.ru>
References:  <1151152206.20110808220720@serebryakov.spb.ru> <201108090829.18712.bschmidt@freebsd.org> <1681554189.20110809132747@serebryakov.spb.ru> <CAJ-VmokAuF6rmN=x1oTE5jksrbf2Psew7-4Qb%2BWd-=kZS1svaQ@mail.gmail.com> <7764247.20110809135323@serebryakov.spb.ru> <CAJ-Vmom-VdzRpS0S7c8z3rH5tYkbk1Nadw-=R6r65OX-_AOX1A@mail.gmail.com> <281311475.20110809142033@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/8/9 Lev Serebryakov <lev@serebryakov.spb.ru>:
> Hello, Adrian.
> You wrote 9 =C1=D7=C7=D5=D3=D4=C1 2011 =C7., 14:14:19:
>
>> txpower 15 is actually 15dBm. Ie, try "ifconfig wlan0 txpower 1.5" :-)
> =9ABernhard Schmidt says, that iwn(4) uses half-dBm units and "txpower
> 30" on iwn(4) means 15dBm physically.

Right. I'll double-check with Bernhard as he's been knee deep in the
iwn code. But I can tell you that the value passed from net80211 to
ath is 2x the ifconfig power, as the ifconfig txpower is in 0.5 dBm
units. So ifconfig wlanX txpower Y ends up storing a txpower value of
2*Y, and that's what ath gets. I bet iwn gets the same.


Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=dU0uVeZdhkTsgwb54aHH8AK7eb5FviS3hjgLppSecQg>