瀏覽代碼

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 年之前
父節點
當前提交
72f47475ef
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      core/wma/src/wma_utils.c

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