aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-09-05 14:11:11 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-05 14:11:11 (GMT)
commita65a9b8d677b5b3ed9a77f5fe3a3fa6bc34e5d32 (patch)
treeee3504b4fc463b37b130881a578351c12934b7c9 /hostapd/config_file.c
parent6ebe816be00702904332744547180bdb27b126f3 (diff)
downloadhostap-a65a9b8d677b5b3ed9a77f5fe3a3fa6bc34e5d32.zip
hostap-a65a9b8d677b5b3ed9a77f5fe3a3fa6bc34e5d32.tar.gz
hostap-a65a9b8d677b5b3ed9a77f5fe3a3fa6bc34e5d32.tar.bz2
hostapd: Add mechanism to track unconnected stations
hostapd can now be configured to track unconnected stations based on Probe Request frames seen from them. This can be used, e.g., to detect dualband capable station before they have associated. Such information could then be used to provide guidance on which colocated BSS to use in case of a dualband AP that operates concurrently on multiple bands under the control of a single hostapd process. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index e91c86c..336eba9 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3399,6 +3399,10 @@ static int hostapd_config_fill(struct hostapd_config *conf,
}
conf->fst_cfg.llt = (u32) val;
#endif /* CONFIG_FST */
+ } else if (os_strcmp(buf, "track_sta_max_num") == 0) {
+ conf->track_sta_max_num = atoi(pos);
+ } else if (os_strcmp(buf, "track_sta_max_age") == 0) {
+ conf->track_sta_max_age = atoi(pos);
} else {
wpa_printf(MSG_ERROR,
"Line %d: unknown configuration item '%s'",