From: "Luis R. Rodriguez" <mcgrof@gmail.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: "Michael Wu" <flamingice@sourmilk.net>,
linux-wireless@vger.kernel.org, "Jouni Malinen" <j@w1.fi>
Subject: Re: Mode/Channel/Bitrate API
Date: Thu, 18 Oct 2007 10:49:40 -0400 [thread overview]
Message-ID: <43e72e890710180749v19d3753do85c24c28bb65409@mail.gmail.com> (raw)
In-Reply-To: <1192711232.15285.13.camel@johannes.berg>
On 10/18/07, Johannes Berg <johannes@sipsolutions.net> wrote:
> On Wed, 2007-10-17 at 10:15 -0400, Luis R. Rodriguez wrote:
> > The regulatory work can just iterate over the currently established
> > channels for each wiphy. Who defines those or how is not important to
> > the regulatory work. I'm not sure why the range approach would not
> > work here. A card usually works on a range of frequencies anyway.
>
> Right. But the regulatory code may need to have power restrictions
> different on different channels and generally wants to be able to
> restrict things for each channel,
Right but this is independent of how the driver sets his things up.
> so it'd be good to have the list
> defined right away by the driver.
The real problem here, as you pointed out to me before, is each driver
needs its own hw values for channels so I suppose it make sense to let
the driver set this.
> It seems that if we don't put this
> into the driver but rather have a frequency range there, we need to
> allocate an array of channels later for this work and that's not needed
> if we start out with an array of channels.
Right, we can provide a helper for driver to allocate/create the
channel array structure but as I noted they need to set hw values
anyway... so blah.
Luis
prev parent reply other threads:[~2007-10-18 14:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 20:48 Mode/Channel/Bitrate API Johannes Berg
2007-10-16 20:40 ` Michael Wu
2007-10-16 23:52 ` Tomas Winkler
2007-10-17 8:09 ` Johannes Berg
2007-10-17 14:15 ` Luis R. Rodriguez
2007-10-18 12:40 ` Johannes Berg
2007-10-18 14:49 ` Luis R. Rodriguez [this message]
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=43e72e890710180749v19d3753do85c24c28bb65409@mail.gmail.com \
--to=mcgrof@gmail.com \
--cc=flamingice@sourmilk.net \
--cc=j@w1.fi \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.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