qcacld-3.0: Cleanup legacy scan code
Cleanup unused legacy scan code related to abort scan. Change-Id: I32c4c81b54bd464ebd5918c5a697fc57f505abc7 CRs-Fixed: 2063667
This commit is contained in:

committed by
snandini

parent
d6ed2c07bc
commit
0a11f8dc6f
@@ -539,20 +539,6 @@ uint16_t sme_check_concurrent_channel_overlap(tHalHandle hHal, uint16_t sap_ch,
|
||||
eCsrPhyMode sapPhyMode,
|
||||
uint8_t cc_switch_mode);
|
||||
#endif
|
||||
/**
|
||||
* sme_abort_mac_scan() - API to cancel MAC scan
|
||||
* @hHal: The handle returned by mac_open
|
||||
* @sessionId: sessionId on which we need to abort scan
|
||||
* @scan_id: scan id on which we need to abort scan
|
||||
* @reason: Reason to abort the scan
|
||||
*
|
||||
* This function aborts MAC scan.
|
||||
*
|
||||
* Return: QDF_STATUS_E_FAILURE for failure, QDF_STATUS_SUCCESS for
|
||||
* success
|
||||
*/
|
||||
QDF_STATUS sme_abort_mac_scan(tHalHandle hHal, uint8_t sessionId,
|
||||
uint32_t scan_id, eCsrAbortReason reason);
|
||||
QDF_STATUS sme_get_cfg_valid_channels(uint8_t *aValidChannels,
|
||||
uint32_t *len);
|
||||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
|
@@ -5923,25 +5923,6 @@ QDF_STATUS sme_set_keep_alive(tHalHandle hHal, uint8_t session_id,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS sme_abort_mac_scan(tHalHandle hHal, uint8_t sessionId,
|
||||
uint32_t scan_id, eCsrAbortReason reason)
|
||||
{
|
||||
QDF_STATUS status;
|
||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||
|
||||
MTRACE(qdf_trace(QDF_MODULE_ID_SME,
|
||||
TRACE_CODE_SME_RX_HDD_ABORT_MACSCAN, NO_SESSION, 0));
|
||||
status = sme_acquire_global_lock(&pMac->sme);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
status = csr_scan_abort_mac_scan(pMac, sessionId,
|
||||
scan_id, reason);
|
||||
|
||||
sme_release_global_lock(&pMac->sme);
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
\fn sme_get_operation_channel
|
||||
\brief API to get current channel on which STA is parked
|
||||
|
Reference in New Issue
Block a user