qcacld-3.0: Remove legacy scan request handling
Remove legacy scan request handling from SME. Change-Id: Ibff2bb52ad16011d275457e970eb34420256efc4 CRs-Fixed: 2140795
Cette révision appartient à :

révisé par
snandini

Parent
0d175ae7af
révision
8d6011b588
@@ -205,7 +205,6 @@ enum eWniMsgTypes {
|
||||
eWNI_SME_HW_MODE_TRANS_IND,
|
||||
eWNI_SME_NSS_UPDATE_REQ,
|
||||
eWNI_SME_NSS_UPDATE_RSP,
|
||||
eWNI_SME_SCAN_CMD,
|
||||
eWNI_SME_OCB_SET_CONFIG_RSP,
|
||||
eWNI_SME_OCB_GET_TSF_TIMER_RSP,
|
||||
eWNI_SME_DCC_GET_STATS_RSP,
|
||||
|
@@ -351,7 +351,6 @@ uint8_t *mac_trace_get_sme_msg_string(uint16_t sme_msg)
|
||||
CASE_RETURN_STRING(eWNI_SME_HW_MODE_TRANS_IND);
|
||||
CASE_RETURN_STRING(eWNI_SME_NSS_UPDATE_REQ);
|
||||
CASE_RETURN_STRING(eWNI_SME_NSS_UPDATE_RSP);
|
||||
CASE_RETURN_STRING(eWNI_SME_SCAN_CMD);
|
||||
CASE_RETURN_STRING(eWNI_SME_REGISTER_MGMT_FRAME_CB);
|
||||
CASE_RETURN_STRING(eWNI_SME_HT40_OBSS_SCAN_IND);
|
||||
#ifdef WLAN_FEATURE_NAN
|
||||
|
@@ -1305,38 +1305,6 @@ QDF_STATUS sme_start(tHalHandle hHal)
|
||||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* sme_handle_scan_req() - Scan request handler
|
||||
* @mac_ctx: MAC global context
|
||||
* @msg: message buffer
|
||||
*
|
||||
* Scan request message from upper layer is handled as
|
||||
* part of this API
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
static QDF_STATUS sme_handle_scan_req(tpAniSirGlobal mac_ctx,
|
||||
void *msg)
|
||||
{
|
||||
struct ani_scan_req *scan_msg;
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
uint16_t session_id;
|
||||
csr_scan_completeCallback callback;
|
||||
|
||||
scan_msg = msg;
|
||||
session_id = scan_msg->session_id;
|
||||
callback = scan_msg->callback;
|
||||
status = csr_scan_request(mac_ctx, session_id,
|
||||
scan_msg->scan_param,
|
||||
callback, scan_msg->ctx);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status))
|
||||
sme_err("Scan request failed. session_id: %d", session_id);
|
||||
|
||||
csr_scan_free_request(mac_ctx, scan_msg->scan_param);
|
||||
qdf_mem_free(scan_msg->scan_param);
|
||||
return status;
|
||||
}
|
||||
|
||||
static QDF_STATUS dfs_msg_processor(tpAniSirGlobal mac,
|
||||
struct scheduler_msg *msg)
|
||||
{
|
||||
@@ -2142,14 +2110,7 @@ QDF_STATUS sme_process_msg(tHalHandle hHal, struct scheduler_msg *pMsg)
|
||||
sme_err("Empty message for: %d", pMsg->type);
|
||||
}
|
||||
break;
|
||||
case eWNI_SME_SCAN_CMD:
|
||||
if (pMsg->bodyptr) {
|
||||
status = sme_handle_scan_req(pMac, pMsg->bodyptr);
|
||||
qdf_mem_free(pMsg->bodyptr);
|
||||
} else {
|
||||
sme_err("Empty message for: %d", pMsg->type);
|
||||
}
|
||||
break;
|
||||
|
||||
#ifdef WLAN_FEATURE_11W
|
||||
case eWNI_SME_UNPROT_MGMT_FRM_IND:
|
||||
if (pMsg->bodyptr) {
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur