qcacmn: Rx and Tx peer statistics update
* Update the pkt_type counters correctly within the array bound * Add support for NSS counters on Tx side * Update ampdu flag in PPDU struct * Add support for ampdu flag in hal_ppdu struct Change-Id: I79ea52727124ea4be4d82912cb2513ea58e2af10
This commit is contained in:

committed by
snandini

parent
5819e29cbb
commit
ed0aba69a9
@@ -4828,6 +4828,14 @@ static inline void dp_print_peer_stats(struct dp_peer *peer)
|
||||
peer->stats.tx.bw[2], peer->stats.tx.bw[3],
|
||||
peer->stats.tx.bw[4], peer->stats.tx.bw[5]);
|
||||
|
||||
index = 0;
|
||||
for (i = 0; i < SS_COUNT; i++) {
|
||||
index += qdf_snprint(&nss[index], DP_NSS_LENGTH - index,
|
||||
" %d", peer->stats.tx.nss[i]);
|
||||
}
|
||||
DP_PRINT_STATS("NSS(1-8) = %s",
|
||||
nss);
|
||||
|
||||
DP_PRINT_STATS("Aggregation:");
|
||||
DP_PRINT_STATS(" Number of Msdu's Part of Amsdu = %d",
|
||||
peer->stats.tx.amsdu_cnt);
|
||||
|
Reference in New Issue
Block a user