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:

committed by
nshrivas

parent
704af11d34
commit
ba22ef2abf
@@ -1426,6 +1426,24 @@ ucfg_mlme_get_etsi13_srd_chan_in_master_mode(struct wlan_objmgr_psoc *psoc,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
ucfg_mlme_get_11d_in_world_mode(struct wlan_objmgr_psoc *psoc,
|
||||
bool *value)
|
||||
{
|
||||
struct wlan_mlme_psoc_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_obj(psoc);
|
||||
if (!mlme_obj) {
|
||||
*value = cfg_default(CFG_ENABLE_11D_IN_WORLD_MODE);
|
||||
mlme_err("Failed to get MLME Obj");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
*value = mlme_obj->cfg.reg.enable_11d_in_world_mode;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
ucfg_mlme_get_restart_beaconing_on_ch_avoid(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *value)
|
||||
|
Reference in New Issue
Block a user