diff options
author | Amar Singhal <asinghal@codeaurora.org> | 2018-08-02 17:45:04 -0700 |
---|---|---|
committer | Isaac Chiou <isaacchiou@google.com> | 2020-03-10 05:55:06 +0000 |
commit | 5416342c5143ffe88f9de2f0d90db047886262e2 (patch) | |
tree | 0023d0d596a11520bd3e22fb072fa3e78a72b47b /core | |
parent | edcd3208bf3636bd1d66748b69d18b9ae864e46b (diff) | |
download | qcacld-5416342c5143ffe88f9de2f0d90db047886262e2.tar.gz |
qcacld-3.0: Modify default world rule to exclude channel 13android-10.0.0_r0.73android-10.0.0_r0.72android-10.0.0_r0.66android-10.0.0_r0.65android-msm-crosshatch-4.9-android10android-msm-bonito-4.9-android10
Channel 13 can cause regulatory violation when enabled in world
mode in OFDM mode. Therefore disable channel 13 in world mode.
Bug: 134633080
Test: Check support channel list by "iw list" and "iw reg get" in world
mode
Merged-In: I1fb0531bc23726de448498a90e4508f0714e33a2
Change-Id: I1fb0531bc23726de448498a90e4508f0714e33a2
CRs-Fixed: 112274312
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
(cherry picked from commit 546b2e599547b88fcf075dd28f38ce09f937c732)
Diffstat (limited to 'core')
-rw-r--r-- | core/hdd/src/wlan_hdd_regulatory.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_regulatory.c b/core/hdd/src/wlan_hdd_regulatory.c index 59733fec8c..688abf0acc 100644 --- a/core/hdd/src/wlan_hdd_regulatory.c +++ b/core/hdd/src/wlan_hdd_regulatory.c @@ -50,6 +50,9 @@ #define REG_RULE_2467_2472 REG_RULE(2467-10, 2472+10, 40, 0, 20, \ NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS) +#define REG_RULE_2467_2467 REG_RULE(2467-10, 2467+10, 40, 0, 20, \ + NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS) + #define REG_RULE_2484 REG_RULE(2484-10, 2484+10, 20, 0, 20, \ NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS | \ NL80211_RRF_NO_OFDM) @@ -78,7 +81,7 @@ hdd_world_regrules_60_61_62 = { .alpha2 = "00", .reg_rules = { REG_RULE_2412_2462, - REG_RULE_2467_2472, + REG_RULE_2467_2467, REG_RULE_5180_5320, REG_RULE_5500_5720, REG_RULE_5745_5825, |