From 7c8eccb50f4f898094a40eff2d2b96ed77eb6535 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Mon, 1 May 2023 14:52:28 -0700 Subject: [PATCH] qcacmn: Log tx drop counters in Tx/Rx path stats Some of the Tx drop counters are missing in Tx/Rx path stats. Hence add them. Change-Id: I24f7aa946050944c6a434b5d14ce4e17d9330089 CRs-Fixed: 3492548 --- dp/wifi3.0/dp_stats.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dp/wifi3.0/dp_stats.c b/dp/wifi3.0/dp_stats.c index cad6b215c5..787de44610 100644 --- a/dp/wifi3.0/dp_stats.c +++ b/dp/wifi3.0/dp_stats.c @@ -7289,6 +7289,16 @@ void dp_txrx_path_stats(struct dp_soc *soc) pdev->stats.tx_i.dropped.dma_error); DP_PRINT_STATS("Drop Ingress: %u", pdev->stats.tx_i.dropped.drop_ingress); + DP_PRINT_STATS("Resources full: %u", + pdev->stats.tx_i.dropped.res_full); + DP_PRINT_STATS("Headroom insufficient: %u", + pdev->stats.tx_i.dropped.headroom_insufficient); + DP_PRINT_STATS("Invalid peer id in exception path: %u", + pdev->stats.tx_i.dropped.invalid_peer_id_in_exc_path); + DP_PRINT_STATS("Tx Mcast Drop: %u", + pdev->stats.tx_i.dropped.tx_mcast_drop); + DP_PRINT_STATS("FW2WBM Tx Drop: %u", + pdev->stats.tx_i.dropped.fw2wbm_tx_drop); DP_PRINT_STATS("Dropped in hardware:"); DP_PRINT_STATS("total packets dropped: %u",