From f5b8ef6c966aefd1305bfd351b095c5e9fc5b932 Mon Sep 17 00:00:00 2001 From: Yu Wang Date: Tue, 12 Aug 2025 05:30:02 -0700 Subject: [PATCH] Add QCA vendor attributes for MSDU TX statistics MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add vendor attributes for MSDU TX statistics, including: QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_RETRY_MSDU_CNT: Unsigned 32 bit value. It represents the number of MSDUs sent by the driver that were retransmitted and eventually transmitted successfully. QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_SUCC_MSDU_CNT: Unsigned 32 bit value. It represents the number of MSDUs that were successfully transmitted by the driver, including those that were retransmitted and eventually succeeded. QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_FW_DROP_MSDU_CNT: Unsigned 32 bit value. It represents the number of MSDUs that were handed off by the driver for transmission but were ultimately dropped by the firmware. QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_DRIVER_DROP_MSDU_CNT: Unsigned 32 bit value. It represents the number of MSDUs that were intended for transmission but were dropped by the driver before being handed off to the firmware. Signed-off-by: Yu Wang --- src/common/qca-vendor.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 16ec6b00c..c0579f554 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -5746,6 +5746,30 @@ enum qca_wlan_vendor_attr_ll_stats_results { */ QCA_WLAN_VENDOR_ATTR_LL_STATS_MLO_LINK = 93, + /* Unsigned 32 bit value. It represents the number of MSDUs sent by the + * driver that were retransmitted and eventually transmitted + * successfully. + */ + QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_RETRY_MSDU_CNT = 94, + + /* Unsigned 32 bit value. It represents the number of MSDUs that were + * successfully transmitted by the driver, including those that were + * retransmitted and eventually succeeded. + */ + QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_SUCC_MSDU_CNT = 95, + + /* Unsigned 32 bit value. It represents the number of MSDUs that were + * handed off by the driver for transmission but were ultimately dropped + * by the firmware. + */ + QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_FW_DROP_MSDU_CNT = 96, + + /* Unsigned 32 bit value. It represents the number of MSDUs that were + * intended for transmission but were dropped by the driver before being + * handed off to the firmware. + */ + QCA_WLAN_VENDOR_ATTR_LL_STATS_TX_DRIVER_DROP_MSDU_CNT = 97, + /* keep last */ QCA_WLAN_VENDOR_ATTR_LL_STATS_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX = -- 2.47.3