]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: don't perform DA check on S1G beacon
authorLachlan Hodges <lachlan.hodges@morsemicro.com>
Tue, 20 Jan 2026 03:11:21 +0000 (14:11 +1100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 20 Jan 2026 09:01:02 +0000 (10:01 +0100)
commit5dc6975566f5d142ec53eb7e97af688c45dd314d
tree320bb895b5a6777fb6c9aecee74c5a87a884681b
parente7df8567878f9cbb9059287161e80f7c7da9b15c
wifi: mac80211: don't perform DA check on S1G beacon

S1G beacons don't contain the DA field as per IEEE80211-2024 9.3.4.3,
so the DA broadcast check reads the SA address of the S1G beacon which
will subsequently lead to the beacon being dropped. As a result, passive
scanning is not possible. Fix this by only performing the check on
non-S1G beacons to allow S1G long beacons to be processed during a
passive scan.

Fixes: ddf82e752f8a ("wifi: mac80211: Allow beacons to update BSS table regardless of scan")
Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20260120031122.309942-1-lachlan.hodges@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/scan.c