summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2017-03-10 16:43:50 -0800
committerNandini Suresh <snandini@codeaurora.org>2017-03-16 13:57:05 -0700
commitbdf1c892b5c2ce718589507beccd390eb6b52f79 (patch)
tree658ea39a7b95482ec3d79053ae24e54290d2b6fd
parenta503892bf97100deabb6ba9f75a0ce5f5b4530e8 (diff)
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
-rw-r--r--core/wma/src/wma_utils.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/wma/src/wma_utils.c b/core/wma/src/wma_utils.c
index 9d16ca960fbb..bab915282650 100644
--- a/core/wma/src/wma_utils.c
+++ b/core/wma/src/wma_utils.c
@@ -1900,8 +1900,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 =
@@ -2504,9 +2502,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);