]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Enhance QCA vendor roam event to indicate MLO links after reassociation
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Tue, 19 Jul 2022 09:23:16 +0000 (14:53 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 28 Jul 2022 17:37:16 +0000 (20:37 +0300)
Enhance QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH event for the
driver to indicate the information of the associated links of MLO
roaming.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
src/common/qca-vendor.h

index c385038c57e19fa5f87c8cb6c44dd9361d7faeff..bd0bc41bd41ea3ddb42bae73557c30b87a7620b8 100644 (file)
@@ -1330,6 +1330,9 @@ enum qca_roam_reason {
 
 enum qca_wlan_vendor_attr_roam_auth {
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_INVALID = 0,
+       /* Indicates BSSID of the roamed AP for non-MLO roaming and MLD address
+        * of the roamed AP for MLO roaming.
+        */
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_BSSID,
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REQ_IE,
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RESP_IE,
@@ -1374,6 +1377,11 @@ enum qca_wlan_vendor_attr_roam_auth {
         * Defined by enum qca_roam_reason.
         */
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REASON = 14,
+       /* A nested attribute containing per-link information of all the links
+        * of MLO connection done while roaming. The attributes used inside this
+        * nested attribute are defined in enum qca_wlan_vendor_attr_mlo_links.
+        */
+       QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MLO_LINKS = 15,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST,
@@ -13158,4 +13166,24 @@ enum qca_wlan_vendor_attr_scs_rule_config {
        QCA_WLAN_VENDOR_ATTR_SCS_RULE_CONFIG_AFTER_LAST - 1,
 };
 
+/**
+ * enum qca_wlan_vendor_attr_mlo_links - Definition of attributes used inside
+ * nested attribute QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MLO_LINKS.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_MLO_LINK_ID: u8 attribute, link ID of this MLO link.
+ * @QCA_WLAN_VENDOR_ATTR_MLO_LINK_MAC_ADDR: Own MAC address of this MLO link.
+ * @QCA_WLAN_VENDOR_ATTR_MLO_LINK_BSSID: AP link MAC address of this MLO link.
+ */
+enum qca_wlan_vendor_attr_mlo_links {
+       QCA_WLAN_VENDOR_ATTR_MLO_LINK_INVALID = 0,
+       QCA_WLAN_VENDOR_ATTR_MLO_LINK_ID = 1,
+       QCA_WLAN_VENDOR_ATTR_MLO_LINK_MAC_ADDR = 2,
+       QCA_WLAN_VENDOR_ATTR_MLO_LINK_BSSID = 3,
+
+       /* Keep last */
+       QCA_WLAN_VENDOR_ATTR_MLO_LINK_AFTER_LAST,
+       QCA_WLAN_VENDOR_ATTR_MLO_LINK_MAX =
+       QCA_WLAN_VENDOR_ATTR_MLO_LINK_AFTER_LAST - 1,
+};
+
 #endif /* QCA_VENDOR_H */