From: Ben Greear <greearb@candelatech.com>
To: ath9k-devel@lists.ath9k.org
Subject: [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
WARNING: multiple messages have this Message-ID (diff)
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: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-01 12:04 [ath9k-devel] trying to set tx power (using txpower option) At Santos
2010-10-08 9:46 ` At Santos
2010-10-08 11:12 ` Peter Stuge
2010-10-08 15:27 ` Luis R. Rodriguez
2010-10-08 16:23 ` At Santos
2010-10-08 16:45 ` Luis R. Rodriguez
2010-10-08 16:45 ` Luis R. Rodriguez
2010-10-08 16:48 ` Ben Greear
2010-10-08 16:48 ` Ben Greear
2010-10-08 16:52 ` Luis R. Rodriguez
2010-10-08 16:52 ` Luis R. Rodriguez
2010-10-08 17:07 ` Ben Greear
2010-10-08 17:07 ` Ben Greear
2010-10-08 17:12 ` Johannes Berg
2010-10-08 17:12 ` Johannes Berg
2010-10-08 17:24 ` Ben Greear
2010-10-08 17:24 ` Ben Greear
2010-10-08 17:28 ` Johannes Berg
2010-10-08 17:28 ` Johannes Berg
2010-10-08 17:38 ` Ben Greear [this message]
2010-10-08 17:38 ` Ben Greear
2010-10-08 17:41 ` David Lamparter
2010-10-08 17:41 ` David Lamparter
2010-10-08 18:00 ` David Willmore
2010-10-08 18:00 ` David Willmore
2010-10-08 18:05 ` Johannes Berg
2010-10-08 18:05 ` Johannes Berg
2010-10-08 23:10 ` David Willmore
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@lists.ath9k.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.