From: Johannes Berg <johannes@sipsolutions.net>
To: Krishna Chaitanya <chaitanya.mgit@gmail.com>
Cc: John Linville <linville@tuxdriver.com>,
Luis Rodriguez <mcgrof@gmail.com>,
wireless-regdb@lists.infradead.org,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [regdb] Add support to parse 2000mW tx power
Date: Mon, 26 May 2014 11:54:25 +0200 [thread overview]
Message-ID: <1401098065.30496.0.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <CABPxzYKe5Cy36uc=C5wVEVZV0qiR=55yBw0LtzuRv412p58c9g@mail.gmail.com> (sfid-20140526_114652_916732_D4E99F80)
On Mon, 2014-05-26 at 15:16 +0530, Krishna Chaitanya wrote:
> On Mon, May 26, 2014 at 3:08 PM, Johannes Berg
> <johannes@sipsolutions.net> wrote:
> > On Mon, 2014-05-26 at 13:09 +0530, chaitanya.mgit@gmail.com wrote:
> >
> >> @@ -74,7 +74,7 @@ function parse_reg_rule()
> >> power = 23
> >> } else if (power == 500) {
> >> power = 27
> >> - } else if (power == 1000) {
> >> + } else if ((power == 1000) || (power == 2000)) {
> >> power = 30
> >
> > This seems like a pretty sick thing to do to start with, and certainly
>
> Agree.
>
> > power=30 isn't right for 2000mW...
>
> Sorry, typo. Its supposed to be 33.
>
> > Can't awk calculate the logarithm?
> Does kernel support log arithmetic/Float operations.?
This script runs at build time.
johannes
next prev parent reply other threads:[~2014-05-26 9:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-26 7:39 [regdb] Add support to parse 2000mW tx power chaitanya.mgit
2014-05-26 9:38 ` Johannes Berg
2014-05-26 9:46 ` Krishna Chaitanya
2014-05-26 9:54 ` Johannes Berg [this message]
2014-05-26 10:39 ` Krishna Chaitanya
2014-05-27 15:23 ` John W. Linville
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=1401098065.30496.0.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=chaitanya.mgit@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@gmail.com \
--cc=wireless-regdb@lists.infradead.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 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).