aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-05 18:20:09 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-05 18:20:09 (GMT)
commitc9c38b099689616111416af9df3a4882535edff3 (patch)
tree75e5e38964543805a720bd45f20be1cede486e35 /wpa_supplicant/config.h
parentac26ebd8b5de0aea409bd896235325a64ff27e1f (diff)
downloadhostap-c9c38b099689616111416af9df3a4882535edff3.zip
hostap-c9c38b099689616111416af9df3a4882535edff3.tar.gz
hostap-c9c38b099689616111416af9df3a4882535edff3.tar.bz2
Make maximum BSS table size configurable
New global configuration parameter bss_max_count can now be used to change the maximum BSS table size. The old fixed size limit (200) is used as the default value for this parameter.
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index bdc3553..cdf3d40 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -22,6 +22,7 @@
#define DEFAULT_AP_SCAN 1
#endif /* CONFIG_NO_SCAN_PROCESSING */
#define DEFAULT_FAST_REAUTH 1
+#define DEFAULT_BSS_MAX_COUNT 200
#include "config_ssid.h"
@@ -331,6 +332,11 @@ struct wpa_config {
* ctrl_iface to external program(s)
*/
int wps_cred_processing;
+
+ /**
+ * bss_max_count - Maximum number of BSS entries to keep in memory
+ */
+ unsigned int bss_max_count;
};