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
This commit is contained in:
Jeff Johnson 2017-03-16 09:56:57 -07:00 • committed by Sandeep Puligilla
commit 19498d7e57

View file

@ -1675,8 +1675,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);
@ -2272,9 +2270,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);