]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a new QCA vendor attribute to support flexible TWT
authornakul kachhwaha <quic_nkachhwa@quicinc.com>
Tue, 9 Aug 2022 12:09:51 +0000 (17:39 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 16 Sep 2022 17:02:49 +0000 (20:02 +0300)
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 <quic_nkachhwa@quicinc.com>
src/common/qca-vendor.h

index 73aa517e00c3a3944e128c3c856a98bca9be9c6d..6aa539519255fd5d1c37501be2de94e17ea3913b 100644 (file)
@@ -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,