From: Mohammad Asaad Akram Date: Mon, 1 Mar 2021 09:04:38 +0000 (+0530) Subject: New vendor attribute to configure TWT mantissa in microseconds X-Git-Tag: hostap_2_10~439 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b4e32da891b1e5f138ea4a136afbfe5f3b866d9;p=thirdparty%2Fhostap.git New vendor attribute to configure TWT mantissa in microseconds Define the following additional TWT attribute for qca_wlan_vendor_attr_twt_setup: QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL2_MANTISSA to configure the mantissa in microseconds. Signed-off-by: Jouni Malinen --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index b5daac186..573e144a6 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -8437,6 +8437,14 @@ enum qca_wlan_twt_setup_state { * TWT state for the given dialog id. The values for this are represented * by enum qca_wlan_twt_setup_state. * This is obtained through TWT GET operation. + * + * @QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL2_MANTISSA: Optional (u32) + * This attribute is used to configure wake interval mantissa. + * The unit is microseconds. This attribute, when specified, takes + * precedence over QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_MANTISSA. + * This parameter is used for + * 1. TWT SET Request and Response + * 2. TWT GET Response */ enum qca_wlan_vendor_attr_twt_setup { QCA_WLAN_VENDOR_ATTR_TWT_SETUP_INVALID = 0, @@ -8464,6 +8472,8 @@ enum qca_wlan_vendor_attr_twt_setup { QCA_WLAN_VENDOR_ATTR_TWT_SETUP_MAX_WAKE_DURATION = 19, QCA_WLAN_VENDOR_ATTR_TWT_SETUP_STATE = 20, + QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL2_MANTISSA = 21, + /* keep last */ QCA_WLAN_VENDOR_ATTR_TWT_SETUP_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_TWT_SETUP_MAX =