From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "Luis R. Rodriguez" <lrodriguez@Atheros.com>,
"Luis R. Rodriguez" <mcgrof@gmail.com>,
ath9k <ath9k-devel@venema.h4ckr.net>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [ath9k-devel] trying to set tx power (using txpower option)
Date: Fri, 08 Oct 2010 10:38:29 -0700 [thread overview]
Message-ID: <4CAF5715.5010103@candelatech.com> (raw)
In-Reply-To: <1286558903.3612.6.camel@jlt3.sipsolutions.net>
On 10/08/2010 10:28 AM, Johannes Berg wrote:
> On Fri, 2010-10-08 at 10:24 -0700, Ben Greear wrote:
>
>>> There's a later division by 100 to go from mBm to dBm ... I think you
>>> want 2000, not 20.
>>
>> Well, it's documented in iw to be 'mBm', though I surely wouldn't have known
>> what that stood for (nothing useful shows up on google for 'mBm units').
>
> Suck. I don't even know why we did that in iw though, couldn't we have
> used dBm floats?
Looks like this iw change has been out there a while.
Maybe change iw:
* If value is < 100, assume it's dBm and convert for user.
* Warn them?
* If it's a float, convert to dBm for user.
Otherwise, leave it as is.
For what it's worth, 'iwconfig' works as is (using dBm units).
Thanks,
Ben
>
> johannes
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2010-10-08 17:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <SNT111-W333C4BA6050D535151071FFB690@phx.gbl>
[not found] ` <SNT111-W2989DC6A52022428756E6FB500@phx.gbl>
[not found] ` <20101008111221.5425.qmail@stuge.se>
[not found] ` <AANLkTimAfH8ChkjwFB7e2kMbJyxaZQZMSxTcThva=jgN@mail.gmail.com>
[not found] ` <SNT111-W21A1F92DC5DADE5968C8CCFB500@phx.gbl>
2010-10-08 16:45 ` [ath9k-devel] trying to set tx power (using txpower option) Luis R. Rodriguez
2010-10-08 16:48 ` Ben Greear
2010-10-08 16:52 ` Luis R. Rodriguez
2010-10-08 17:07 ` Ben Greear
2010-10-08 17:12 ` Johannes Berg
2010-10-08 17:24 ` Ben Greear
2010-10-08 17:28 ` Johannes Berg
2010-10-08 17:38 ` Ben Greear [this message]
2010-10-08 17:41 ` David Lamparter
2010-10-08 18:00 ` David Willmore
2010-10-08 18:05 ` Johannes Berg
2010-10-08 23:10 ` David Willmore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CAF5715.5010103@candelatech.com \
--to=greearb@candelatech.com \
--cc=ath9k-devel@venema.h4ckr.net \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@Atheros.com \
--cc=mcgrof@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).