summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-03-05 21:19:22 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-03-16 18:09:29 -0400
commitec329acef99ded8dad59e1ef8a5a02b823083353 (patch)
tree47c9ee398f3a3157f2c2c9b3f50778b1b3c9e770 /net/wireless/reg.c
parent611b6a82aaae33a4d3a274fd6cccbdcd1c7cef4d (diff)
downloadlinux-stable-ec329acef99ded8dad59e1ef8a5a02b823083353.tar.gz
linux-stable-ec329acef99ded8dad59e1ef8a5a02b823083353.tar.bz2
linux-stable-ec329acef99ded8dad59e1ef8a5a02b823083353.zip
cfg80211: fix max tx power for world regdom on 5 GHz to 20dBm
This is the lowest value amongst countries which do enable 5 GHz operation. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 25eb1554f8a6..fa738be897a3 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -103,14 +103,14 @@ 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, 40, 6, 23,
+ REG_RULE(5180-10, 5240+10, 40, 6, 20,
NL80211_RRF_PASSIVE_SCAN |
NL80211_RRF_NO_IBSS),
/* NB: 5260 MHz - 5700 MHz requies DFS */
/* IEEE 802.11a, channel 149..165 */
- REG_RULE(5745-10, 5825+10, 40, 6, 23,
+ REG_RULE(5745-10, 5825+10, 40, 6, 20,
NL80211_RRF_PASSIVE_SCAN |
NL80211_RRF_NO_IBSS),
}