qcacmn: D1.3 support - Code changes for Ie-Id, Length and IE-Id Ext
D1.3 defines the IE Id, Length and IE ID Extension for HE CAP and HE OP.
Host changes to accommodate them.
Change-Id: Idc3848b5486d05807cdc2ca3fb45ac493243558e
CRs-fixed: 2095550
diff --git a/umac/scan/dispatcher/src/wlan_scan_utils_api.c b/umac/scan/dispatcher/src/wlan_scan_utils_api.c
index 8383769..48a2f73 100644
--- a/umac/scan/dispatcher/src/wlan_scan_utils_api.c
+++ b/umac/scan/dispatcher/src/wlan_scan_utils_api.c
@@ -349,7 +349,13 @@
switch (extn_ie->ie_extn_id) {
case WLAN_EXTN_ELEMID_SRP:
- scan_params->ie_list.srp = (uint8_t *)ie;
+ scan_params->ie_list.srp = (uint8_t *)ie;
+ break;
+ case WLAN_EXTN_ELEMID_HECAP:
+ scan_params->ie_list.hecap = (uint8_t *)ie;
+ break;
+ case WLAN_EXTN_ELEMID_HEOP:
+ scan_params->ie_list.heop = (uint8_t *)ie;
break;
default:
break;
@@ -408,14 +414,7 @@
* hence copy data just after version byte
*/
scan_params->ie_list.bwnss_map = (((uint8_t *)ie) + 8);
- } else if (is_he_cap_oui(((uint8_t *)(ie))) &&
- !(scan_params->ie_list.hecap)) {
- scan_params->ie_list.hecap = (uint8_t *)ie;
- } else if (is_he_op_oui(((uint8_t *)(ie))) &&
- !(scan_params->ie_list.heop)) {
- scan_params->ie_list.heop = (uint8_t *)ie;
}
-
}
static QDF_STATUS