qcacmn: Correct the definition of WORLD rules

Regulatory rules bandwidth should be constrained by difference of lower and
upper bandwidth of the rule. Fix the rules that do not conform to that.

Change-Id: I01ceca977ca02dcf757c8afbb597bd1ae9659660
CRs-Fixed: 2354371
This commit is contained in:
Amar Singhal
2018-11-21 14:55:51 -08:00
committed by nshrivas
parent 098cb680ea
commit bb0c460a60

View File

@@ -967,8 +967,8 @@ const struct regulatory_rule reg_rules_2g[] = {
[CHAN_1_13_2] = {2402, 2482, 40, 30, 0},
[CHAN_1_13_3] = {2402, 2482, 40, 36, 0},
[CHAN_1_13_4] = {2402, 2482, 40, 23, 0},
[CHAN_12_12_1] = {2457, 2477, 40, 20, REGULATORY_CHAN_NO_IR},
[CHAN_12_13_1] = {2457, 2482, 40, 20, REGULATORY_CHAN_NO_IR},
[CHAN_12_12_1] = {2457, 2477, 20, 20, REGULATORY_CHAN_NO_IR},
[CHAN_12_13_1] = {2457, 2482, 20, 20, REGULATORY_CHAN_NO_IR},
[CHAN_14_1] = {2474, 2494, 20, 23, REGULATORY_CHAN_NO_OFDM},
[CHAN_14_2] = {2474, 2494, 20, 20,
REGULATORY_CHAN_NO_OFDM | REGULATORY_CHAN_NO_IR},