]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: Fix bssid_indicator for MBSSID in AP mode
authorRameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Fri, 30 May 2025 04:09:40 +0000 (09:39 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Jun 2025 08:45:19 +0000 (10:45 +0200)
commit2eb7c1baf46aea134e908cd6d37907d92f823251
tree1eb624d4b1fd8efdce5b5e3a3d46af8cc0bd99bb
parentc9172fae4b844adf66d60768652c5d22e10f5de6
wifi: mac80211: Fix bssid_indicator for MBSSID in AP mode

Currently, in ieee80211_assign_beacon() mbssid count is updated as link's
bssid_indicator. mbssid count is the total number of MBSSID elements in
the beacon instead of Max BSSID indicator of the Multiple BSS set.
This will result in drivers obtaining an invalid bssid_indicator for BSSes
in a Multiple BSS set.
Fix this by updating link's bssid_indicator from MBSSID element for
Transmitting BSS and update the same for all of its Non-Transmitting BSSes.

Fixes: dde78aa52015 ("mac80211: update bssid_indicator in ieee80211_assign_beacon")
Signed-off-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Link: https://patch.msgid.link/20250530040940.3188537-1-rameshkumar.sundaram@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c