2013-03-04 19:56:54

by Johannes Berg

[permalink] [raw]
Subject: [PATCH] regulatory: enable channels 52-144 for world roaming

From: Johannes Berg <[email protected]>

If allowed in a country, these channels typically require
DFS so mark them as such. Channel 144 is a bit special,
it's coming in use now to allow more VHT 80 channels, but
world roaming/passive scanning is acceptable anyway. It
seems fairly unlikely that it'll be used as the control
channel for a VHT AP, but it needs to be present to allow
a full VHT connection to an AP that uses it as one of the
secondary channels.

Signed-off-by: Johannes Berg <[email protected]>
---
net/wireless/reg.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index dee9ab4..69cb4cb 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -188,7 +188,11 @@ static const struct ieee80211_regdomain world_regdom = {
NL80211_RRF_PASSIVE_SCAN |
NL80211_RRF_NO_IBSS),

- /* NB: 5260 MHz - 5700 MHz requires DFS */
+ /* IEEE 802.11a, channel 52..144 - DFS required */
+ REG_RULE(5760-10, 5720+10, 80, 6, 20,
+ NL80211_RRF_PASSIVE_SCAN |
+ NL80211_RRF_NO_IBSS |
+ NL80211_RRF_DFS),

/* IEEE 802.11a, channel 149..165 */
REG_RULE(5745-10, 5825+10, 80, 6, 20,
--
1.8.0



2013-03-04 20:24:05

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] regulatory: enable channels 52-144 for world roaming

Hi Bing,

> > - /* NB: 5260 MHz - 5700 MHz requires DFS */
> > + /* IEEE 802.11a, channel 52..144 - DFS required */
> > + REG_RULE(5760-10, 5720+10, 80, 6, 20,
>
> 5260-10

Umm, yes, good catch. Thanks!

johannes


2013-03-04 20:22:31

by Bing Zhao

[permalink] [raw]
Subject: RE: [PATCH] regulatory: enable channels 52-144 for world roaming

Hi Johannes,

[...]

> @@ -188,7 +188,11 @@ static const struct ieee80211_regdomain world_regdom = {
> NL80211_RRF_PASSIVE_SCAN |
> NL80211_RRF_NO_IBSS),
>
> - /* NB: 5260 MHz - 5700 MHz requires DFS */
> + /* IEEE 802.11a, channel 52..144 - DFS required */
> + REG_RULE(5760-10, 5720+10, 80, 6, 20,

5260-10

> + NL80211_RRF_PASSIVE_SCAN |
> + NL80211_RRF_NO_IBSS |
> + NL80211_RRF_DFS),
>
> /* IEEE 802.11a, channel 149..165 */
> REG_RULE(5745-10, 5825+10, 80, 6, 20,

Regards,
Bing