qcacld-3.0: Remove sme_roam_get_associated_stas()

Change I4a452d6eed9eb035ad124fb5cd1fe5f62f507b5f ("qcacld-3.0:
Remove wlansap_get_assoc_stations()") removed the last client of
sme_roam_get_associated_stas(). Since it is now obsolete, remove
it as well.

Change-Id: I55b6604b17c736d513dc9baf9045fb634ed7a19d
CRs-Fixed: 2370892
This commit is contained in:
Jeff Johnson 2018-12-17 22:28:45 -08:00 committed by nshrivas
parent a064a443e3
commit b6cc7fa156
2 changed files with 0 additions and 52 deletions

View File

@ -490,11 +490,6 @@ QDF_STATUS sme_roam_disconnect(mac_handle_t mac_handle, uint8_t session,
void sme_dhcp_done_ind(mac_handle_t mac_handle, uint8_t session_id);
QDF_STATUS sme_roam_stop_bss(mac_handle_t mac_handle, uint8_t sessionId);
QDF_STATUS sme_roam_get_associated_stas(mac_handle_t mac_handle,
uint8_t sessionId,
QDF_MODULE_ID modId, void *pUsrContext,
void *pfnSapEventCallback,
uint8_t *pAssocStasBuf);
QDF_STATUS sme_roam_disconnect_sta(mac_handle_t mac_handle, uint8_t sessionId,
struct csr_del_sta_params *p_del_sta_params);
QDF_STATUS sme_roam_deauth_sta(mac_handle_t mac_handle, uint8_t sessionId,

View File

@ -3165,53 +3165,6 @@ QDF_STATUS sme_roam_deauth_sta(mac_handle_t mac_handle, uint8_t sessionId,
return status;
}
/*
* sme_roam_get_associated_stas() -
* To probe the list of associated stations from various modules
* of CORE stack.
* This is an asynchronous API.
*
* sessionId - sessionId of SoftAP
* modId - Module from whom list of associtated stations is
* to be probed. If an invalid module is passed then
* by default QDF_MODULE_ID_PE will be probed.
* pUsrContext - Opaque HDD context
* pfnSapEventCallback - Sap event callback in HDD
* pAssocBuf - Caller allocated memory to be filled with associatd
* stations info
* Return QDF_STATUS
*/
QDF_STATUS sme_roam_get_associated_stas(mac_handle_t mac_handle,
uint8_t sessionId,
QDF_MODULE_ID modId, void *pUsrContext,
void *pfnSapEventCallback,
uint8_t *pAssocStasBuf)
{
QDF_STATUS status = QDF_STATUS_E_FAILURE;
struct mac_context *mac = MAC_CONTEXT(mac_handle);
if (NULL == mac) {
QDF_ASSERT(0);
return status;
}
status = sme_acquire_global_lock(&mac->sme);
if (QDF_IS_STATUS_SUCCESS(status)) {
if (CSR_IS_SESSION_VALID(mac, sessionId))
status =
csr_roam_get_associated_stas(mac, sessionId,
modId,
pUsrContext,
pfnSapEventCallback,
pAssocStasBuf);
else
status = QDF_STATUS_E_INVAL;
sme_release_global_lock(&mac->sme);
}
return status;
}
/*
* sme_roam_get_connect_state() -
* A wrapper function to request CSR to return the current connect state