]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add new QCA vendor attributes for TWT statistics
authorKashish Awasthi <quic_kawasthi@quicinc.com>
Wed, 23 Oct 2024 19:25:48 +0000 (00:55 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 31 Oct 2024 21:05:34 +0000 (23:05 +0200)
Add the following vendor attributes to get TWT early service period
termination metrices in enum qca_wlan_vendor_attr_twt_stats.
- QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVG_EOSP_DUR_US
- QCA_WLAN_VENDOR_ATTR_TWT_STATS_EOSP_COUNT

Signed-off-by: Kashish Awasthi <quic_kawasthi@quicinc.com>
src/common/qca-vendor.h

index 77a9f9d3aa11284836af27405fa413eb2fb1d0ed..170fb62c7e7c93931e6e826408e93cb945787f82 100644 (file)
@@ -11376,6 +11376,16 @@ enum qca_wlan_vendor_attr_twt_nudge {
  * Status of the TWT GET STATISTICS request.
  * This contains status values in enum qca_wlan_vendor_twt_status
  * Obtained in the QCA_WLAN_TWT_GET_STATS response from the firmware.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVG_EOSP_DUR_US: Optional (u32)
+ * Average of duration of the early terminated TWT service periods
+ * in micro seconds.
+ * Obtained in the QCA_WLAN_TWT_GET_STATS response from the firmware.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_TWT_STATS_EOSP_COUNT: Optional (u32)
+ * Number of early terminated TWT service periods observed over
+ * QCA_WLAN_VENDOR_ATTR_TWT_STATS_NUM_SP_ITERATIONS.
+ * Obtained in the QCA_WLAN_TWT_GET_STATS response from the firmware.
  */
 enum qca_wlan_vendor_attr_twt_stats {
        QCA_WLAN_VENDOR_ATTR_TWT_STATS_INVALID = 0,
@@ -11391,6 +11401,8 @@ enum qca_wlan_vendor_attr_twt_stats {
        QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVERAGE_TX_PACKET_SIZE = 10,
        QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVERAGE_RX_PACKET_SIZE = 11,
        QCA_WLAN_VENDOR_ATTR_TWT_STATS_STATUS = 12,
+       QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVG_EOSP_DUR_US = 13,
+       QCA_WLAN_VENDOR_ATTR_TWT_STATS_EOSP_COUNT = 14,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_TWT_STATS_AFTER_LAST,