mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
qcacld-3.0: Remove cds context from struct sAniGetTsmStatsReq
Currently struct sAniGetTsmStatsReq contains a p_cds_context field, but this field is unused. Remove the field along with all of the code that is present to populate it. Change-Id: I1335034b959b77223834d7cf77e33c1f9bd1b358 CRs-Fixed: 2109433
This commit is contained in:
parent
4f51934a73
commit
30f8455ee1
6 changed files with 6 additions and 10 deletions
|
|
@ -213,7 +213,7 @@ static int hdd_get_tsm_stats(struct hdd_adapter *adapter,
|
|||
status = sme_get_tsm_stats(hdd_ctx->hHal, hdd_get_tsm_stats_cb,
|
||||
hdd_sta_ctx->conn_info.staId[0],
|
||||
hdd_sta_ctx->conn_info.bssId,
|
||||
cookie, hdd_ctx->pcds_context, tid);
|
||||
cookie, tid);
|
||||
if (QDF_STATUS_SUCCESS != status) {
|
||||
hdd_err("Unable to retrieve tsm statistics");
|
||||
ret = qdf_status_to_os_return(status);
|
||||
|
|
|
|||
|
|
@ -1066,7 +1066,6 @@ typedef struct sAniGetTsmStatsReq {
|
|||
struct qdf_mac_addr bssId;
|
||||
void *tsmStatsCallback;
|
||||
void *pDevContext; /* device context */
|
||||
void *p_cds_context; /* cds context */
|
||||
} tAniGetTsmStatsReq, *tpAniGetTsmStatsReq;
|
||||
|
||||
typedef struct sAniGetTsmStatsRsp {
|
||||
|
|
|
|||
|
|
@ -1293,7 +1293,7 @@ QDF_STATUS csr_get_tsm_stats(tpAniSirGlobal pMac,
|
|||
tCsrTsmStatsCallback callback,
|
||||
uint8_t staId,
|
||||
struct qdf_mac_addr bssId,
|
||||
void *pContext, void *p_cds_context, uint8_t tid);
|
||||
void *pContext, uint8_t tid);
|
||||
#endif
|
||||
|
||||
/* Remove this code once SLM_Sessionization is supported */
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ QDF_STATUS sme_get_snr(tHalHandle hHal,
|
|||
QDF_STATUS sme_get_tsm_stats(tHalHandle hHal,
|
||||
tCsrTsmStatsCallback callback,
|
||||
uint8_t staId, struct qdf_mac_addr bssId,
|
||||
void *pContext, void *p_cds_context, uint8_t tid);
|
||||
void *pContext, uint8_t tid);
|
||||
QDF_STATUS sme_set_cckm_ie(tHalHandle hHal,
|
||||
uint8_t sessionId,
|
||||
uint8_t *pCckmIe, uint8_t cckmIeLen);
|
||||
|
|
|
|||
|
|
@ -1902,7 +1902,6 @@ QDF_STATUS sme_set_ese_beacon_request(tHalHandle hHal, const uint8_t sessionId,
|
|||
* @staId: The station ID for which the stats is requested for
|
||||
* @bssId: bssid
|
||||
* @pContext: user context to be passed back along with the callback
|
||||
* @p_cds_context: CDS context
|
||||
* @tid: Traffic id
|
||||
*
|
||||
* API register a callback to get TSM Stats.
|
||||
|
|
@ -1912,7 +1911,7 @@ QDF_STATUS sme_set_ese_beacon_request(tHalHandle hHal, const uint8_t sessionId,
|
|||
QDF_STATUS sme_get_tsm_stats(tHalHandle hHal,
|
||||
tCsrTsmStatsCallback callback,
|
||||
uint8_t staId, struct qdf_mac_addr bssId,
|
||||
void *pContext, void *p_cds_context, uint8_t tid)
|
||||
void *pContext, uint8_t tid)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
|
||||
|
|
@ -1921,7 +1920,7 @@ QDF_STATUS sme_get_tsm_stats(tHalHandle hHal,
|
|||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
status = csr_get_tsm_stats(pMac, callback,
|
||||
staId, bssId, pContext,
|
||||
p_cds_context, tid);
|
||||
tid);
|
||||
sme_release_global_lock(&pMac->sme);
|
||||
}
|
||||
return status;
|
||||
|
|
|
|||
|
|
@ -1797,7 +1797,6 @@ static void csr_send_ese_adjacent_ap_rep_ind(tpAniSirGlobal pMac,
|
|||
* @staId: Station id
|
||||
* @bssId: bssid
|
||||
* @pContext: pointer to context
|
||||
* @p_cds_context: cds context
|
||||
* @tid: traffic id
|
||||
*
|
||||
* Return: QDF_STATUS enumeration
|
||||
|
|
@ -1806,7 +1805,7 @@ QDF_STATUS csr_get_tsm_stats(tpAniSirGlobal pMac,
|
|||
tCsrTsmStatsCallback callback,
|
||||
uint8_t staId,
|
||||
struct qdf_mac_addr bssId,
|
||||
void *pContext, void *p_cds_context, uint8_t tid)
|
||||
void *pContext, uint8_t tid)
|
||||
{
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
tAniGetTsmStatsReq *pMsg = NULL;
|
||||
|
|
@ -1825,7 +1824,6 @@ QDF_STATUS csr_get_tsm_stats(tpAniSirGlobal pMac,
|
|||
qdf_copy_macaddr(&pMsg->bssId, &bssId);
|
||||
pMsg->tsmStatsCallback = callback;
|
||||
pMsg->pDevContext = pContext;
|
||||
pMsg->p_cds_context = p_cds_context;
|
||||
status = umac_send_mb_message_to_mac(pMsg);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
sme_debug("csr_get_tsm_stats: failed to send down the rssi req");
|
||||
|
|
|
|||
Loading…
Reference in a new issue