qcacld-3.0: Reset the max supported ml links to intersected value
Currently whenever the userspace is trying to reset the previously configured max mlo links for association, set wifi config command with "SET_NUM_ALLOWED_MLO_LINK 0" is issued, this always resets the max mlo value to the ini default value which is 2 rather than defaulting to the firmware/ini intersected value. Fix is to default to the firmware/ini intersected value rather than the default value. CRs-Fixed: 3707990 Change-Id: Iaa7cbe32613102ccffbcf92fcb7ef0a39f96a705
Tento commit je obsažen v:

odevzdal
Ravindra Konda

rodič
751d71a5ac
revize
d460d11504
@@ -1564,18 +1564,26 @@ QDF_STATUS wlan_mlme_set_sta_mlo_conn_max_num(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t value)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj;
|
||||
struct target_psoc_info *tgt_hdl;
|
||||
|
||||
mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
if (!mlme_obj)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
tgt_hdl = wlan_psoc_get_tgt_if_handle(psoc);
|
||||
if (!tgt_hdl) {
|
||||
mlme_err("target psoc info is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (!value)
|
||||
mlme_obj->cfg.sta.mlo_support_link_num =
|
||||
cfg_default(CFG_MLO_SUPPORT_LINK_NUM);
|
||||
target_if_res_cfg_get_num_max_mlo_link(tgt_hdl);
|
||||
else
|
||||
mlme_obj->cfg.sta.mlo_support_link_num = value;
|
||||
|
||||
mlme_legacy_debug("mlo_support_link_num %d", value);
|
||||
mlme_legacy_debug("mlo_support_link_num user input %d intersected value :%d",
|
||||
value, mlme_obj->cfg.sta.mlo_support_link_num);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele