]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add vendor attributes for MLO link active, EMLSR entry/exit
authorGururaj Pandurangi <quic_panduran@quicinc.com>
Tue, 18 Apr 2023 01:00:53 +0000 (18:00 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 28 Apr 2023 07:39:55 +0000 (10:39 +0300)
Add vendor attributes related to MLO and EMLSR mode
capability configuration for EHT DUT. This includes forcing
active MLO links and invoking EMLSR mode entry or exit.

Signed-off-by: Gururaj Pandurangi <quic_panduran@quicinc.com>
src/common/qca-vendor.h

index 88d50c36da4e56d80a81d67eaad6c058bd83d12c..befa8b7076defe611d569b5f406045e444a31612 100644 (file)
@@ -2965,6 +2965,20 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AP_ALLOWED_FREQ_LIST = 91,
 
+       /* Nested attribute to indicate EHT MLO links to be forced active.
+        * It contains link MAC address attributes. These nested attributes are
+        * of the type NL80211_ATTR_MAC and are used to force enabling of the
+        * MLO links corresponding to the indicated link MAC addresses.
+        * Subsequently, the links corresponding to the link MAC addresses that
+        * are not indicated are forced inactive.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_ACTIVE_LINKS = 92,
+
+       /* 8-bit unsigned value to configure EMLSR mode entry or exit.
+        * Uses enum qca_wlan_emlsr_mode values.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_EMLSR_MODE_SWITCH = 93,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
@@ -8794,6 +8808,16 @@ enum qca_wlan_eht_mlo_mode {
        QCA_WLAN_EHT_STR_MLMR = 4,
 };
 
+/**
+ * enum qca_wlan_emlsr_mode: Enhanced Multi-link Single Radio mode configuration
+ * @QCA_WLAN_EMLSR_MODE_ENTER: Enter EMLSR mode
+ * @QCA_WLAN_EMLSR_MODE_EXIT: Exit EMLSR mode
+ */
+enum qca_wlan_emlsr_mode {
+       QCA_WLAN_EMLSR_MODE_ENTER = 0,
+       QCA_WLAN_EMLSR_MODE_EXIT = 1,
+};
+
 /**
  * enum qca_wlan_vendor_attr_he_omi_tx: Represents attributes for
  * HE operating mode control transmit request. These attributes are