]> git.ipfire.org Git - thirdparty/hostap.git/commit
Scan 6 GHz channels after change to 6 GHz-allowed regdom
authorMatthew Wang <matthewmwang@chromium.org>
Fri, 2 Jun 2023 22:15:11 +0000 (15:15 -0700)
committerJouni Malinen <j@w1.fi>
Tue, 31 Oct 2023 10:01:26 +0000 (12:01 +0200)
commit42add3c27ba059d698c80b0c6028ece17297dd6a
tree2d368ad8cb925192f7d0ed8cffb29877f430df12
parent0b8a6722534379d21858caf0c3df038c73f32c78
Scan 6 GHz channels after change to 6 GHz-allowed regdom

Drivers will often report regdom changes in the middle of a scan if they
detect during that scan that the regulatory domain has changed. If this
happens and we enter a regdom that supports 6 GHz channels when the
previous one didn't (this often happens in 6 GHz-capable regdoms for
devices after suspend/resume), immediately trigger a 6 GHz-only scan if
we were not able to connect to an AP on a legacy band.

This should significantly improve connection time to 6 GHz AP after
regdom has been reset.

Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
wpa_supplicant/bgscan_learn.c
wpa_supplicant/bgscan_simple.c
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/events.c
wpa_supplicant/rrm.c
wpa_supplicant/scan.c
wpa_supplicant/scan.h
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant_i.h