qcacld-3.0: Remove obsolete eWNI_SME_UPDATE_APWPSIE_REQ

Change "qcacld-3.0: Remove obsolete csr_roam_update_apwpsie()"
removed the only sender of message eWNI_SME_UPDATE_APWPSIE_REQ. Since
this message is no longer used, remove it along with the now obsolete
handler code.

Change-Id: I191dc17898bcbf84ad4b6d03c515a8124a0f4d24
CRs-Fixed: 2115348
This commit is contained in:
Jeff Johnson
2017-09-22 18:30:36 -07:00
committed by snandini
parent e63a10733b
commit f57993cb19
4 changed files with 0 additions and 47 deletions

View File

@@ -93,7 +93,6 @@ enum eWniMsgTypes {
eWNI_SME_GET_STATISTICS_RSP,
eWNI_SME_GET_RSSI_REQ,
eWNI_SME_GET_ASSOC_STAS_REQ,
eWNI_SME_UPDATE_APWPSIE_REQ,
eWNI_SME_GET_WPSPBC_SESSION_REQ,
eWNI_SME_WPS_PBC_PROBE_REQ_IND,
eWNI_SME_UPPER_LAYER_ASSOC_CNF,

View File

@@ -1447,7 +1447,6 @@ static void lim_process_messages(tpAniSirGlobal mac_ctx,
case eWNI_SME_ADDTS_REQ:
case eWNI_SME_DELTS_REQ:
case eWNI_SME_GET_ASSOC_STAS_REQ:
case eWNI_SME_UPDATE_APWPSIE_REQ:
case eWNI_SME_SESSION_UPDATE_PARAM:
case eWNI_SME_GET_WPSPBC_SESSION_REQ:
case eWNI_SME_CHNG_MCC_BEACON_INTERVAL:

View File

@@ -3878,47 +3878,6 @@ __lim_process_sme_get_tsm_stats_request(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
}
#endif /* FEATURE_WLAN_ESE */
static void
__lim_process_sme_update_apwpsi_es(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
{
tpSirUpdateAPWPSIEsReq pUpdateAPWPSIEsReq;
tpPESession psessionEntry;
uint8_t sessionId; /* PE sessionID */
pe_debug("received UPDATE_APWPSIEs_REQ message");
if (pMsgBuf == NULL) {
pe_err("Buffer is Pointing to NULL");
return;
}
pUpdateAPWPSIEsReq = qdf_mem_malloc(sizeof(tSirUpdateAPWPSIEsReq));
if (NULL == pUpdateAPWPSIEsReq) {
pe_err("call to AllocateMemory failed for pUpdateAPWPSIEsReq");
return;
}
qdf_mem_copy(pUpdateAPWPSIEsReq, pMsgBuf,
sizeof(struct sSirUpdateAPWPSIEsReq));
psessionEntry = pe_find_session_by_bssid(pMac,
pUpdateAPWPSIEsReq->bssid.bytes,
&sessionId);
if (psessionEntry == NULL) {
pe_warn("Session does not exist for given BSSID");
goto end;
}
qdf_mem_copy(&psessionEntry->APWPSIEs, &pUpdateAPWPSIEsReq->APWPSIEs,
sizeof(tSirAPWPSIEs));
sch_set_fixed_beacon_fields(pMac, psessionEntry);
lim_send_beacon_ind(pMac, psessionEntry);
end:
qdf_mem_free(pUpdateAPWPSIEsReq);
return;
}
static void lim_process_sme_update_config(tpAniSirGlobal mac_ctx,
struct update_config *msg)
{
@@ -5057,9 +5016,6 @@ bool lim_process_sme_req_messages(tpAniSirGlobal pMac,
__lim_process_roam_scan_offload_req(pMac, pMsgBuf);
bufConsumed = false;
break;
case eWNI_SME_UPDATE_APWPSIE_REQ:
__lim_process_sme_update_apwpsi_es(pMac, pMsgBuf);
break;
case eWNI_SME_GET_WPSPBC_SESSION_REQ:
lim_process_sme_get_wpspbc_sessions(pMac, pMsgBuf);
break;

View File

@@ -269,7 +269,6 @@ uint8_t *mac_trace_get_sme_msg_string(uint16_t sme_msg)
CASE_RETURN_STRING(eWNI_SME_GET_STATISTICS_RSP);
CASE_RETURN_STRING(eWNI_SME_GET_RSSI_REQ);
CASE_RETURN_STRING(eWNI_SME_GET_ASSOC_STAS_REQ);
CASE_RETURN_STRING(eWNI_SME_UPDATE_APWPSIE_REQ);
CASE_RETURN_STRING(eWNI_SME_GET_WPSPBC_SESSION_REQ);
CASE_RETURN_STRING(eWNI_SME_WPS_PBC_PROBE_REQ_IND);
CASE_RETURN_STRING(eWNI_SME_UPPER_LAYER_ASSOC_CNF);