aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-04 14:54:46 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-10-01 08:14:02 -0400
commit131a19bc924c32cecd014be7036686f2186b48ad (patch)
tree5a04bb86672f431e7b7a2548bbecce924cee09e6
parentff311bc11a7e2da95e1e17f99b7e4951c7060547 (diff)
regulatory: enable channels 52-64 and 100-144 for world roaming
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>
-rw-r--r--net/wireless/reg.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index de06d5d1287f..d62cb1e91475 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -172,11 +172,21 @@ static const struct ieee80211_regdomain world_regdom = {
172 NL80211_RRF_NO_IBSS | 172 NL80211_RRF_NO_IBSS |
173 NL80211_RRF_NO_OFDM), 173 NL80211_RRF_NO_OFDM),
174 /* IEEE 802.11a, channel 36..48 */ 174 /* IEEE 802.11a, channel 36..48 */
175 REG_RULE(5180-10, 5240+10, 80, 6, 20, 175 REG_RULE(5180-10, 5240+10, 160, 6, 20,
176 NL80211_RRF_PASSIVE_SCAN | 176 NL80211_RRF_PASSIVE_SCAN |
177 NL80211_RRF_NO_IBSS), 177 NL80211_RRF_NO_IBSS),
178 178
179 /* NB: 5260 MHz - 5700 MHz requires DFS */ 179 /* IEEE 802.11a, channel 52..64 - DFS required */
180 REG_RULE(5260-10, 5320+10, 160, 6, 20,
181 NL80211_RRF_PASSIVE_SCAN |
182 NL80211_RRF_NO_IBSS |
183 NL80211_RRF_DFS),
184
185 /* IEEE 802.11a, channel 100..144 - DFS required */
186 REG_RULE(5500-10, 5720+10, 160, 6, 20,
187 NL80211_RRF_PASSIVE_SCAN |
188 NL80211_RRF_NO_IBSS |
189 NL80211_RRF_DFS),
180 190
181 /* IEEE 802.11a, channel 149..165 */ 191 /* IEEE 802.11a, channel 149..165 */
182 REG_RULE(5745-10, 5825+10, 80, 6, 20, 192 REG_RULE(5745-10, 5825+10, 80, 6, 20,