]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute for TTLM negotiation support type
authorGururaj Pandurangi <quic_panduran@quicinc.com>
Mon, 21 Aug 2023 17:26:55 +0000 (10:26 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 31 Aug 2023 09:13:53 +0000 (12:13 +0300)
Add a vendor attribute for an EHT DUT to configure the type of TID-To-Link
Mapping Negotiation Support for testing purposes.

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

index 65ec7c77ea91859a73e705d64daf42c0a923b654..1a30cb58e697a00c5554b5a7dc102a717754ae35 100644 (file)
@@ -3265,6 +3265,21 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_PEER_AMPDU_CNT = 103,
 
+       /*
+        * 8-bit unsigned value to configure TID-to-link mapping negotiation
+        * type.
+        * Uses enum qca_wlan_ttlm_negotiation_support values.
+        *
+        * This value applies to the complete AP/non-AP MLD interface, and the
+        * MLD advertises it within the Basic Multi-Link element in the
+        * association frames. If a new value is configured during an active
+        * connection, it will take effect in the subsequent associations and
+        * is not reset during disconnection.
+        *
+        * This attribute is used for testing purposes.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_TTLM_NEGOTIATION_SUPPORT = 104,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
@@ -9192,6 +9207,21 @@ enum qca_wlan_emlsr_mode {
        QCA_WLAN_EMLSR_MODE_EXIT = 1,
 };
 
+/**
+ * enum qca_wlan_ttlm_negotiation_support: TID-To-Link Mapping Negotiation
+ * support
+ * @QCA_WLAN_TTLM_DISABLE: TTLM disabled
+ * @QCA_WLAN_TTLM_SAME_LINK_SET: Mapping of all TIDs to the same link set,
+ * both DL and UL
+ * @QCA_WLAN_TTLM_SAME_DIFF_LINK_SET: Mapping of each TID to the same or
+ * different link set
+ */
+enum qca_wlan_ttlm_negotiation_support {
+       QCA_WLAN_TTLM_DISABLE = 0,
+       QCA_WLAN_TTLM_SAME_LINK_SET = 1,
+       QCA_WLAN_TTLM_SAME_DIFF_LINK_SET = 2,
+};
+
 /**
  * enum qca_wlan_vendor_attr_omi_tx: Represents attributes for HE and
  * EHT operating mode control transmit request. These attributes are