qcacmn: 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.

Change-Id: I5cede840ec42bb45ec13e35a1f5caa0c0674047a
CRs-Fixed: 3278009
This commit is contained in:
Jianmin Zhu
2022-08-28 21:27:36 +08:00
committed by Madan Koyyalamudi
parent 195e4c7d1b
commit b67ab65175

View File

@@ -2792,7 +2792,7 @@ enum qca_roam_reason {
/**
* enum qca_wlan_vendor_attr_roam_auth - vendor event for roaming
* @QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_BSSID: BSSID of the roamed AP
*
* @QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REQ_IE: Request IE
* @QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RESP_IE: Response IE
* @QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AUTHORIZED: Authorization Status
@@ -2826,6 +2826,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,
@@ -2840,11 +2843,36 @@ enum qca_wlan_vendor_attr_roam_auth {
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PMKID,
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_FILS_ERP_NEXT_SEQ_NUM,
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_REASON,
/* 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,
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MAX =
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_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,
};
/**
* enum qca_wlan_vendor_attr_wifi_config - wifi config
*