aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Maxime Hadjinlian <maxime.hadjinlian@gmail.com>2016-07-02 10:56:04 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-03 18:09:18 +0200
commit7ccaec03557880f0ed6811e11661a6166c7c3a89 (patch)
tree8f0ac555c032cd1f63e014e58c4395510187260e /package
parent3cdbedcec47836f947b6f90ae1beed9e77872e20 (diff)
downloadbuildroot-7ccaec03557880f0ed6811e11661a6166c7c3a89.tar.gz
buildroot-7ccaec03557880f0ed6811e11661a6166c7c3a89.tar.bz2
package/wpa_supplicant: Add optional autoscan support
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/wpa_supplicant/Config.in5
-rw-r--r--package/wpa_supplicant/wpa_supplicant.mk6
2 files changed, 11 insertions, 0 deletions
diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
index f4c4167be5..1920774a6e 100644
--- a/package/wpa_supplicant/Config.in
+++ b/package/wpa_supplicant/Config.in
@@ -38,6 +38,11 @@ config BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
making it bigger but dispensing the need for a separate hostapd
binary in some applications hence being smaller overall.
+config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
+ bool "Enable autoscan"
+ help
+ Enable support for the autoscan feature (allow periodic scan)
+
config BR2_PACKAGE_WPA_SUPPLICANT_EAP
bool "Enable EAP"
help
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 21bbd3e5a9..d1d59f74ed 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -68,6 +68,12 @@ WPA_SUPPLICANT_CONFIG_ENABLE += \
CONFIG_P2P
endif
+ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y)
+WPA_SUPPLICANT_CONFIG_ENABLE += \
+ CONFIG_AUTOSCAN_EXPONENTIAL \
+ CONFIG_AUTOSCAN_PERIODIC
+endif
+
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPS),y)
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WPS
endif