]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute to configure EHT EMLSR links
authorKiran Kumar Lokere <quic_klokere@quicinc.com>
Thu, 27 Mar 2025 07:17:34 +0000 (00:17 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 11 Apr 2025 09:26:23 +0000 (12:26 +0300)
Nested attribute to configure the EHT EMLSR operation and
EHT MLO links to be used for EHT EMLSR operation in STA mode.

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

index 4be31d8c9320324d2738611a3da7459700295084..a7268bc5ab8cc9be4b1782a16e365ba1807a0ed1 100644 (file)
@@ -3917,6 +3917,14 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_DFS_NO_WAIT_SUPPORT = 131,
 
+       /* Nested attribute to configure the EHT EMLSR operation and EHT MLO
+        * links for the EMLSR operation to the driver in STA mode. This is
+        * runtime configuration on STA after association and the configuration
+        * is valid only for the current association.
+        * Uses enum qca_wlan_vendor_attr_emlsr_info for values.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_EMLSR_LINKS = 132,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
@@ -17859,6 +17867,30 @@ enum qca_wlan_vendor_attr_tpc_links {
        QCA_WLAN_VENDOR_ATTR_TPC_AFTER_LAST - 1,
 };
 
+/**
+ * enum qca_wlan_vendor_attr_emlsr_info: Represent attributes to configure
+ * the EHT MLO links for EHT EMLSR operation and the EMLSR operation in STA
+ * mode. These attributes are used inside nested attribute
+ * %QCA_WLAN_VENDOR_ATTR_CONFIG_EMLSR_LINKS.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_EMLSR_OPERATION: Required attribute, u8.
+ * 0 - Enter, 1 - Exit
+ *
+ * @QCA_WLAN_VENDOR_ATTR_EMLSR_LINKS_BITMAP: Required, u16 attribute. This
+ * indicates the bitmap of the link IDs to specify the links corresponding
+ * to the bit set to be used for the EHT EMLSR operation.
+ */
+enum qca_wlan_vendor_attr_emlsr_info {
+       QCA_WLAN_VENDOR_ATTR_EMLSR_INVALID = 0,
+       QCA_WLAN_VENDOR_ATTR_EMLSR_OPERATION = 1,
+       QCA_WLAN_VENDOR_ATTR_EMLSR_LINKS_BITMAP = 2,
+
+       /* keep last */
+       QCA_WLAN_VENDOR_ATTR_EMLSR_AFTER_LAST,
+       QCA_WLAN_VENDOR_ATTR_EMLSR_MAX =
+       QCA_WLAN_VENDOR_ATTR_EMLSR_AFTER_LAST - 1,
+};
+
 /**
  * enum qca_wlan_vendor_attr_fw_page_fault_report - Used by the vendor
  * command %QCA_NL80211_VENDOR_SUBCMD_FW_PAGE_FAULT_REPORT.