From: Chunquan Luo Date: Fri, 22 Sep 2023 02:55:25 +0000 (-0700) Subject: Update roam stats of AP BSSID to user space in a QCA vendor attribute X-Git-Tag: hostap_2_11~967 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed89ab429f39378b6fa3bed35f1fc820a48bf58f;p=thirdparty%2Fhostap.git Update roam stats of AP BSSID to user space in a QCA vendor attribute Fetch AP BSSID from each roam connection frame and cache the info in the WLAN driver. When user space gets roam stats by QCA_WLAN_VENDOR_ATTR_ROAM_STATS_INFO, user space can now collect the AP BSSID info for roam issue. Signed-off-by: Chunquan Luo --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 08cb9ab43..2e73ccece 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -13472,6 +13472,13 @@ enum qca_wlan_vendor_attr_roam_stats_frame_info { QCA_WLAN_VENDOR_ATTR_ROAM_STATS_FRAME_TIMESTAMP = 3, /* Attribute used for padding for 64-bit alignment */ QCA_WLAN_VENDOR_ATTR_ROAM_STATS_FRAME_PAD = 4, + /* This attribute indicates a 6-byte MAC address representing + * the BSSID of the AP. + * For non-MLO scenario, it indicates the AP BSSID. + * For MLO scenario, it indicates the AP BSSID which may be the primary + * link BSSID or a nonprimary link BSSID. + */ + QCA_WLAN_VENDOR_ATTR_ROAM_STATS_FRAME_BSSID = 5, /* keep last */ QCA_WLAN_VENDOR_ATTR_ROAM_STATS_FRAME_INFO_AFTER_LAST,