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:
@@ -3613,8 +3613,14 @@ void dp_tx_comp_process_tx_status(struct dp_soc *soc,
|
||||
}
|
||||
} else {
|
||||
DP_STATS_INC_PKT(peer, tx.ucast, 1, length);
|
||||
if (ts->status == HAL_TX_TQM_RR_FRAME_ACKED)
|
||||
if (ts->status == HAL_TX_TQM_RR_FRAME_ACKED) {
|
||||
DP_STATS_INC_PKT(peer, tx.tx_success, 1, length);
|
||||
if (qdf_unlikely(peer->in_twt)) {
|
||||
DP_STATS_INC_PKT(peer,
|
||||
tx.tx_success_twt,
|
||||
1, length);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dp_tx_update_peer_stats(tx_desc, ts, peer, ring_id);
|
||||
|
Reference in New Issue
Block a user