Enhance QCA vendor roam event to indicate MLO links after reassociation

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>
This commit is contained in:
Veerendranath Jakkam 2022-07-19 14:53:16 +05:30 committed by Jouni Malinen
parent 6622493065
commit 80d5e264c5

View file

@ -1330,6 +1330,9 @@ enum qca_roam_reason {
enum qca_wlan_vendor_attr_roam_auth { enum qca_wlan_vendor_attr_roam_auth {
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_INVALID = 0, 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_BSSID,
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REQ_IE, QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REQ_IE,
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RESP_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. * Defined by enum qca_roam_reason.
*/ */
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REASON = 14, 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 */ /* keep last */
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_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, 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 */ #endif /* QCA_VENDOR_H */