qcacld-3.0: Refactor ini 11d in world mode to reg cfg

Refactor ini 11d in world mode to reg cfg, instead of
hdd config.

Change-Id: I9463d6efe3c109aa07eb98378d38ef0b23ff3880
CRs-Fixed: 2393498
This commit is contained in:
gaurank kathpalia
2019-02-05 17:04:08 +05:30
committed by nshrivas
parent 704af11d34
commit ba22ef2abf
8 changed files with 56 additions and 31 deletions

View File

@@ -52,6 +52,25 @@
CFG_VALUE_OR_DEFAULT, \
"set the self gen power value")
/*
* <ini>
* enable_11d_in_world_mode - enable 11d in world mode
* @Min: 0
* @Max: 1
* @Default: 0
*
* This ini enables 11d in world mode, irrespective of value of
* g11dSupportEnabled
*
* Usage: External
*
* </ini>
*/
#define CFG_ENABLE_11D_IN_WORLD_MODE CFG_INI_BOOL( \
"enable_11d_in_world_mode", \
0, \
"enable 11d in world mode")
/*
* <ini>
* etsi13_srd_chan_in_master_mode - Enable/disable ETSI SRD channels in
@@ -196,6 +215,7 @@
#define CFG_REG_ALL \
CFG(CFG_SELF_GEN_FRM_PWR) \
CFG(CFG_ENABLE_11D_IN_WORLD_MODE) \
CFG(CFG_ETSI13_SRD_CHAN_IN_MASTER_MODE) \
CFG(CFG_RESTART_BEACONING_ON_CH_AVOID) \
CFG(CFG_INDOOR_CHANNEL_SUPPORT) \