]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix sibling scan results update criteria for different channels
authorRohan Dutta <quic_drohan@quicinc.com>
Fri, 21 Mar 2025 09:38:04 +0000 (15:08 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 22 Mar 2025 08:55:10 +0000 (10:55 +0200)
commit4435bc1b8abc2b8145a6a10ac5b5cb65b576f344
tree44966f22379711b71ad77447d928ecfc3b0d55ab
parent56f7d76d745addac7666e8e5c0bd4ac84c902f5e
Fix sibling scan results update criteria for different channels

When scan results are received for a wpa_s instance, currently, other
wpa_s instances sharing the radio (siblings) will get updated with the
same scan results to reduce scan time.

But if the scan frequencies included in the requests for these siblings
are different, especially when they are exclusive when one wpa_s is a
non-AP MLD with 2.4 GHz and 5 GHz links and another wpa_s is a single
link non-AP MLD with 6 GHz link, the siblings will lose scan results for
the desired frequencies. Fix the sibling scan results update by checking
that they scan the same frequencies and they are not MANUAL_SCAN.

Fixes: 6859f1cb2407 ("Enable sharing of scan result events among virtual interfaces")
Co-developed-by: Pooventhiran G <quic_pooventh@quicinc.com>
Signed-off-by: Pooventhiran G <quic_pooventh@quicinc.com>
Signed-off-by: Rohan Dutta <quic_drohan@quicinc.com>
wpa_supplicant/events.c