qcacld-3.0: Remove obsolete sme_roam_tkip_counter_measures()

Change "qcacld-3.0: Remove obsolete wlansap_set_counter_measure()"
removed the last caller of sme_roam_tkip_counter_measures. Since this
function is unused and obsolete, remove it.

Change-Id: Id7d48fc6946a15ddf1157417d00833a7976b5793
CRs-Fixed: 2115343
This commit is contained in:
Jeff Johnson
2017-09-22 09:29:24 -07:00
committed by snandini
parent 8d5d7cd3b1
commit e78d1c471a
2 changed files with 0 additions and 36 deletions

View File

@@ -333,8 +333,6 @@ QDF_STATUS sme_roam_disconnect_sta(tHalHandle hHal, uint8_t sessionId,
struct tagCsrDelStaParams *p_del_sta_params);
QDF_STATUS sme_roam_deauth_sta(tHalHandle hHal, uint8_t sessionId,
struct tagCsrDelStaParams *pDelStaParams);
QDF_STATUS sme_roam_tkip_counter_measures(tHalHandle hHal, uint8_t sessionId,
bool bEnable);
QDF_STATUS sme_roam_get_wps_session_overlap(tHalHandle hHal, uint8_t sessionId,
void *pUsrContext,
void *pfnSapEventCallback,

View File

@@ -3689,40 +3689,6 @@ QDF_STATUS sme_roam_deauth_sta(tHalHandle hHal, uint8_t sessionId,
return status;
}
/*
* sme_roam_tkip_counter_measures() -
* To start or stop TKIP counter measures. This is an asynchronous API.
*
* sessionId - sessionId of SoftAP
* pPeerMacAddr - Caller allocated memory filled with peer MAC address (6 bytes)
* Return QDF_STATUS
*/
QDF_STATUS sme_roam_tkip_counter_measures(tHalHandle hHal, uint8_t sessionId,
bool bEnable)
{
QDF_STATUS status = QDF_STATUS_E_FAILURE;
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
if (NULL == pMac) {
QDF_ASSERT(0);
return status;
}
status = sme_acquire_global_lock(&pMac->sme);
if (QDF_IS_STATUS_SUCCESS(status)) {
if (CSR_IS_SESSION_VALID(pMac, sessionId))
status =
csr_roam_issue_tkip_counter_measures(pMac,
sessionId,
bEnable);
else
status = QDF_STATUS_E_INVAL;
sme_release_global_lock(&pMac->sme);
}
return status;
}
/*
* sme_roam_get_associated_stas() -
* To probe the list of associated stations from various modules