From dd3a2960aa7d9090a8ff0e5b013f2a366bb7844d Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Thu, 30 Sep 2021 16:38:01 +0530 Subject: [PATCH] Add TWT vendor attribute to configure announce timeout value Add QCA_WLAN_VENDOR_ATTR_TWT_SETUP_ANNOUNCE_TIMEOUT attribute to configure announce timeout value for announce TWT session. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index efd610b71..db5171868 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -8821,6 +8821,16 @@ enum qca_wlan_twt_setup_state { * This parameter is used for * 1. TWT SET Response * 2. TWT GET Response + * + * @QCA_WLAN_VENDOR_ATTR_TWT_SETUP_ANNOUNCE_TIMEOUT: Optional (u32) + * This attribute is used to configure the announce timeout value (in us) in + * the firmware. This timeout value is only applicable for the announced TWT. If + * the timeout value is non-zero the firmware waits up to the timeout value to + * use Data frame as an announcement frame. If the timeout value is 0 the + * firmware sends an explicit QoS NULL frame as the announcement frame on SP + * start. The default value in the firmware is 0. + * This parameter is used for + * 1. TWT SET Request */ enum qca_wlan_vendor_attr_twt_setup { QCA_WLAN_VENDOR_ATTR_TWT_SETUP_INVALID = 0, @@ -8855,6 +8865,7 @@ enum qca_wlan_vendor_attr_twt_setup { QCA_WLAN_VENDOR_ATTR_TWT_SETUP_BCAST_PERSISTENCE = 24, QCA_WLAN_VENDOR_ATTR_TWT_SETUP_RESPONDER_PM_MODE = 25, + QCA_WLAN_VENDOR_ATTR_TWT_SETUP_ANNOUNCE_TIMEOUT = 26, /* keep last */ QCA_WLAN_VENDOR_ATTR_TWT_SETUP_AFTER_LAST,