Browse Source

qcacmn: Add new defines for FW_STATS

Adding new defines for FW_STATS duration and FW_STATS
request. This will be used by ol_txrx_fw_stats function
for getting per_radio or per_vdev stats

Change-Id: I0a241172cd5b86aea0da99135ed574f6b1540c16
Crs-fixed: 1075597
Nandha Kishore Easwaran 8 years ago
parent
commit
46249e4f39
2 changed files with 6 additions and 1 deletions
  1. 0 1
      dp/inc/cdp_txrx_cmn_reg.h
  2. 6 0
      dp/inc/cdp_txrx_cmn_struct.h

+ 0 - 1
dp/inc/cdp_txrx_cmn_reg.h

@@ -24,7 +24,6 @@
 #ifndef _CDP_TXRX_CMN_REG_H_
 #define _CDP_TXRX_CMN_REG_H_
 
-#define IPQ4019_DEVICE_ID	0x12ef
 #define AR900B_DEVICE_ID	0x0040
 #define QCA9984_DEVICE_ID	0x0046
 #define QCA9888_DEVICE_ID	0x0056

+ 6 - 0
dp/inc/cdp_txrx_cmn_struct.h

@@ -363,5 +363,11 @@ struct cdp_soc_t {
 #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
+
 
 #endif