]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Update roam stats of AP BSSID to user space in a QCA vendor attribute
authorChunquan Luo <quic_chunquan@quicinc.com>
Fri, 22 Sep 2023 02:55:25 +0000 (19:55 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 22 Sep 2023 08:15:25 +0000 (11:15 +0300)
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 <quic_chunquan@quicinc.com>
src/common/qca-vendor.h

index 08cb9ab4309819dc62746ffc8a706be98d15976b..2e73ccece21e77db8b9836c581fdb2577252c418 100644 (file)
@@ -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,