qcacld-3.0: Remove obsolete eWNI_SME_SET_APWPARSNIEs_REQ

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

Change-Id: I67819ea52b9600ed6afd986202090b99baf0f666
CRs-Fixed: 2114959
This commit is contained in:
Jeff Johnson 2017-09-22 07:45:47 -07:00 • committed by snandini
commit 9cf61f780e
4 changed files with 0 additions and 54 deletions

View file

@ -97,7 +97,6 @@ enum eWniMsgTypes {
eWNI_SME_UPDATE_APWPSIE_REQ,
eWNI_SME_GET_WPSPBC_SESSION_REQ,
eWNI_SME_WPS_PBC_PROBE_REQ_IND,
eWNI_SME_SET_APWPARSNIEs_REQ,
eWNI_SME_UPPER_LAYER_ASSOC_CNF,
eWNI_SME_SESSION_UPDATE_PARAM,
eWNI_SME_CHNG_MCC_BEACON_INTERVAL,

View file

@ -1451,7 +1451,6 @@ static void lim_process_messages(tpAniSirGlobal mac_ctx,
case eWNI_SME_UPDATE_APWPSIE_REQ:
case eWNI_SME_SESSION_UPDATE_PARAM:
case eWNI_SME_GET_WPSPBC_SESSION_REQ:
case eWNI_SME_SET_APWPARSNIEs_REQ:
case eWNI_SME_CHNG_MCC_BEACON_INTERVAL:
case eWNI_SME_NEIGHBOR_REPORT_REQ_IND:
case eWNI_SME_BEACON_REPORT_RESP_XMIT_IND:

View file

@ -4142,52 +4142,6 @@ static void __lim_process_sme_session_update(tpAniSirGlobal mac_ctx,
}
}
static void __lim_process_sme_set_wparsni_es(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
{
tpSirUpdateAPWPARSNIEsReq pUpdateAPWPARSNIEsReq;
tpPESession psessionEntry;
uint8_t sessionId; /* PE sessionID */
if (pMsgBuf == NULL) {
pe_err("Buffer is Pointing to NULL");
return;
}
pUpdateAPWPARSNIEsReq = qdf_mem_malloc(sizeof(tSirUpdateAPWPSIEsReq));
if (NULL == pUpdateAPWPARSNIEsReq) {
pe_err("call to AllocateMemory failed for pUpdateAPWPARSNIEsReq");
return;
}
qdf_mem_copy(pUpdateAPWPARSNIEsReq, pMsgBuf,
sizeof(struct sSirUpdateAPWPARSNIEsReq));
psessionEntry = pe_find_session_by_bssid(pMac,
pUpdateAPWPARSNIEsReq->bssid.bytes,
&sessionId);
if (psessionEntry == NULL) {
pe_warn("Session does not exist for given BSSID");
goto end;
}
qdf_mem_copy(&psessionEntry->pLimStartBssReq->rsnIE,
&pUpdateAPWPARSNIEsReq->APWPARSNIEs, sizeof(tSirRSNie));
lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message(pMac,
&psessionEntry->
pLimStartBssReq->rsnIE,
psessionEntry);
psessionEntry->pLimStartBssReq->privacy = 1;
psessionEntry->privacy = 1;
sch_set_fixed_beacon_fields(pMac, psessionEntry);
lim_send_beacon_ind(pMac, psessionEntry);
end:
qdf_mem_free(pUpdateAPWPARSNIEsReq);
return;
} /*** end __lim_process_sme_set_wparsni_es(tpAniSirGlobal pMac, uint32_t *pMsgBuf) ***/
/*
Update the beacon Interval dynamically if beaconInterval is different in MCC
*/
@ -5136,11 +5090,6 @@ bool lim_process_sme_req_messages(tpAniSirGlobal pMac,
case eWNI_SME_GET_WPSPBC_SESSION_REQ:
lim_process_sme_get_wpspbc_sessions(pMac, pMsgBuf);
break;
case eWNI_SME_SET_APWPARSNIEs_REQ:
__lim_process_sme_set_wparsni_es(pMac, pMsgBuf);
break;
case eWNI_SME_CHNG_MCC_BEACON_INTERVAL:
/* Update the beaconInterval */
__lim_process_sme_change_bi(pMac, pMsgBuf);

View file

@ -273,7 +273,6 @@ uint8_t *mac_trace_get_sme_msg_string(uint16_t sme_msg)
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_SET_APWPARSNIEs_REQ);
CASE_RETURN_STRING(eWNI_SME_UPPER_LAYER_ASSOC_CNF);
CASE_RETURN_STRING(eWNI_SME_SESSION_UPDATE_PARAM);
CASE_RETURN_STRING(eWNI_SME_CHNG_MCC_BEACON_INTERVAL);