From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 0/4] wireless: use channel bandwidth
Date: Tue, 10 Mar 2009 01:43:15 -0700 [thread overview]
Message-ID: <43e72e890903100143y41a19c5fw2d4e055f36268059@mail.gmail.com> (raw)
In-Reply-To: <1236669384.9658.32.camel@johannes.local>
On Tue, Mar 10, 2009 at 12:16 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Mon, 2009-03-09 at 22:04 -0400, Luis R. Rodriguez wrote:
>> Few patches which actually make use of the channel bandwidth, lets
>> also send this to userspace as it useful to tell which channels you'll
>> be able to use HT40 or not on as a client.
>
> Can you remind me why we have that max_bandwidth at all? It seems we
> would be able to see whether ht40 fits by checking the above/below
> sideband channel for use permission.
To allow you to create bands for your regulatory domain and give easy
access to the allowed bandwidth. A good example is the world
regulatory domain right now with no HT40 for channels 12, 13 and 14.
cfg80211 does the checks for us only once upon regulatory domain
changes and that work gives us easy access to the allowed possible
channel width. The alternative is to call something like
freq_reg_info() on this call path and do the check in the places we
need.
Originally we had the NO-HT20 and NO-HT40 flags but as it turns out
HT20 is now allowed everywhere and we determine we can just use the
channel bandwidth to figure out whether or not you can use HT40.
Luis
prev parent reply other threads:[~2009-03-10 8:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 2:04 [PATCH 0/4] wireless: use channel bandwidth Luis R. Rodriguez
2009-03-10 2:04 ` [PATCH 1/4] cfg80211: check allowed channel max bandwidth before setting HT40 Luis R. Rodriguez
2009-03-10 2:04 ` [PATCH 2/4] mac80211: move early error branch check on ieee80211_set_freq() Luis R. Rodriguez
2009-03-10 2:04 ` [PATCH 3/4] mac80211: disallow HT40 if max channel bandwidth is less than 40 MHz Luis R. Rodriguez
2009-03-10 7:15 ` Johannes Berg
2009-03-10 8:43 ` Luis R. Rodriguez
2009-03-10 8:46 ` Johannes Berg
2009-03-10 8:51 ` Luis R. Rodriguez
2009-03-10 2:04 ` [PATCH 4/4] cfg80211: send channel max bandwidth to userspace Luis R. Rodriguez
2009-03-10 7:16 ` [PATCH 0/4] wireless: use channel bandwidth Johannes Berg
2009-03-10 8:43 ` 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=43e72e890903100143y41a19c5fw2d4e055f36268059@mail.gmail.com \
--to=lrodriguez@atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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