Эх сурвалжийг харах

qcacmn: Remove length check when process EPCS response

Currently, util_parse_pamlie_perstaprofile_stactrl checks
whether both EDCA and MU EDCA are included in the EPCS
response frame. Per the 11be_D3.1, the STA Profile subfield
optionally contains EDCA and MU EDCA parameters, so remove
the check to address IOT issue.

Change-Id: Ic1f7d4dbb951d9605b7cd7f0f1970895328183f6
CRs-Fixed: 3557340
Paul Zhang 2 жил өмнө
parent
commit
4e97268972

+ 0 - 10
umac/mlo_mgr/src/utils_mlo.c

@@ -4849,16 +4849,6 @@ util_parse_pamlie_perstaprofile_stactrl(uint8_t *subelempayload,
 			     WLAN_ML_PAV_LINFO_PERSTAPROF_STACTRL_LINKID_IDX,
 			     WLAN_ML_PAV_LINFO_PERSTAPROF_STACTRL_LINKID_BITS);
 
-	if (subelempayloadlen <
-		(parsed_payload_len +
-			WLAN_ML_PAV_LINFO_STAPROF_MAXSIZE)) {
-		mlo_err_rl("Length of subelement payload %zu octets not sufficient to contain edca params of size %zu octets after parsed payload length of %zu octets.",
-			   subelempayloadlen,
-			   WLAN_ML_PAV_LINFO_STAPROF_MAXSIZE,
-			   parsed_payload_len);
-		return QDF_STATUS_E_PROTO;
-	}
-
 	pa_link_info->edca_ie_present = false;
 	pa_link_info->ven_wme_ie_present = false;
 	pa_link_info->muedca_ie_present = false;