]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wpa_supplicant: Bump DEFAULT_BSS_MAX_COUNT to 1000
authorMitchell Augustin <mitchell.augustin@canonical.com>
Tue, 22 Jul 2025 13:34:44 +0000 (08:34 -0500)
committerJouni Malinen <j@w1.fi>
Tue, 30 Sep 2025 14:57:24 +0000 (17:57 +0300)
Many congested areas have more than 200 APs in range of a typical
device. When the number of APs exceeds BSS_MAX_COUNT, even nearby APs
can be absent from the scanning device's AP list. Bump the default to
1000 to be more in line with a realistic modern maximum number of APs in
a given area.

Discussion: https://lists.infradead.org/pipermail/hostap/2025-July/043612.html

Signed-off-by: Mitchell Augustin <mitchell.augustin@canonical.com>
wpa_supplicant/config.h

index c187d36edecc1bdab255083610271e061519d19f..4e3997877aad49ff07ddfd5459e542211361447b 100644 (file)
@@ -29,7 +29,7 @@
 #define DEFAULT_P2P_INTRA_BSS 1
 #define DEFAULT_P2P_GO_MAX_INACTIVITY (5 * 60)
 #define DEFAULT_P2P_OPTIMIZE_LISTEN_CHAN 0
-#define DEFAULT_BSS_MAX_COUNT 200
+#define DEFAULT_BSS_MAX_COUNT 1000
 #define DEFAULT_BSS_EXPIRATION_AGE 180
 #define DEFAULT_BSS_EXPIRATION_SCAN_COUNT 2
 #define DEFAULT_MAX_NUM_STA 128