qcacld-3.0: Remove sme_set_neighbor_scan_min_period()

Change Id39629e33e87ffe6ed58f375609a55e324618693 ("qcacld-3.0: Apply
second part of LFR INIs changes in HDD layer") removed the last client
of sme_set_neighbor_scan_min_period()").  Since this function is
unused, remove it.

Change-Id: I305b9d78582b5e633079daeb864da703428314d8
CRs-Fixed: 2371192
This commit is contained in:
Jeff Johnson 2018-12-19 13:43:01 -08:00 committed by nshrivas
parent 9bf35c4459
commit 7d99c7f2bf
2 changed files with 0 additions and 49 deletions

View File

@ -789,8 +789,6 @@ QDF_STATUS sme_set_neighbor_scan_period(mac_handle_t mac_handle,
const uint16_t nNeighborScanPeriod);
uint16_t sme_get_neighbor_scan_period(mac_handle_t mac_handle,
uint8_t sessionId);
QDF_STATUS sme_set_neighbor_scan_min_period(mac_handle_t mac_handle,
uint8_t session_id, const uint16_t neighbor_scan_min_period);
QDF_STATUS sme_set_roam_bmiss_first_bcnt(mac_handle_t mac_handle,
uint8_t sessionId, const uint8_t nRoamBmissFirstBcnt);
QDF_STATUS sme_set_roam_bmiss_final_bcnt(mac_handle_t mac_handle,

View File

@ -7127,53 +7127,6 @@ uint16_t sme_get_neighbor_scan_period(mac_handle_t mac_handle,
neighborScanPeriod;
}
/**
* sme_set_neighbor_scan_min_period() - Update neighbor_scan_min_period
* This function is called through dynamic setConfig callback function
* to configure neighbor_scan_min_period
*
* @mac_handle: Opaque handle to the global MAC context
* @session_id - Session Identifier
* @neighbor_scan_min_period - neighbor scan min period
*
* Return - QDF_STATUS
*/
QDF_STATUS sme_set_neighbor_scan_min_period(mac_handle_t mac_handle,
uint8_t session_id,
const uint16_t
neighbor_scan_min_period)
{
struct mac_context *pmac = MAC_CONTEXT(mac_handle);
QDF_STATUS status = QDF_STATUS_SUCCESS;
tpCsrNeighborRoamControlInfo p_neighbor_roam_info = NULL;
if (session_id >= CSR_ROAM_SESSION_MAX) {
sme_err("Invalid sme session id: %d", session_id);
return QDF_STATUS_E_INVAL;
}
status = sme_acquire_global_lock(&pmac->sme);
if (QDF_IS_STATUS_SUCCESS(status)) {
p_neighbor_roam_info = &pmac->
roam.neighborRoamInfo[session_id];
sme_debug("LFR:set neighbor scan min period, old:%d, "
"new: %d, state: %s",
pmac->mlme_cfg->lfr.
neighbor_scan_min_timer_period,
neighbor_scan_min_period,
mac_trace_get_neighbour_roam_state(pmac->roam.
neighborRoamInfo[session_id].
neighborRoamState));
pmac->mlme_cfg->lfr.neighbor_scan_min_timer_period =
neighbor_scan_min_period;
p_neighbor_roam_info->cfgParams.neighbor_scan_min_period =
neighbor_scan_min_period;
sme_release_global_lock(&pmac->sme);
}
return status;
}
/*
* sme_get_roam_rssi_diff() - get Roam rssi diff
* This is a synchronous call