qcacmn: Add RDK statistics changes for Hawkeye

Add RDK statistics changes to collect below stats
a. Tx rate statistics
b. Tx sojourn statistics
c. Rx rate statistics

CRs-Fixed: 2416141
Change-Id: I0c8127cd387b7665a76847f4125977bbb8c5a57a
This commit is contained in:
Amir Patel
2019-03-21 11:42:31 +05:30
committed by nshrivas
parent d48a842b4b
commit 468bded892
6 changed files with 155 additions and 3 deletions

View File

@@ -111,9 +111,14 @@
#ifdef CONFIG_MCL
#define CDP_WDI_NUM_EVENTS WDI_NUM_EVENTS
#else
#define CDP_WDI_NUM_EVENTS 22
#define CDP_WDI_NUM_EVENTS 26
#endif
#define CDP_FC_RETRY_OFFSET 0x4
#define CDP_FC_RETRY_MASK (CDP_FC_RETRY_OFFSET << 1)
#define CDP_FC_IS_RETRY_SET(_fc) \
((_fc) && CDP_FC_RETRY_MASK)
/* Different Packet Types */
enum cdp_packet_type {
DOT11_A = 0,