qcacmn: Update correct tx rate, rx rate and sojourn stats

Currently we are upadting sojourn stats for all tid.
but rate stats maintains stats for only data tids 0-7.
updating stats for tid value exceeding 7 is leading it to
assert.
Update correct tx rate, rx rate and sojourn stats.

Change-Id: Ib2f5791aa7b8e85aac6283c46f58ce7e821a559b
CRs-Fixed: 2428648 2429575 2429575
This commit is contained in:
Amir Patel
2019-03-28 16:16:01 +05:30
committed by nshrivas
parent 9498cd70f4
commit ac7d9465f9
6 changed files with 36 additions and 39 deletions

View File

@@ -114,10 +114,9 @@
#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_FCTL_RETRY 0x0800
#define CDP_FC_IS_RETRY_SET(_fc) \
((_fc) && CDP_FC_RETRY_MASK)
((_fc) & qdf_cpu_to_le16(CDP_FCTL_RETRY))
/* Different Packet Types */
enum cdp_packet_type {