qcacld-3.0: Modify default world rule to exclude channel 13
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)
diff --git a/core/hdd/src/wlan_hdd_regulatory.c b/core/hdd/src/wlan_hdd_regulatory.c
index 59733fe..688abf0 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 @@
.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,