aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/autoscan.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-06-26 16:28:21 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-26 16:28:21 (GMT)
commite3659c89d22d7a4aeae240b5e6f20562c84d6742 (patch)
tree21d5cac488ea774888e1718324132e9a7f323793 /wpa_supplicant/autoscan.c
parentc0fba2b38de5134675bf979728e164e42fd6b9e5 (diff)
downloadhostap-e3659c89d22d7a4aeae240b5e6f20562c84d6742.zip
hostap-e3659c89d22d7a4aeae240b5e6f20562c84d6742.tar.gz
hostap-e3659c89d22d7a4aeae240b5e6f20562c84d6742.tar.bz2
Add a simple periodic autoscan module
This module will sets a fixed scanning interval. Thus, the parameter to this module is following this format: <fixed interval> Signed-hostap: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Diffstat (limited to 'wpa_supplicant/autoscan.c')
-rw-r--r--wpa_supplicant/autoscan.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/autoscan.c b/wpa_supplicant/autoscan.c
index c537291..bac8df6 100644
--- a/wpa_supplicant/autoscan.c
+++ b/wpa_supplicant/autoscan.c
@@ -19,10 +19,17 @@
extern const struct autoscan_ops autoscan_exponential_ops;
#endif /* CONFIG_AUTOSCAN_EXPONENTIAL */
+#ifdef CONFIG_AUTOSCAN_PERIODIC
+extern const struct autoscan_ops autoscan_periodic_ops;
+#endif /* CONFIG_AUTOSCAN_PERIODIC */
+
static const struct autoscan_ops * autoscan_modules[] = {
#ifdef CONFIG_AUTOSCAN_EXPONENTIAL
&autoscan_exponential_ops,
#endif /* CONFIG_AUTOSCAN_EXPONENTIAL */
+#ifdef CONFIG_AUTOSCAN_PERIODIC
+ &autoscan_periodic_ops,
+#endif /* CONFIG_AUTOSCAN_PERIODIC */
NULL
};