]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor attributes for MLO and EHT capabilities
authorKiran Kumar Lokere <quic_klokere@quicinc.com>
Thu, 15 Dec 2022 19:04:39 +0000 (11:04 -0800)
committerJouni Malinen <j@w1.fi>
Mon, 19 Dec 2022 17:10:53 +0000 (19:10 +0200)
Add new QCA vendor attributes to configure the driver for EHT
capabilities and multi link configuration.

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

index 058cfd4e27a235f78087e1d1abb45798e08de704..5f4c55c7208245863cea368113f2800efbf755db 100644 (file)
@@ -2866,6 +2866,29 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_WFC_STATE = 86,
 
+       /* 8-bit unsigned value to configure the driver to enable/disable the
+        * EHT EML capability in management frame EHT capabilities.
+        * 1 - Enable, 0 - Disable.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_EML_CAPABILITY = 87,
+
+       /* 8-bit unsigned value to configure the driver with EHT MLO max
+        * simultaneous links to be used for MLO connection.
+        * The range of the value is 0 to 14.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_SIMULTANEOUS_LINKS = 88,
+
+       /* 8-bit unsigned value to configure the driver with EHT MLO maximum
+        * number of links to be used for MLO connection.
+        * The range of the value is 1 to 16.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_NUM_LINKS = 89,
+
+       /* 8-bit unsigned value to configure the driver with EHT MLO mode.
+        * Uses enum qca_wlan_eht_mlo_mode values.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MODE = 90,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
@@ -8448,6 +8471,24 @@ enum eht_mcs_config {
        EHT_MCS0_13 = 3,
 };
 
+/**
+ * enum qca_wlan_eht_mlo_mode: EHT MLO mode configuration.
+ * @QCA_WLAN_EHT_MODE_INVALID: Invalid.
+ * @QCA_WLAN_EHT_MLSR: Multi-link single radio mode
+ * @QCA_WLAN_EHT_EMLSR: Enhanced multi-link single radio mode.
+ * @QCA_WLAN_EHT_NON_STR_MLMR: Non simultaneous transmit and receive
+ * multi-link multi radio mode.
+ * @QCA_WLAN_EHT_STR_MLMR: Simultaneous transmit and receive
+ * multi-link multi radio mode.
+ */
+enum qca_wlan_eht_mlo_mode {
+       QCA_WLAN_EHT_MODE_INVALID = 0,
+       QCA_WLAN_EHT_MLSR = 1,
+       QCA_WLAN_EHT_EMLSR = 2,
+       QCA_WLAN_EHT_NON_STR_MLMR = 3,
+       QCA_WLAN_EHT_STR_MLMR = 4,
+};
+
 /**
  * enum qca_wlan_vendor_attr_he_omi_tx: Represents attributes for
  * HE operating mode control transmit request. These attributes are