From: Jouni Malinen <j@w1.fi>
To: Richard Farina <sidhayn@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC] fix wireless-regdb enforcement oddities
Date: Tue, 17 Mar 2009 11:09:22 +0200 [thread overview]
Message-ID: <20090317090922.GA2721@jm.kir.nu> (raw)
In-Reply-To: <49BEE56C.9050202@gmail.com>
On Mon, Mar 16, 2009 at 07:49:00PM -0400, Richard Farina wrote:
> For the sake of sanity, I think that the way rules from wireless-regdb
> are enforced needs to be changed. An example:
>
> country US:
> (5170 - 5250 @ 40), (3, 17)
> (5250 - 5330 @ 40), (3, 20), DFS
>
> In this case, you will see that I have removed all of the rules that I
> do not intend to cite to lower the complexity of the ruleset.
>
> Take for example, channel 48, center frequency 5240. A standard 20 mhz
> mode will work as expected, as well as HT40-, however HT40+ cannot be
> set because it would need to cross the rule boundary. Each line of a
> regulatory domain section is enforced by itself. Channel 52 has a
> similiar problem where 20 and HT40+ work but HT40- will not.
Channel 48 with HT40+ would not work regardless of the regulatory rules;
(48,52) is not one of the allowed HT40 channel pairs. You can use
(36,40), (44,48), (52,56), and (60,64), but not (40,44), (48,52),
(56,60). This is not really a regulatory limit but restriction stated in
IEEE 802.11n Annex J. And same applies to channel 52 with HT40-.
There may be some other examples where the processing of the ruleset
could be improved, but this particular example does not look like
something that would benefit much from a change here.
> As this specific example includes frequencies in the DFS range, you can
> obviously see why no one has noticed this failing before. The obviously
> expected result is that if two rules abut and a channel is requested
> that stradles them, it should take the most restrictive mix between the
> two. For instance, if I set channel 48 in HT40+ mode (and we have DFS
> support) the rule would be enforced as (3, 17), DFS; while HT40- would
> be enforced as the standard (3, 17).
If the channel pair (48,52) were allowed by IEEE 802.11n and we
supported DFS, yes, I would agree with this. However, neither of those
are the case at the moment (and I don't see the former changing in the
future either).
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2009-03-17 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 23:49 [RFC] fix wireless-regdb enforcement oddities Richard Farina
2009-03-17 9:09 ` Jouni Malinen [this message]
2009-03-17 14:54 ` Richard Farina
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=20090317090922.GA2721@jm.kir.nu \
--to=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=sidhayn@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).