From: nakul kachhwaha Date: Tue, 9 Aug 2022 12:09:51 +0000 (+0530) Subject: Add a new QCA vendor attribute to support flexible TWT X-Git-Tag: hostap_2_11~1701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2d2e81a956c8cf72b8f3952b342cab990c37a4;p=thirdparty%2Fhostap.git Add a new QCA vendor attribute to support flexible TWT Add a new attribute QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_SP_START_OFFSET to configure offset to shift start of the service period. This attribute will be used when device supports flexible TWT. If provided, this attribute will override QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_WAKE_TIME. Signed-off-by: nakul kachhwaha --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 73aa517e0..6aa539519 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -9531,6 +9531,14 @@ enum qca_wlan_vendor_attr_twt_resume { * @QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_WAKE_TIME_TSF: Optional (u64) * This field contains absolute TSF value of the time at which the TWT * session will be resumed. + * + * @QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_SP_START_OFFSET: Optional (s32) + * This field will be used when device supports Flexible TWT. + * This field contains an offset value by which to shift the starting time + * of the next service period. The value of offset can be negative or positive. + * If provided, this attribute will override + * QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_WAKE_TIME. The units are in microseconds. + * */ enum qca_wlan_vendor_attr_twt_nudge { QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_INVALID = 0, @@ -9539,6 +9547,7 @@ enum qca_wlan_vendor_attr_twt_nudge { QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_NEXT_TWT_SIZE = 3, QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_MAC_ADDR = 4, QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_WAKE_TIME_TSF = 5, + QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_SP_START_OFFSET = 6, /* keep last */ QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_AFTER_LAST,