summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelvaraj, Sridhar <sselvara@codeaurora.org>2017-04-03 17:08:59 +0530
committerspuligil <spuligil@codeaurora.org>2017-04-15 12:50:10 -0700
commit1970da6352e0fd71c491581ee49fbb232adb2138 (patch)
tree19650e14864f0b6f4779e83435c0e8e68cbee153
parent032577eb23bd5c504376b14cff2038527233ba32 (diff)
qcacld-3.0: Host driver changes to support 11ai frame parsing
As part of Ic1b670e23f637f11b494422ad9954c1d7515e833, frame parser files are changes to support 11ai frames parsing. This changes addresses required host driver changes to support the 11ai frame parsing. Change-Id: Ia62d546ba1507d8541382369102840be316c466c CRs-Fixed: 2028592
-rw-r--r--core/hdd/src/wlan_hdd_assoc.c4
-rw-r--r--core/hdd/src/wlan_hdd_cfg80211.c4
-rw-r--r--core/hdd/src/wlan_hdd_hostapd.c7
-rw-r--r--core/hdd/src/wlan_hdd_scan.c2
-rw-r--r--core/mac/src/pe/lim/lim_process_action_frame.c22
-rw-r--r--core/mac/src/pe/lim/lim_process_assoc_req_frame.c4
-rw-r--r--core/mac/src/pe/lim/lim_sme_req_utils.c8
-rw-r--r--core/mac/src/pe/lim/lim_utils.c4
-rw-r--r--core/mac/src/sys/legacy/src/utils/src/parser_api.c54
-rw-r--r--core/sme/src/csr/csr_roam_preauth.c2
-rw-r--r--core/sme/src/csr/csr_util.c4
11 files changed, 64 insertions, 51 deletions
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index 88c57f0d4988..336ef4282427 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -5143,7 +5143,7 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
RSNIeLen = gen_ie_len - 2;
/* Unpack the RSN IE */
dot11f_unpack_ie_rsn((tpAniSirGlobal) halHandle,
- pRsnIe, RSNIeLen, &dot11RSNIE);
+ pRsnIe, RSNIeLen, &dot11RSNIE, false);
/* Copy out the encryption and authentication types */
hdd_debug("pairwise cipher suite count: %d",
dot11RSNIE.pwise_cipher_suite_count);
@@ -5209,7 +5209,7 @@ static int32_t hdd_process_genie(hdd_adapter_t *pAdapter,
RSNIeLen = gen_ie_len - (2 + 4);
/* Unpack the WPA IE */
dot11f_unpack_ie_wpa((tpAniSirGlobal) halHandle,
- pRsnIe, RSNIeLen, &dot11WPAIE);
+ pRsnIe, RSNIeLen, &dot11WPAIE, false);
/* Copy out the encryption and authentication types */
hdd_debug("WPA unicast cipher suite count: %d",
dot11WPAIE.unicast_cipher_count);
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index b1f835aa5d61..24b5ce23f67d 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -14673,8 +14673,8 @@ static int wlan_hdd_cfg80211_set_privacy_ibss(hdd_adapter_t *pAdapter,
/* Unpack the WPA IE */
/* Skip past the EID byte and length byte - and four byte WiFi OUI */
dot11f_unpack_ie_wpa((tpAniSirGlobal) halHandle,
- &ie[2 + 4],
- ie[1] - 4, &dot11WPAIE);
+ &ie[2 + 4], ie[1] - 4,
+ &dot11WPAIE, false);
/*Extract the multicast cipher, the encType for unicast
cipher for wpa-none is none */
encryptionType =
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index 7297c1646562..9a62f940898f 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -2242,7 +2242,7 @@ int hdd_softap_unpack_ie(tHalHandle halHandle,
/* Unpack the RSN IE */
memset(&dot11RSNIE, 0, sizeof(tDot11fIERSN));
dot11f_unpack_ie_rsn((tpAniSirGlobal) halHandle,
- pRsnIe, RSNIeLen, &dot11RSNIE);
+ pRsnIe, RSNIeLen, &dot11RSNIE, false);
/* Copy out the encryption and authentication types */
hdd_debug("pairwise cipher suite count: %d",
dot11RSNIE.pwise_cipher_suite_count);
@@ -2278,7 +2278,7 @@ int hdd_softap_unpack_ie(tHalHandle halHandle,
/* Unpack the WPA IE */
memset(&dot11WPAIE, 0, sizeof(tDot11fIEWPA));
dot11f_unpack_ie_wpa((tpAniSirGlobal) halHandle,
- pRsnIe, RSNIeLen, &dot11WPAIE);
+ pRsnIe, RSNIeLen, &dot11WPAIE, false);
/* Copy out the encryption and authentication types */
hdd_debug("WPA unicast cipher suite count: %d",
dot11WPAIE.unicast_cipher_count);
@@ -6235,7 +6235,8 @@ static bool wlan_hdd_get_sap_obss(hdd_adapter_t *pHostapdAdapter)
if (ie && ie[1]) {
qdf_mem_copy(ht_cap_ie, &ie[2], DOT11F_IE_HTCAPS_MAX_LEN);
dot11f_unpack_ie_ht_caps((tpAniSirGlobal)hdd_ctx->hHal,
- ht_cap_ie, ie[1], &dot11_ht_cap_ie);
+ ht_cap_ie, ie[1], &dot11_ht_cap_ie,
+ false);
return dot11_ht_cap_ie.supportedChannelWidthSet;
}
diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c
index e5c0fe569c10..7b2c68806f36 100644
--- a/core/hdd/src/wlan_hdd_scan.c
+++ b/core/hdd/src/wlan_hdd_scan.c
@@ -331,7 +331,7 @@ static int hdd_indicate_scan_result(hdd_scan_info_t *scanInfo,
dot11f_unpack_beacon_i_es((tpAniSirGlobal)
hHal, (uint8_t *) descriptor->ieFields,
- ie_length, &dot11BeaconIEs);
+ ie_length, &dot11BeaconIEs, false);
pDot11SSID = &dot11BeaconIEs.SSID;
diff --git a/core/mac/src/pe/lim/lim_process_action_frame.c b/core/mac/src/pe/lim/lim_process_action_frame.c
index 1a43c88d5a83..8e1400e65830 100644
--- a/core/mac/src/pe/lim/lim_process_action_frame.c
+++ b/core/mac/src/pe/lim/lim_process_action_frame.c
@@ -235,7 +235,7 @@ static void __lim_process_channel_switch_action_frame(tpAniSirGlobal mac_ctx,
/* Unpack channel switch frame */
status = dot11f_unpack_channel_switch(mac_ctx, body_ptr, frame_len,
- chnl_switch_frame);
+ chnl_switch_frame, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to unpack and parse (0x%08x, %d bytes)",
@@ -369,7 +369,7 @@ lim_process_ext_channel_switch_action_frame(tpAniSirGlobal mac_ctx,
/* Unpack channel switch frame */
status = dot11f_unpack_ext_channel_switch_action_frame(mac_ctx,
- body, frame_len, ext_channel_switch_frame);
+ body, frame_len, ext_channel_switch_frame, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse CHANSW action frame (0x%08x, len %d):",
@@ -476,7 +476,7 @@ static void __lim_process_operating_mode_action_frame(tpAniSirGlobal mac_ctx,
}
/* Unpack channel switch frame */
status = dot11f_unpack_operating_mode(mac_ctx, body_ptr, frame_len,
- operating_mode_frm);
+ operating_mode_frm, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to unpack and parse (0x%08x, %d bytes)",
status, frame_len);
@@ -606,7 +606,7 @@ static void __lim_process_gid_management_action_frame(tpAniSirGlobal mac_ctx,
/* Unpack Gid Mangement Action frame */
status = dot11f_unpack_vht_gid_management_action_frame(mac_ctx,
- body_ptr, frame_len, gid_mgmt_frame);
+ body_ptr, frame_len, gid_mgmt_frame, false);
if (DOT11F_FAILED(status)) {
pe_err("Fail to parse an Grp id frame (0x%08x, %d bytes):",
status, frame_len);
@@ -1232,7 +1232,8 @@ __lim_process_sm_power_save_update(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
}
/**Unpack the received frame */
- nStatus = dot11f_unpack_sm_power_save(pMac, pBody, frameLen, &frmSMPower);
+ nStatus = dot11f_unpack_sm_power_save(pMac, pBody, frameLen,
+ &frmSMPower, false);
if (DOT11F_FAILED(nStatus)) {
pe_err("Failed to unpack and parse a Update SM Power (0x%08x, %d bytes):",
@@ -1306,9 +1307,8 @@ __lim_process_radio_measure_request(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
}
/**Unpack the received frame */
- nStatus = dot11f_unpack_radio_measurement_request(pMac,
- pBody,
- frameLen, frm);
+ nStatus = dot11f_unpack_radio_measurement_request(pMac, pBody,
+ frameLen, frm, false);
if (DOT11F_FAILED(nStatus)) {
pe_err("Failed to unpack and parse a Radio Measure request (0x%08x, %d bytes):",
@@ -1349,7 +1349,8 @@ __lim_process_link_measurement_req(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
/**Unpack the received frame */
nStatus =
- dot11f_unpack_link_measurement_request(pMac, pBody, frameLen, &frm);
+ dot11f_unpack_link_measurement_request(pMac, pBody, frameLen,
+ &frm, false);
if (DOT11F_FAILED(nStatus)) {
pe_err("Failed to unpack and parse a Link Measure request (0x%08x, %d bytes):",
@@ -1396,7 +1397,8 @@ __lim_process_neighbor_report(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
/**Unpack the received frame */
nStatus =
- dot11f_unpack_neighbor_report_response(pMac, pBody, frameLen, pFrm);
+ dot11f_unpack_neighbor_report_response(pMac, pBody,
+ frameLen, pFrm, false);
if (DOT11F_FAILED(nStatus)) {
pe_err("Failed to unpack and parse a Neighbor report response (0x%08x, %d bytes):",
diff --git a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
index fa8f210cba78..ad91cf1716e1 100644
--- a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
+++ b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
@@ -779,7 +779,7 @@ static bool lim_chk_n_process_wpa_rsn_ie(tpAniSirGlobal mac_ctx,
dot11f_unpack_ie_rsn(mac_ctx,
&assoc_req->rsn.info[0],
assoc_req->rsn.length,
- &dot11f_ie_rsn);
+ &dot11f_ie_rsn, false);
/* Check RSN version is supported */
if (SIR_MAC_OUI_VERSION_1 ==
@@ -851,7 +851,7 @@ static bool lim_chk_n_process_wpa_rsn_ie(tpAniSirGlobal mac_ctx,
dot11f_unpack_ie_wpa(mac_ctx,
&assoc_req->wpa.info[4],
assoc_req->wpa.length,
- &dot11f_ie_wpa);
+ &dot11f_ie_wpa, false);
/*
* check the groupwise and pairwise
* cipher suites
diff --git a/core/mac/src/pe/lim/lim_sme_req_utils.c b/core/mac/src/pe/lim/lim_sme_req_utils.c
index 4c7582182ab2..d0fb0848e0c3 100644
--- a/core/mac/src/pe/lim/lim_sme_req_utils.c
+++ b/core/mac/src/pe/lim/lim_sme_req_utils.c
@@ -286,13 +286,13 @@ lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message(tpAniSirGlobal mac_ctx,
pe_debug("Only RSN IE is present");
dot11f_unpack_ie_rsn(mac_ctx, &rsn_ie->rsnIEdata[2],
(uint8_t) rsn_ie->length,
- &session->gStartBssRSNIe);
+ &session->gStartBssRSNIe, false);
} else if ((rsn_ie->length == rsn_ie->rsnIEdata[1] + 2)
&& (rsn_ie->rsnIEdata[0] == SIR_MAC_WPA_EID)) {
pe_debug("Only WPA IE is present");
dot11f_unpack_ie_wpa(mac_ctx, &rsn_ie->rsnIEdata[6],
(uint8_t) rsn_ie->length - 4,
- &session->gStartBssWPAIe);
+ &session->gStartBssWPAIe, false);
}
/* Check validity of WPA IE */
if (wpa_idx + 6 >= SIR_MAC_MAX_IE_LENGTH)
@@ -312,10 +312,10 @@ lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message(tpAniSirGlobal mac_ctx,
/* Both RSN and WPA IEs are present */
dot11f_unpack_ie_rsn(mac_ctx, &rsn_ie->rsnIEdata[2],
(uint8_t) rsn_ie->length,
- &session->gStartBssRSNIe);
+ &session->gStartBssRSNIe, false);
dot11f_unpack_ie_wpa(mac_ctx, &rsn_ie->rsnIEdata[wpa_idx + 6],
rsn_ie->rsnIEdata[wpa_idx + 1] - 4,
- &session->gStartBssWPAIe);
+ &session->gStartBssWPAIe, false);
}
return true;
}
diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c
index 64e81043db33..c147daa7e389 100644
--- a/core/mac/src/pe/lim/lim_utils.c
+++ b/core/mac/src/pe/lim/lim_utils.c
@@ -6644,7 +6644,7 @@ tSirRetStatus lim_strip_supp_op_class_update_struct(tpAniSirGlobal mac_ctx,
/* update the extracted supp op class to struct*/
if (DOT11F_PARSE_SUCCESS != dot11f_unpack_ie_supp_operating_classes(
- mac_ctx, &extracted_buff[2], extracted_buff[1], dst)) {
+ mac_ctx, &extracted_buff[2], extracted_buff[1], dst, false)) {
pe_err("dot11f_unpack Parse Error");
return eSIR_FAILURE;
}
@@ -6688,7 +6688,7 @@ void lim_update_extcap_struct(tpAniSirGlobal mac_ctx,
qdf_mem_copy(&out[0], &buf[2], buf[1]);
if (DOT11F_PARSE_SUCCESS != dot11f_unpack_ie_ext_cap(mac_ctx, &out[0],
- buf[1], dst))
+ buf[1], dst, false))
pe_err("dot11f_unpack Parse Error");
}
diff --git a/core/mac/src/sys/legacy/src/utils/src/parser_api.c b/core/mac/src/sys/legacy/src/utils/src/parser_api.c
index 127e6fedd51b..df39db11e109 100644
--- a/core/mac/src/sys/legacy/src/utils/src/parser_api.c
+++ b/core/mac/src/sys/legacy/src/utils/src/parser_api.c
@@ -1526,7 +1526,7 @@ populate_dot11f_rsn(tpAniSirGlobal pMac,
if (0 <= idx) {
status = dot11f_unpack_ie_rsn(pMac, pRsnIe->rsnIEdata + idx + 2, /* EID, length */
pRsnIe->rsnIEdata[idx + 1],
- pDot11f);
+ pDot11f, false);
if (DOT11F_FAILED(status)) {
pe_err("Parse failure in Populate Dot11fRSN (0x%08x)",
status);
@@ -1575,7 +1575,7 @@ populate_dot11f_wapi(tpAniSirGlobal pMac,
if (0 <= idx) {
status = dot11f_unpack_ie_wapi(pMac, pRsnIe->rsnIEdata + idx + 2, /* EID, length */
pRsnIe->rsnIEdata[idx + 1],
- pDot11f);
+ pDot11f, false);
if (DOT11F_FAILED(status)) {
pe_err("Parse failure in populate_dot11f_wapi (0x%08x)",
status);
@@ -2103,7 +2103,7 @@ populate_dot11f_wpa(tpAniSirGlobal pMac,
if (0 <= idx) {
status = dot11f_unpack_ie_wpa(pMac, pRsnIe->rsnIEdata + idx + 2 + 4, /* EID, length, OUI */
pRsnIe->rsnIEdata[idx + 1] - 4, /* OUI */
- pDot11f);
+ pDot11f, false);
if (DOT11F_FAILED(status)) {
pe_err("Parse failure in Populate Dot11fWPA (0x%08x)",
status);
@@ -2149,7 +2149,7 @@ sir_convert_probe_req_frame2_struct(tpAniSirGlobal pMac,
qdf_mem_set((uint8_t *) pProbeReq, sizeof(tSirProbeReq), 0);
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_probe_request(pMac, pFrame, nFrame, &pr);
+ status = dot11f_unpack_probe_request(pMac, pFrame, nFrame, &pr, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse a Probe Request (0x%08x, %d bytes):",
status, nFrame);
@@ -2287,7 +2287,7 @@ tSirRetStatus sir_convert_probe_frame2_struct(tpAniSirGlobal pMac,
}
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_probe_response(pMac, pFrame, nFrame, pr);
+ status = dot11f_unpack_probe_response(pMac, pFrame, nFrame, pr, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse a Probe Response (0x%08x, %d bytes):",
status, nFrame);
@@ -2580,7 +2580,7 @@ sir_convert_assoc_req_frame2_struct(tpAniSirGlobal pMac,
qdf_mem_set((uint8_t *) pAssocReq, sizeof(tSirAssocReq), 0);
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_assoc_request(pMac, pFrame, nFrame, ar);
+ status = dot11f_unpack_assoc_request(pMac, pFrame, nFrame, ar, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse an Association Request (0x%08x, %d bytes):",
status, nFrame);
@@ -2772,7 +2772,7 @@ sir_convert_assoc_resp_frame2_struct(tpAniSirGlobal pMac,
qdf_mem_set((uint8_t *) pAssocRsp, sizeof(tSirAssocRsp), 0);
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_assoc_response(pMac, pFrame, nFrame, &ar);
+ status = dot11f_unpack_assoc_response(pMac, pFrame, nFrame, &ar, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse an Association Response (0x%08x, %d bytes):",
status, nFrame);
@@ -2983,7 +2983,8 @@ sir_convert_reassoc_req_frame2_struct(tpAniSirGlobal pMac,
qdf_mem_set((uint8_t *) pAssocReq, sizeof(tSirAssocReq), 0);
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_re_assoc_request(pMac, pFrame, nFrame, &ar);
+ status = dot11f_unpack_re_assoc_request(pMac, pFrame, nFrame,
+ &ar, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse a Re-association Request (0x%08x, %d bytes):",
status, nFrame);
@@ -3164,7 +3165,8 @@ sir_beacon_ie_ese_bcn_report(tpAniSirGlobal pMac,
}
qdf_mem_zero(pBies, sizeof(tDot11fBeaconIEs));
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_beacon_i_es(pMac, pPayload, nPayload, pBies);
+ status = dot11f_unpack_beacon_i_es(pMac, pPayload, nPayload,
+ pBies, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse Beacon IEs (0x%08x, %d bytes):",
@@ -3443,7 +3445,8 @@ sir_parse_beacon_ie(tpAniSirGlobal pMac,
}
qdf_mem_zero(pBies, sizeof(tDot11fBeaconIEs));
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_beacon_i_es(pMac, pPayload, nPayload, pBies);
+ status = dot11f_unpack_beacon_i_es(pMac, pPayload, nPayload,
+ pBies, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse Beacon IEs (0x%08x, %d bytes):",
@@ -3741,7 +3744,7 @@ sir_convert_beacon_frame2_struct(tpAniSirGlobal pMac,
qdf_mem_copy(pBeaconStruct->bssid, pHdr->sa, 6);
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_beacon(pMac, pPayload, nPayload, pBeacon);
+ status = dot11f_unpack_beacon(pMac, pPayload, nPayload, pBeacon, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse Beacon IEs (0x%08x, %d bytes):",
status, nPayload);
@@ -4086,7 +4089,8 @@ sir_convert_auth_frame2_struct(tpAniSirGlobal pMac,
qdf_mem_set((uint8_t *) pAuth, sizeof(tSirMacAuthFrameBody), 0);
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_authentication(pMac, pFrame, nFrame, &auth);
+ status = dot11f_unpack_authentication(pMac, pFrame, nFrame,
+ &auth, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse an Authentication frame (0x%08x, %d bytes):",
status, nFrame);
@@ -4139,12 +4143,13 @@ sir_convert_addts_req2_struct(tpAniSirGlobal pMac,
/* delegate to the framesc-generated code, */
switch (*pFrame) {
case SIR_MAC_ACTION_QOS_MGMT:
- status = dot11f_unpack_add_ts_request(pMac, pFrame, nFrame, &addts);
+ status = dot11f_unpack_add_ts_request(pMac, pFrame, nFrame,
+ &addts, false);
break;
case SIR_MAC_ACTION_WME:
status =
dot11f_unpack_wmm_add_ts_request(pMac, pFrame, nFrame,
- &wmmaddts);
+ &wmmaddts, false);
break;
default:
pe_err("sir_convert_addts_req2_struct invoked "
@@ -4271,12 +4276,13 @@ sir_convert_addts_rsp2_struct(tpAniSirGlobal pMac,
switch (*pFrame) {
case SIR_MAC_ACTION_QOS_MGMT:
status =
- dot11f_unpack_add_ts_response(pMac, pFrame, nFrame, &addts);
+ dot11f_unpack_add_ts_response(pMac, pFrame, nFrame,
+ &addts, false);
break;
case SIR_MAC_ACTION_WME:
status =
dot11f_unpack_wmm_add_ts_response(pMac, pFrame, nFrame,
- &wmmaddts);
+ &wmmaddts, false);
break;
default:
pe_err("sir_convert_addts_rsp2_struct invoked "
@@ -4439,10 +4445,12 @@ sir_convert_delts_req2_struct(tpAniSirGlobal pMac,
/* delegate to the framesc-generated code, */
switch (*pFrame) {
case SIR_MAC_ACTION_QOS_MGMT:
- status = dot11f_unpack_del_ts(pMac, pFrame, nFrame, &delts);
+ status = dot11f_unpack_del_ts(pMac, pFrame, nFrame,
+ &delts, false);
break;
case SIR_MAC_ACTION_WME:
- status = dot11f_unpack_wmm_del_ts(pMac, pFrame, nFrame, &wmmdelts);
+ status = dot11f_unpack_wmm_del_ts(pMac, pFrame, nFrame,
+ &wmmdelts, false);
break;
default:
pe_err("sirConvertDeltsRsp2Struct invoked "
@@ -4508,7 +4516,8 @@ sir_convert_qos_map_configure_frame2_struct(tpAniSirGlobal pMac,
tDot11fQosMapConfigure mapConfigure;
uint32_t status;
status =
- dot11f_unpack_qos_map_configure(pMac, pFrame, nFrame, &mapConfigure);
+ dot11f_unpack_qos_map_configure(pMac, pFrame, nFrame,
+ &mapConfigure, false);
if (DOT11F_FAILED(status) || !mapConfigure.QosMapSet.present) {
pe_err("Failed to parse Qos Map Configure frame (0x%08x, %d bytes):",
status, nFrame);
@@ -4538,7 +4547,7 @@ sir_convert_tpc_req_frame2_struct(tpAniSirGlobal pMac,
uint32_t status;
qdf_mem_set((uint8_t *) pTpcReqFrame, sizeof(tSirMacTpcReqActionFrame),
0);
- status = dot11f_unpack_tpc_request(pMac, pFrame, nFrame, &req);
+ status = dot11f_unpack_tpc_request(pMac, pFrame, nFrame, &req, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse a TPC Request frame (0x%08x, %d bytes):",
status, nFrame);
@@ -4579,7 +4588,8 @@ sir_convert_meas_req_frame2_struct(tpAniSirGlobal pMac,
sizeof(tpSirMacMeasReqActionFrame), 0);
/* delegate to the framesc-generated code, */
- status = dot11f_unpack_measurement_request(pMac, pFrame, nFrame, &mr);
+ status = dot11f_unpack_measurement_request(pMac, pFrame,
+ nFrame, &mr, false);
if (DOT11F_FAILED(status)) {
pe_err("Failed to parse a Measurement Request frame (0x%08x, %d bytes):",
status, nFrame);
@@ -5446,7 +5456,7 @@ tSirRetStatus populate_dot11f_assoc_res_wsc_ie(tpAniSirGlobal pMac,
/* retreive WSC IE from given AssocReq */
dot11f_unpack_ie_wsc_assoc_req(pMac, wscIe + 2 + 4, /* EID, length, OUI */
wscIe[1] - 4, /* length without OUI */
- &parsedWscAssocReq);
+ &parsedWscAssocReq, false);
pDot11f->present = 1;
/* version has to be 0x10 */
pDot11f->Version.present = 1;
diff --git a/core/sme/src/csr/csr_roam_preauth.c b/core/sme/src/csr/csr_roam_preauth.c
index 326c9d9d1f5d..6b53d2ca979d 100644
--- a/core/sme/src/csr/csr_roam_preauth.c
+++ b/core/sme/src/csr/csr_roam_preauth.c
@@ -651,7 +651,7 @@ void csr_roam_ft_pre_auth_rsp_processor(tHalHandle hal,
status = dot11f_unpack_authentication(mac_ctx,
preauth_rsp->ft_ies,
- preauth_rsp->ft_ies_length, p_auth);
+ preauth_rsp->ft_ies_length, p_auth, false);
if (DOT11F_FAILED(status))
sme_err("Failed to parse an Authentication frame");
else if (p_auth->MobilityDomain.present)
diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c
index 44f85886ce29..b3554010f80a 100644
--- a/core/sme/src/csr/csr_util.c
+++ b/core/sme/src/csr/csr_util.c
@@ -1322,8 +1322,8 @@ QDF_STATUS csr_parse_bss_description_ies(tHalHandle hHal,
if (ieLen > 0 && pIEStruct)
if (!DOT11F_FAILED(dot11f_unpack_beacon_i_es
- (pMac, (uint8_t *) pBssDesc->ieFields, ieLen,
- pIEStruct)))
+ (pMac, (uint8_t *) pBssDesc->ieFields,
+ ieLen, pIEStruct, false)))
status = QDF_STATUS_SUCCESS;
return status;