From 312cdd3f49b37b0ca6a68774197dcfac89646271 Mon Sep 17 00:00:00 2001 From: Amir Patel Date: Wed, 14 Aug 2019 14:45:35 +0530 Subject: [PATCH] qca-wifi: Add Application support for tx msdu, bytes, retries Add Application support for tx msdu, bytes, retries for RDK stats Change-Id: Ifb335065cc1b3d4aa9a6a2b74b9a88cc6aafd816 CRs-Fixed: 2509069 --- tools/linux/peerstats.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/linux/peerstats.c b/tools/linux/peerstats.c index 782429f93d..008c543c7f 100644 --- a/tools/linux/peerstats.c +++ b/tools/linux/peerstats.c @@ -305,6 +305,10 @@ static void dp_peer_tx_rate_stats_print(uint8_t *peer_mac, "attempts", "success", "ppdus"); + PRINT(" %10s | %10s | %10s |", + "msdus", + "bytes", + "retries\n"); for (i = 0; i < WLANSTATS_CACHE_SIZE; i++) { if (tx_stats->rix != INVALID_CACHE_IDX) { @@ -314,6 +318,10 @@ static void dp_peer_tx_rate_stats_print(uint8_t *peer_mac, tx_stats->mpdu_attempts, tx_stats->mpdu_success, tx_stats->num_ppdus); + PRINT(" %10u | %10u | %10lu |\n", + tx_stats->num_msdus, + tx_stats->num_bytes, + tx_stats->num_retries); } tx_stats = tx_stats + 1; }