]>
Commit | Line | Data |
---|---|---|
1df8150e GKH |
1 | From 43c771a1963ab461a2f194e3c97fded1d5fe262f Mon Sep 17 00:00:00 2001 |
2 | From: Johannes Berg <johannes.berg@intel.com> | |
3 | Date: Mon, 12 Nov 2012 10:51:34 +0100 | |
4 | Subject: wireless: allow 40 MHz on world roaming channels 12/13 | |
5 | ||
6 | From: Johannes Berg <johannes.berg@intel.com> | |
7 | ||
8 | commit 43c771a1963ab461a2f194e3c97fded1d5fe262f upstream. | |
9 | ||
10 | When in world roaming mode, allow 40 MHz to be used | |
11 | on channels 12 and 13 so that an AP that is, e.g., | |
12 | using HT40+ on channel 9 (in the UK) can be used. | |
13 | ||
14 | Reported-by: Eddie Chapman <eddie@ehuk.net> | |
15 | Tested-by: Eddie Chapman <eddie@ehuk.net> | |
16 | Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> | |
17 | Signed-off-by: Johannes Berg <johannes.berg@intel.com> | |
18 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
19 | ||
20 | --- | |
21 | net/wireless/reg.c | 5 ++--- | |
22 | 1 file changed, 2 insertions(+), 3 deletions(-) | |
23 | ||
24 | --- a/net/wireless/reg.c | |
25 | +++ b/net/wireless/reg.c | |
26 | @@ -141,9 +141,8 @@ static const struct ieee80211_regdomain | |
27 | .reg_rules = { | |
28 | /* IEEE 802.11b/g, channels 1..11 */ | |
29 | REG_RULE(2412-10, 2462+10, 40, 6, 20, 0), | |
30 | - /* IEEE 802.11b/g, channels 12..13. No HT40 | |
31 | - * channel fits here. */ | |
32 | - REG_RULE(2467-10, 2472+10, 20, 6, 20, | |
33 | + /* IEEE 802.11b/g, channels 12..13. */ | |
34 | + REG_RULE(2467-10, 2472+10, 40, 6, 20, | |
35 | NL80211_RRF_PASSIVE_SCAN | | |
36 | NL80211_RRF_NO_IBSS), | |
37 | /* IEEE 802.11 channel 14 - Only JP enables |