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
Šī revīzija ir iekļauta:

revīziju iesūtīja
nshrivas

vecāks
8e5f4375fe
revīzija
9b208c45d5
@@ -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) \
|
||||
|
@@ -1901,6 +1901,7 @@ struct wlan_mlme_mwc {
|
||||
* @valid_channel_list_num: valid channel list number
|
||||
* @country_code: country code
|
||||
* @country_code_len: country code length
|
||||
* @enable_11d_in_world_mode: Whether to enable 11d scan in world mode or not
|
||||
*/
|
||||
struct wlan_mlme_reg {
|
||||
uint32_t self_gen_frm_pwr;
|
||||
@@ -1913,6 +1914,7 @@ struct wlan_mlme_reg {
|
||||
uint8_t valid_channel_list_num;
|
||||
uint8_t country_code[CFG_COUNTRY_CODE_LEN + 1];
|
||||
uint8_t country_code_len;
|
||||
bool enable_11d_in_world_mode;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -3503,6 +3503,18 @@ QDF_STATUS
|
||||
ucfg_mlme_get_etsi13_srd_chan_in_master_mode(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_11d_in_world_mode - get whether 11d is enabled in world mode
|
||||
* in master mode
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: pointer to the value which will be filled for the caller
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS
|
||||
ucfg_mlme_get_11d_in_world_mode(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value);
|
||||
|
||||
/**
|
||||
* ucfg_mlme_restart_beaconing_on_ch_avoid() - get restart beaconing on ch avoid
|
||||
* @psoc: pointer to psoc object
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user