qcacmn: Add Tx AMPDU statistics
Count of MSDUs Tx with AMPDU aggregation and MSDUs without AMPDU aggregation is maintained. This count is obtained from per ppdu stats. Change-Id: I7c38846534bbe5f2fd0a9b3602a9d453e1c1f449
This commit is contained in:

committed by
nshrivas

parent
613a74a6cf
commit
e541e9ccda
@@ -269,6 +269,8 @@ static void dp_tx_stats_update(struct dp_soc *soc, struct dp_peer *peer,
|
||||
DP_STATS_INCC(peer,
|
||||
tx.pkt_type[preamble].mcs_count[mcs], num_msdu,
|
||||
((mcs < (MAX_MCS - 1)) && (preamble == DOT11_AX)));
|
||||
DP_STATS_INCC(peer, tx.ampdu_cnt, num_msdu, ppdu->is_ampdu);
|
||||
DP_STATS_INCC(peer, tx.non_ampdu_cnt, num_msdu, !(ppdu->is_ampdu));
|
||||
|
||||
dp_peer_stats_notify(peer);
|
||||
|
||||
|
Reference in New Issue
Block a user