qcacmn: [DP]TWT stats feature: add WMI Support for TWT stats event

Add WMI support for WMI_TWT_SESSION_STATS_EVENTID. This event
contains stats for a given TWT session.

Change-Id: I01d5f7b30da803ee713a14c1d1124b8af7161bca
CRs-Fixed: 2609951
This commit is contained in:
nwzhao
2020-07-26 23:43:17 -07:00
committed by snandini
parent fbe384b6ac
commit ca9a332c4a
6 changed files with 24 additions and 3 deletions

View File

@@ -2619,6 +2619,9 @@ done:
nbuf);
DP_STATS_INC_PKT(peer, rx.to_stack, 1,
QDF_NBUF_CB_RX_PKT_LEN(nbuf));
if (qdf_unlikely(peer->in_twt))
DP_STATS_INC_PKT(peer, rx.to_stack_twt, 1,
QDF_NBUF_CB_RX_PKT_LEN(nbuf));
tid_stats->delivered_to_stack++;
nbuf = next;