]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add vendor flag to indicate unavailability mode in TWT responder mode
authorPurushottam Kushwaha <quic_pkushwah@quicinc.com>
Fri, 7 Jun 2024 11:18:29 +0000 (16:48 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 20 Jun 2024 15:52:53 +0000 (18:52 +0300)
Add a flag attribute
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_UNAVAILABILITY_MODE into enum
qca_wlan_vendor_attr_twt_set_param to configure the TWT responder
unavailability outside of the SPs of its broadcast TWT schedule.

Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
src/common/qca-vendor.h

index 980e0167b71662af0b6bd2a8908da066083ec747..6ac31aa3e7cc06a35b3be6abba4da28dc776668b 100644 (file)
@@ -11259,10 +11259,18 @@ enum qca_wlan_vendor_attr_twt_capability {
  * This attribute configures AC parameters to be used for all TWT
  * sessions in AP mode.
  * Uses the enum qca_wlan_ac_type values.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_UNAVAILABILITY_MODE: Flag attribute,
+ * used by TWT responder to indicate unavailability outside of the SPs.
+ * Enable (flag attribute present) - Indicates that the TWT responder may be
+ * unavailable outside of the SPs of its broadcast TWT schedule.
+ * Disable (flag attribute not present) - Indicates that the responder will be
+ * available for all TWT sessions (including individual TWT).
  */
 enum qca_wlan_vendor_attr_twt_set_param {
        QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_INVALID = 0,
        QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_AP_AC_VALUE = 1,
+       QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_UNAVAILABILITY_MODE = 2,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_AFTER_LAST,