qcacmn: Add counter in non-TQM based Tx completion path

Rate limit the log in non-TQM Tx completion path and add a counter
to increment whenever Tx completion status is received and release source
is non-TQM.

Change-Id: I8968ccc7a499577bd4fdfaef78e6520b00c12503
CRs-Fixed: 3201403
This commit is contained in:
Srinivas Girigowda
2022-05-25 10:22:14 -07:00
committato da Madan Koyyalamudi
parent 9d283234a7
commit 85b76d5a6c
5 ha cambiato i file con 13 aggiunte e 2 eliminazioni

Vedi File

@@ -6301,6 +6301,8 @@ void dp_print_peer_stats(struct dp_peer *peer,
peer_stats->tx.last_ack_rssi);
DP_PRINT_STATS("Dropped At FW: Removed Pkts = %u",
peer_stats->tx.dropped.fw_rem.num);
DP_PRINT_STATS("Release source not TQM = %u",
peer_stats->tx.release_src_not_tqm);
if (pdev && !wlan_cfg_get_dp_pdev_nss_enabled(pdev->wlan_cfg_ctx)) {
DP_PRINT_STATS("Dropped At FW: Removed bytes = %llu",
peer_stats->tx.dropped.fw_rem.bytes);
@@ -6494,7 +6496,7 @@ void dp_print_peer_stats(struct dp_peer *peer,
peer_stats->rx.err.rxdma_wifi_parse_err);
DP_PRINT_STATS("Msdu's Received As Part of Ampdu = %d",
peer_stats->rx.non_ampdu_cnt);
DP_PRINT_STATS("Msdu's Recived As Ampdu = %d",
DP_PRINT_STATS("Msdu's Received As Ampdu = %d",
peer_stats->rx.ampdu_cnt);
DP_PRINT_STATS("Msdu's Received Not Part of Amsdu's = %d",
peer_stats->rx.non_amsdu_cnt);