Sfoglia il codice sorgente

qcacld-3.0: Remove pStaWapiReqIE from the SAP context

Currently the SAP has logic to extract and locally save the WAPI
IE. But this is legacy code inherited from a version of the driver
that supported in-driver WAPI, and now the SAP WAPI functionality is
handled by hostapd. Since this local copy of the WAPI IE is never
used, remove it.

Change-Id: I57cad0d8e44ff1ca5a7a61454a21aac61bf873c0
CRs-Fixed: 2114153
Jeff Johnson 7 anni fa
parent
commit
dba35543b8
2 ha cambiato i file con 0 aggiunte e 11 eliminazioni
  1. 0 6
      core/sap/src/sap_api_link_cntl.c
  2. 0 5
      core/sap/src/sap_internal.h

+ 0 - 6
core/sap/src/sap_api_link_cntl.c

@@ -803,12 +803,6 @@ wlansap_roam_process_infra_assoc_ind(struct sap_context *sap_ctx,
 	if (sap_ctx->nStaWPARSnReqIeLength)
 		qdf_mem_copy(sap_ctx->pStaWpaRsnReqIE, csr_roam_info->prsnIE,
 			     sap_ctx->nStaWPARSnReqIeLength);
-#ifdef FEATURE_WLAN_WAPI
-	sap_ctx->nStaWAPIReqIeLength = csr_roam_info->wapiIELen;
-	if (sap_ctx->nStaWAPIReqIeLength)
-		qdf_mem_copy(sap_ctx->pStaWapiReqIE, csr_roam_info->pwapiIE,
-			     sap_ctx->nStaWAPIReqIeLength);
-#endif
 	sap_ctx->nStaAddIeLength = csr_roam_info->addIELen;
 	if (sap_ctx->nStaAddIeLength)
 		qdf_mem_copy(sap_ctx->pStaAddIE, csr_roam_info->paddIE,

+ 0 - 5
core/sap/src/sap_internal.h

@@ -193,11 +193,6 @@ struct sap_context {
 	uint8_t pStaWpaRsnReqIE[MAX_ASSOC_IND_IE_LEN];
 	tSirRSNie APWPARSNIEs;
 
-#ifdef FEATURE_WLAN_WAPI
-	uint32_t nStaWAPIReqIeLength;
-	uint8_t pStaWapiReqIE[MAX_ASSOC_IND_IE_LEN];
-#endif
-
 	uint32_t nStaAddIeLength;
 	uint8_t pStaAddIE[MAX_ASSOC_IND_IE_LEN];
 	uint8_t *channelList;