From 72f47475efb30cd4a3e158c5fb9ed54f0320c3f1 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 10 Mar 2017 16:43:50 -0800 Subject: [PATCH] qcacld-3.0: WMA: Remove obsolete support for tCsrPerStaStatsInfo WMA currently has legacy code to support the tCsrPerStaStatsInfo data structure. However these stats were specific to the WDI firmware API used by older generations of hardware, and this interface is not supported by WMI. In addition the support for these stats has been removed from HDD. So remove support for these stats from WMA. Change-Id: I42ba6535ccfaed99df46d389cbb8ddd9d0f9261b CRs-Fixed: 2020066 --- core/wma/src/wma_utils.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/wma/src/wma_utils.c b/core/wma/src/wma_utils.c index 74533a680de1..1800cd6f5a23 100644 --- a/core/wma/src/wma_utils.c +++ b/core/wma/src/wma_utils.c @@ -1684,8 +1684,6 @@ static void wma_update_rssi_stats(tp_wma_handle wma, stats_buf += sizeof(tCsrGlobalClassCStatsInfo); if (temp_mask & (1 << eCsrGlobalClassDStats)) stats_buf += sizeof(tCsrGlobalClassDStatsInfo); - if (temp_mask & (1 << eCsrPerStaStats)) - stats_buf += sizeof(tCsrPerStaStatsInfo); if (temp_mask & (1 << csr_per_chain_rssi_stats)) { rssi_per_chain_stats = @@ -2275,9 +2273,6 @@ static tAniGetPEStatsRsp *wma_get_stats_rsp_buf if (temp_mask & (1 << eCsrGlobalClassDStats)) len += sizeof(tCsrGlobalClassDStatsInfo); - if (temp_mask & (1 << eCsrPerStaStats)) - len += sizeof(tCsrPerStaStatsInfo); - if (temp_mask & (1 << csr_per_chain_rssi_stats)) len += sizeof(struct csr_per_chain_rssi_stats_info);