]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath12k: Fix station association with MBSSID Non-TX BSS
authorHari Chandrakanthan <quic_haric@quicinc.com>
Fri, 30 May 2025 03:56:14 +0000 (09:26 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 26 Jun 2025 23:10:46 +0000 (16:10 -0700)
ath12k station is unable to associate with non-transmitting BSSes
in a Multiple BSS set because the user-space does not receive
information about the non-transmitting BSSes from mac80211's
scan results.

The ath12k driver does not advertise its MBSSID capability to mac80211,
resulting in wiphy->support_mbssid not being set. Consequently, the
information about non-transmitting BSS is not parsed from received
Beacon/Probe response frames and is therefore not included in the
scan results.

Fix this by advertising the MBSSID capability of ath12k driver to
mac80211.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00284-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1

Signed-off-by: Hari Chandrakanthan <quic_haric@quicinc.com>
Signed-off-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250530035615.3178480-2-rameshkumar.sundaram@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c

index ab184c5c7da1eed07395cd0d7478d1cf2081aaa6..42036658cf71f3e5e67bae3d62c0469ab1d96f09 100644 (file)
@@ -12719,6 +12719,7 @@ static int ath12k_mac_hw_register(struct ath12k_hw *ah)
 
        wiphy->mbssid_max_interfaces = mbssid_max_interfaces;
        wiphy->ema_max_profile_periodicity = TARGET_EMA_MAX_PROFILE_PERIOD;
+       ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
 
        if (is_6ghz) {
                wiphy_ext_feature_set(wiphy,