]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add TWT vendor attribute to configure announce timeout value
authorGaurav Sharma <gash@codeaurora.org>
Thu, 30 Sep 2021 11:08:01 +0000 (16:38 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 4 Oct 2021 20:53:06 +0000 (23:53 +0300)
Add QCA_WLAN_VENDOR_ATTR_TWT_SETUP_ANNOUNCE_TIMEOUT attribute to
configure announce timeout value for announce TWT session.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index efd610b713ced7ee29abcd8d7285b0b76bf9214a..db5171868ae6ab3296d8828fa013fafb6e262e94 100644 (file)
@@ -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,