Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mac80211: implement EU regulatory domain

Implement missing EU regulatory domain for mac80211. Based on the
information in IEEE 802.11-2007 (specifically pages 1142, 1143 & 1148)
and ETSI 301 893 (V1.4.1).
With thanks to Johannes Berg.

Signed-off-by: Tony Vroon <tony@linx.net>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Tony Vroon and committed by
John W. Linville
59d393ad 88a6f4ad

+18
+18
net/wireless/reg.c
··· 80 80 IEEE80211_CHAN_RADAR), 81 81 }; 82 82 83 + static const struct ieee80211_channel_range ieee80211_EU_channels[] = { 84 + /* IEEE 802.11b/g, channels 1..13 */ 85 + RANGE_PWR(2412, 2472, 20, 6, 0), 86 + /* IEEE 802.11a, channel 36*/ 87 + RANGE_PWR(5180, 5180, 23, 6, IEEE80211_CHAN_PASSIVE_SCAN), 88 + /* IEEE 802.11a, channel 40*/ 89 + RANGE_PWR(5200, 5200, 23, 6, IEEE80211_CHAN_PASSIVE_SCAN), 90 + /* IEEE 802.11a, channel 44*/ 91 + RANGE_PWR(5220, 5220, 23, 6, IEEE80211_CHAN_PASSIVE_SCAN), 92 + /* IEEE 802.11a, channels 48..64 */ 93 + RANGE_PWR(5240, 5320, 23, 6, IEEE80211_CHAN_NO_IBSS | 94 + IEEE80211_CHAN_RADAR), 95 + /* IEEE 802.11a, channels 100..140 */ 96 + RANGE_PWR(5500, 5700, 30, 6, IEEE80211_CHAN_NO_IBSS | 97 + IEEE80211_CHAN_RADAR), 98 + }; 99 + 83 100 #define REGDOM(_code) \ 84 101 { \ 85 102 .code = __stringify(_code), \ ··· 107 90 static const struct ieee80211_regdomain ieee80211_regdoms[] = { 108 91 REGDOM(US), 109 92 REGDOM(JP), 93 + REGDOM(EU), 110 94 }; 111 95 112 96