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
This commit is contained in:
Gyanranjan Hazarika 2017-08-22 21:45:07 -07:00 • committed by snandini
commit b5d426d683
2 changed files with 12 additions and 9 deletions

View file

@ -319,9 +319,13 @@ enum element_ie {
/**
* enum extn_element_ie :- extended management information element
* @WLAN_EXTN_ELEMID_SRP: spatial reuse parameter IE
* @WLAN_EXTN_ELEMID_HECAP: HE capabilites IE
* @WLAN_EXTN_ELEMID_HEOP: HE Operation IE
* @WLAN_EXTN_ELEMID_SRP: spatial reuse parameter IE
*/
enum extn_element_ie {
WLAN_EXTN_ELEMID_HECAP = 35,
WLAN_EXTN_ELEMID_HEOP = 36,
WLAN_EXTN_ELEMID_SRP = 39,
};

View file

@ -349,7 +349,13 @@ util_scan_parse_extn_ie(struct scan_cache_entry *scan_params,
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 @@ util_scan_parse_vendor_ie(struct scan_cache_entry *scan_params,
* 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