From 7daa2b8828c338242b7dff47c4ab7756fdc85c6e Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 16 Mar 2017 09:56:57 -0700 Subject: 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 --- 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 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); -- cgit v1.2.3