]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attributes for MSDU TX statistics
authorYu Wang <yyuwang@qti.qualcomm.com>
Tue, 12 Aug 2025 12:30:02 +0000 (05:30 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 21 Aug 2025 21:21:22 +0000 (00:21 +0300)
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 <yyuwang@qti.qualcomm.com>
src/common/qca-vendor.h

index 16ec6b00ccf82db780211e5ca1d7a240eb56454c..c0579f5541b07326c833d14a7684ce9202123685 100644 (file)
@@ -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 =