Ver código fonte

qcacld-3.0: Remove csr_roam_get_wapi_*_ie()

Functions csr_roam_get_wapi_req_ie() & csr_roam_get_wapi_rsp_ie()
are unused, so remove them.

Change-Id: If4f8a3cd00c7853657cd1f446ba4e3dc3c422370
CRs-Fixed: 2370778
Jeff Johnson 6 anos atrás
pai
commit
17c392616b
2 arquivos alterados com 0 adições e 58 exclusões
  1. 0 5
      core/sme/inc/csr_internal.h
  2. 0 53
      core/sme/src/csr/csr_api_roam.c

+ 0 - 5
core/sme/inc/csr_internal.h

@@ -1038,11 +1038,6 @@ QDF_STATUS csr_stop(struct mac_context *mac);
 QDF_STATUS csr_ready(struct mac_context *mac);
 
 #ifdef FEATURE_WLAN_WAPI
-QDF_STATUS csr_roam_get_wapi_req_ie(struct mac_context *mac,
-		uint32_t sessionId, uint32_t *pLen, uint8_t *pBuf);
-QDF_STATUS csr_roam_get_wapi_rsp_ie(struct mac_context *mac,
-						uint32_t sessionId,
-		uint32_t *pLen, uint8_t *pBuf);
 uint8_t csr_construct_wapi_ie(struct mac_context *mac, uint32_t sessionId,
 		struct csr_roam_profile *pProfile,
 		tSirBssDescription *pSirBssDesc,

+ 0 - 53
core/sme/src/csr/csr_api_roam.c

@@ -14144,59 +14144,6 @@ QDF_STATUS csr_roam_get_wpa_rsn_rsp_ie(struct mac_context *mac, uint32_t session
 	return status;
 }
 
-#ifdef FEATURE_WLAN_WAPI
-QDF_STATUS csr_roam_get_wapi_req_ie(struct mac_context *mac, uint32_t sessionId,
-				    uint32_t *pLen, uint8_t *pBuf)
-{
-	QDF_STATUS status = QDF_STATUS_E_INVAL;
-	uint32_t len;
-	struct csr_roam_session *pSession = CSR_GET_SESSION(mac, sessionId);
-
-	if (!pSession) {
-		sme_err("session %d not found", sessionId);
-		return QDF_STATUS_E_FAILURE;
-	}
-
-	if (pLen) {
-		len = *pLen;
-		*pLen = pSession->nWapiReqIeLength;
-		if (pBuf) {
-			if (len >= pSession->nWapiReqIeLength) {
-				qdf_mem_copy(pBuf, pSession->pWapiReqIE,
-					     pSession->nWapiReqIeLength);
-				status = QDF_STATUS_SUCCESS;
-			}
-		}
-	}
-	return status;
-}
-
-QDF_STATUS csr_roam_get_wapi_rsp_ie(struct mac_context *mac, uint32_t sessionId,
-				    uint32_t *pLen, uint8_t *pBuf)
-{
-	QDF_STATUS status = QDF_STATUS_E_INVAL;
-	uint32_t len;
-	struct csr_roam_session *pSession = CSR_GET_SESSION(mac, sessionId);
-
-	if (!pSession) {
-		sme_err("session %d not found", sessionId);
-		return QDF_STATUS_E_FAILURE;
-	}
-
-	if (pLen) {
-		len = *pLen;
-		*pLen = pSession->nWapiRspIeLength;
-		if (pBuf) {
-			if (len >= pSession->nWapiRspIeLength) {
-				qdf_mem_copy(pBuf, pSession->pWapiRspIE,
-					     pSession->nWapiRspIeLength);
-				status = QDF_STATUS_SUCCESS;
-			}
-		}
-	}
-	return status;
-}
-#endif /* FEATURE_WLAN_WAPI */
 eRoamCmdStatus csr_get_roam_complete_status(struct mac_context *mac,
 						uint32_t sessionId)
 {