]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add new QCA vendor attributes for TWT setup parameters
authorAditya Kodukula <quic_akodukul@quicinc.com>
Mon, 4 Nov 2024 18:19:09 +0000 (10:19 -0800)
committerJouni Malinen <j@w1.fi>
Mon, 25 Nov 2024 08:33:02 +0000 (10:33 +0200)
Add downlink and uplink TID vendor attributes to enum
qca_wlan_vendor_attr_twt_setup for setting up restricted TWT schedules.
Extend the range of Broadcast TWT Recommendation field values to include
the new value 4 defined in IEEE P802.11be/D7.0.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index 0265ab9d106b87c550514c52889d023c64fea2ec..bc6b5d27089ef684d4f74ab914e890a6ca9f2508 100644 (file)
@@ -11036,9 +11036,10 @@ enum qca_wlan_twt_session_suspendable {
  * The Broadcast TWT Recommendation subfield contains a value that indicates
  * recommendations on the types of frames that are transmitted by TWT
  * scheduled STAs and scheduling AP during the broadcast TWT SP.
- * The allowed values are 0 - 3.
+ * The allowed values are 0 - 4.
  * This parameter is used for
  * 1. TWT SET Request
+ * 2. R-TWT SET Request
  *
  * @QCA_WLAN_VENDOR_ATTR_TWT_SETUP_BCAST_PERSISTENCE: Optional (u8)
  * This attribute is used to configure Broadcast TWT Persistence.
@@ -11080,6 +11081,14 @@ enum qca_wlan_twt_session_suspendable {
  * Refers the enum qca_wlan_twt_session_suspendable.
  * This parameter is used for
  * 1. TWT SET Response
+ *
+ * @QCA_WLAN_VENDOR_ATTR_TWT_SETUP_RTWT_DOWNLINK_TID_BITMAP: Optional (u32)
+ * This attribute is used to configure downlink TIDs for R-TWT scheduling.
+ * This attribute only applicable when requesting R-TWT schedules.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_TWT_SETUP_RTWT_UPLINK_TID_BITMAP: Optional (u32)
+ * This attribute is used to configure uplink TIDs for R-TWT scheduling.
+ * This attribute only applicable when requesting R-TWT schedules.
  */
 
 enum qca_wlan_vendor_attr_twt_setup {
@@ -11119,6 +11128,8 @@ enum qca_wlan_vendor_attr_twt_setup {
 
        QCA_WLAN_VENDOR_ATTR_TWT_SETUP_PAD = 27,
        QCA_WLAN_VENDOR_ATTR_TWT_SETUP_SUSPENDABLE = 28,
+       QCA_WLAN_VENDOR_ATTR_TWT_SETUP_RTWT_DOWNLINK_TID_BITMAP = 29,
+       QCA_WLAN_VENDOR_ATTR_TWT_SETUP_RTWT_UPLINK_TID_BITMAP = 30,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_TWT_SETUP_AFTER_LAST,