aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-05 19:42:06 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-05 19:42:06 (GMT)
commit3812464cda18b98875d5c080faf9167dffc5078d (patch)
treee13240a04c7a6ab1f62a7dca7c80e226c6e9dbef /wpa_supplicant/config.h
parentc9c38b099689616111416af9df3a4882535edff3 (diff)
downloadhostap-3812464cda18b98875d5c080faf9167dffc5078d.zip
hostap-3812464cda18b98875d5c080faf9167dffc5078d.tar.gz
hostap-3812464cda18b98875d5c080faf9167dffc5078d.tar.bz2
Add optional scan result filter based on SSID
filter_ssids=1 global configuration parameter can now be used to enable scan result filtering (with -Dnl80211 only for now) based on the configured SSIDs. In other words, only the scan results that have an SSID matching with one of the configured networks are included in the BSS table. This can be used to reduce memory needs in environments that have huge number of APs.
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index cdf3d40..21c2fdd 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -337,6 +337,14 @@ struct wpa_config {
* bss_max_count - Maximum number of BSS entries to keep in memory
*/
unsigned int bss_max_count;
+
+ /**
+ * filter_ssids - SSID-based scan result filtering
+ *
+ * 0 = do not filter scan results
+ * 1 = only include configured SSIDs in scan results/BSS table
+ */
+ int filter_ssids;
};