mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: 11d and 11h inis are not getting updated
As part of ini convergence, enabled_11d and enabled_11h inis are moved to converged framework but these inis are not removed from legacy initialization path which is overwritting these values to constant values and thus these inis are not taking effect. Morever in the converged code also these inis are getting initialized with default values instead of the values given from ini file. To address this issue, remove the legacy initialization of these inis and in the converged ini path initialize these values with the values configured in the ini files. Change-id: I3d02c0d543fd561f1fd948b5c2850a509b1104e7 CRs-fixed: 2371528
This commit is contained in:
parent
af44e4f081
commit
efae55b005
2 changed files with 2 additions and 4 deletions
|
|
@ -353,8 +353,8 @@ static void mlme_init_generic_cfg(struct wlan_objmgr_psoc *psoc,
|
|||
mlme_init_pmf_cfg(psoc, gen);
|
||||
mlme_init_lpass_support_cfg(psoc, gen);
|
||||
|
||||
gen->enabled_11h = cfg_default(CFG_11H_SUPPORT_ENABLED);
|
||||
gen->enabled_11d = cfg_default(CFG_11D_SUPPORT_ENABLED);
|
||||
gen->enabled_11h = cfg_get(psoc, CFG_11H_SUPPORT_ENABLED);
|
||||
gen->enabled_11d = cfg_get(psoc, CFG_11D_SUPPORT_ENABLED);
|
||||
gen->enable_beacon_reception_stats =
|
||||
cfg_get(psoc, CFG_ENABLE_BEACON_RECEPTION_STATS);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1656,9 +1656,7 @@ static void init_config_param(struct mac_context *mac)
|
|||
mac->roam.configParam.uCfgDot11Mode = eCSR_CFG_DOT11_MODE_AUTO;
|
||||
mac->roam.configParam.HeartbeatThresh24 = 40;
|
||||
mac->roam.configParam.HeartbeatThresh50 = 40;
|
||||
mac->mlme_cfg->gen.enabled_11d = false;
|
||||
mac->roam.configParam.Is11eSupportEnabled = true;
|
||||
mac->mlme_cfg->gen.enabled_11h = true;
|
||||
mac->roam.configParam.WMMSupportMode = eCsrRoamWmmAuto;
|
||||
mac->roam.configParam.ProprietaryRatesEnabled = true;
|
||||
for (i = 0; i < CSR_NUM_RSSI_CAT; i++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue