qcacld-3.0: Avoid resetting EDCA parameters to default values
The EDCA parameters in SAP mode are reset to default values defined in EDCA config strings when the first station connects the BSS and again when the last station leaves the BSS. it overrides the EDCA parameters values configured from the hostapd. Add a check to avoid resetting EDCA parameters when SAP is not operating with ANI profile. Change-Id: Iecf21b4c35192e98ea9e96b50c0ba0d6d5382a40 CRs-Fixed: 2725446
这个提交包含在:
@@ -1969,6 +1969,10 @@ lim_util_count_sta_add(struct mac_context *mac,
|
||||
if (mac->lim.gLimNumOfAniSTAs++ != 0)
|
||||
return;
|
||||
|
||||
if (mac->mlme_cfg->wmm_params.edca_profile !=
|
||||
WNI_CFG_EDCA_PROFILE_ANI)
|
||||
return;
|
||||
|
||||
/* get here only if this is the first ANI peer in the BSS */
|
||||
sch_edca_profile_update(mac, pe_session);
|
||||
}
|
||||
@@ -2001,6 +2005,10 @@ lim_util_count_sta_del(struct mac_context *mac,
|
||||
if (mac->lim.gLimNumOfAniSTAs != 0)
|
||||
return;
|
||||
|
||||
if (mac->mlme_cfg->wmm_params.edca_profile !=
|
||||
WNI_CFG_EDCA_PROFILE_ANI)
|
||||
return;
|
||||
|
||||
/* get here only if this is the last ANI peer in the BSS */
|
||||
sch_edca_profile_update(mac, pe_session);
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户