浏览代码

qcacmn: Enable STAT log for tx time and rx time

STATS log for:
a) total time for tx
b) total time for rx(inside bss)
c) total time for rx(outside bss)
On "iwpriv athX txrx_fw_stats 24" command, stats logged
On "iwpriv athX txrx_fw_stats 25" command, stats logged and reset

Change-Id: I3b7d794e155916745a2c6c045984b416d3dc91ee
CRs-Fixed: 1072258
Nandha Kishore Easwaran 8 年之前
父节点
当前提交
132a470105
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      dp/inc/cdp_txrx_cmn.h

+ 2 - 0
dp/inc/cdp_txrx_cmn.h

@@ -400,6 +400,8 @@ void ol_txrx_print_level_set(unsigned level);
 #define TXRX_FW_MAC_DESC_STATS                   21
 #define TXRX_FW_MAC_FETCH_MGR_STATS              22
 #define TXRX_FW_MAC_PREFETCH_MGR_STATS           23
+#define TXRX_FW_STATS_DURATION_INFO              24
+#define TXRX_FW_STATS_DURATION_INFO_RESET        25
 
 #define PER_RADIO_FW_STATS_REQUEST 0
 #define PER_VDEV_FW_STATS_REQUEST 1