[PATCH] wpa_supplicant: Initialize is_6ghz_enabled when adding an interface
Jouni Malinen
j at w1.fi
Sun Nov 15 07:24:33 PST 2026
On Sun, Nov 15, 2026 at 02:04:24PM +0100, Alexis Calin via B4 Relay wrote:
> is_6ghz_enabled is only updated in wpa_supplicant_update_channel_list(),
> so it is false until the first channel list change after an interface
> is added, even if 6 GHz channels were enabled from the start. That first
> change is then reported as "6 GHz was enabled": crossed_6ghz_dom is set,
> wpa_supplicant_fast_associate() rejects the scan results and a new scan
> is done before connecting, even though the previous scan covered 6 GHz.
>
> This affects connections where the interface was added shortly before,
> e.g., with NetworkManager, which re-adds the interface after resume and
> takes it down and up to change the MAC address before connecting.
> ath11k reports a channel list change when the station interface is
> added, so the extra scan happens on every such connection. With WCN6855,
> where a scan takes about 5 seconds, this delays every reconnection after
> resume by that much.
>
> Initialize is_6ghz_enabled along with support_6ghz when the hardware
> features are read, so that only an actual change from no enabled 6 GHz
> channels to enabled ones is treated as crossing into a 6 GHz domain.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list