summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2017-03-16 09:56:57 -0700
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-23 13:25:10 -0700
commit7daa2b8828c338242b7dff47c4ab7756fdc85c6e (patch)
tree6def28ba0c2a14604588349de47e7e1ec4b0edf1
parenteaa3d487d5a5d1b5cb6d31755112f1df4ad253b9 (diff)
qcacld-3.0: WMA: Remove obsolete support for Class C stats
WMA currently has legacy code to support the tCsrGlobalClassCStatsInfo 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: I0614ed2660c886c7e61b0e87058a2f2e522580f3 CRs-Fixed: 2021526
-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 d1cef8ff84c0..f1f993d40a18 100644
--- a/core/wma/src/wma_utils.c
+++ b/core/wma/src/wma_utils.c
@@ -1891,8 +1891,6 @@ static void wma_update_rssi_stats(tp_wma_handle wma,
stats_buf += sizeof(tCsrGlobalClassAStatsInfo);
if (temp_mask & (1 << eCsrGlobalClassBStats))
stats_buf += sizeof(tCsrGlobalClassBStatsInfo);
- if (temp_mask & (1 << eCsrGlobalClassCStats))
- stats_buf += sizeof(tCsrGlobalClassCStatsInfo);
if (temp_mask & (1 << eCsrGlobalClassDStats))
stats_buf += sizeof(tCsrGlobalClassDStatsInfo);
@@ -2491,9 +2489,6 @@ static tAniGetPEStatsRsp *wma_get_stats_rsp_buf
if (temp_mask & (1 << eCsrGlobalClassBStats))
len += sizeof(tCsrGlobalClassBStatsInfo);
- if (temp_mask & (1 << eCsrGlobalClassCStats))
- len += sizeof(tCsrGlobalClassCStatsInfo);
-
if (temp_mask & (1 << eCsrGlobalClassDStats))
len += sizeof(tCsrGlobalClassDStatsInfo);