Эх сурвалжийг харах

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
Jeff Johnson 8 жил өмнө
parent
commit
72f47475ef

+ 0 - 5
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);