qcacmn: Consider tqm bypass frames for stats accounting

Parse the tqm bypass frames packet count and byte count and consider
them for stats updation in the vdev.

Change-Id: I644eb9819b8a68fbf9da2e2f2588c80dfaa61fa5
CRs-Fixed: 3163215
This commit is contained in:
Harsh Kumar Bijlani
2022-03-30 19:16:38 +05:30
committed by Madan Koyyalamudi
parent 78a2fe5f48
commit 84a762d85d
2 changed files with 14 additions and 0 deletions

View File

@@ -159,6 +159,8 @@ void htt_htc_pkt_pool_free(struct htt_soc *soc);
#define HTT_VDEV_STATS_TLV_TX_RETRY_BYTE_CNT_OFFSET 16
#define HTT_VDEV_STATS_TLV_TX_DROP_BYTE_CNT_OFFSET 18
#define HTT_VDEV_STATS_TLV_TX_AGE_OUT_BYTE_CNT_OFFSET 20
#define HTT_VDEV_STATS_TLV_TX_TQM_BYPASS_PKT_CNT_OFFSET 22
#define HTT_VDEV_STATS_TLV_TX_TQM_BYPASS_BYTE_CNT_OFFSET 24
#define HTT_VDEV_STATS_GET_INDEX(index) \
HTT_VDEV_STATS_TLV_##index##_OFFSET