linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] regulatory: enable channels 52-64 and 100-144 for world roaming
@ 2013-03-04 20:44 Johannes Berg
  2013-03-04 20:49 ` Bing Zhao
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2013-03-04 20:44 UTC (permalink / raw)
  To: linux-wireless; +Cc: mcgrof, bzhao, Johannes Berg

From: Johannes Berg <johannes.berg@intel.com>

If allowed in a country, these channels typically require DFS
so mark them as such. Channel 144 is a bit special, it's coming
into use now to allow more VHT 80 channels, but world roaming
with 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.

Also enable VHT 160 on these channels, and also for channels
36-48 to be able to use VHT 160 there.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 net/wireless/reg.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index dee9ab4..618da84 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -184,11 +184,21 @@ static const struct ieee80211_regdomain world_regdom = {
 			NL80211_RRF_NO_IBSS |
 			NL80211_RRF_NO_OFDM),
 		/* IEEE 802.11a, channel 36..48 */
-		REG_RULE(5180-10, 5240+10, 80, 6, 20,
+		REG_RULE(5180-10, 5240+10, 160, 6, 20,
                         NL80211_RRF_PASSIVE_SCAN |
                         NL80211_RRF_NO_IBSS),
 
-		/* NB: 5260 MHz - 5700 MHz requires DFS */
+		/* IEEE 802.11a, channel 52..64 - DFS required */
+		REG_RULE(5260-10, 5320+10, 160, 6, 20,
+			NL80211_RRF_PASSIVE_SCAN |
+			NL80211_RRF_NO_IBSS |
+			NL80211_RRF_DFS),
+
+		/* IEEE 802.11a, channel 100..144 - DFS required */
+		REG_RULE(5500-10, 5320+10, 160, 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH v3] regulatory: enable channels 52-64 and 100-144 for world roaming
  2013-03-04 20:44 [PATCH v3] regulatory: enable channels 52-64 and 100-144 for world roaming Johannes Berg
@ 2013-03-04 20:49 ` Bing Zhao
  2013-03-04 20:59   ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Bing Zhao @ 2013-03-04 20:49 UTC (permalink / raw)
  To: Johannes Berg, linux-wireless@vger.kernel.org
  Cc: mcgrof@do-not-panic.com, Johannes Berg


[...]

> +		/* IEEE 802.11a, channel 100..144 - DFS required */
> +		REG_RULE(5500-10, 5320+10, 160, 6, 20,

5720+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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] regulatory: enable channels 52-64 and 100-144 for world roaming
  2013-03-04 20:49 ` Bing Zhao
@ 2013-03-04 20:59   ` Johannes Berg
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2013-03-04 20:59 UTC (permalink / raw)
  To: Bing Zhao; +Cc: linux-wireless@vger.kernel.org, mcgrof@do-not-panic.com

On Mon, 2013-03-04 at 12:49 -0800, Bing Zhao wrote:
> [...]
> 
> > +		/* IEEE 802.11a, channel 100..144 - DFS required */
> > +		REG_RULE(5500-10, 5320+10, 160, 6, 20,
> 
> 5720+10

Meh, thanks. I'm just going to get some sleep and try again tomorrow.

johannes


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-04 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 20:44 [PATCH v3] regulatory: enable channels 52-64 and 100-144 for world roaming Johannes Berg
2013-03-04 20:49 ` Bing Zhao
2013-03-04 20:59   ` Johannes Berg

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).