From: Kashish Awasthi Date: Wed, 23 Oct 2024 19:25:48 +0000 (+0530) Subject: Add new QCA vendor attributes for TWT statistics X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3b5887f360f7a63cf327eed0705e34f80eb541f;p=thirdparty%2Fhostap.git Add new QCA vendor attributes for TWT statistics 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 77a9f9d3a..170fb62c7 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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,