qcacmn: Update ML IE handling as per draft 2.0 new definitions

Update multi link IE definition as per 11BE draft 2.0 spec.

Change-Id: I120f1a99ef683f6bf0b9fb0ba3b5d157625639ca
CRs-Fixed: 3220212
This commit is contained in:
Deeksha Gupta
2022-06-15 15:28:19 +05:30
کامیت شده توسط Madan Koyyalamudi
والد fe9866276b
کامیت b52e67679a
3فایلهای تغییر یافته به همراه67 افزوده شده و 34 حذف شده

مشاهده پرونده

@@ -1879,9 +1879,13 @@ static uint8_t util_get_link_info_offset(uint8_t *ml_ie)
if (presencebm & WLAN_ML_BV_CTRL_PBM_EMLCAP_P)
parsed_ie_len += WLAN_ML_BV_CINFO_EMLCAP_SIZE;
/* Check if MLD cap is present */
if (presencebm & WLAN_ML_BV_CTRL_PBM_MLDCAP_P)
parsed_ie_len += WLAN_ML_BV_CINFO_MLDCAP_SIZE;
/* Check if MLD cap and op is present */
if (presencebm & WLAN_ML_BV_CTRL_PBM_MLDCAPANDOP_P)
parsed_ie_len += WLAN_ML_BV_CINFO_MLDCAPANDOP_SIZE;
/* Check if MLD ID is present */
if (presencebm & WLAN_ML_BV_CTRL_PBM_MLDID_P)
parsed_ie_len += WLAN_ML_BV_CINFO_MLDID_SIZE;
/* Offset calculation starts from the beginning of the ML IE (including
* EID) hence, adding the size of IE header to ML IE length.