Skip to contentSkip to conversation

package/wpa_supplicant: Add optional autoscan support

PATCH New Maxime Hadjinlian 3 participants 3 messages Jul 2, 2016 – Jul 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/wpa_supplicant: Add optional autoscan support

---
 package/wpa_supplicant/Config.in         | 5 +++++
 package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++
 2 files changed, 11 insertions(+)
package/wpa_supplicant/Config.in +5 -0
index f4c4167..1920774 100644
@@ -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
package/wpa_supplicant/wpa_supplicant.mk +6 -0
index 21bbd3e..d1d59f7 100644
@@ -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
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 package/wpa_supplicant: Add optional autoscan support

Maxime, all,

On 2016-07-02 10:56 +0200, Maxime Hadjinlian spake thusly:

Quoted 1 line

As seen IRL, it would have been a nice addition to explain that it does not conflict with the recently added bgscan.

Regards,
Yann E. MORIN.

Quoted 45 lines
---
 package/wpa_supplicant/Config.in         | 5 +++++
 package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++
 2 files changed, 11 insertions(+)
package/wpa_supplicant/Config.in +5 -0
index f4c4167..1920774 100644
@@ -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
package/wpa_supplicant/wpa_supplicant.mk +6 -0
index 21bbd3e..d1d59f7 100644
@@ -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
Signature · 6 lines
2.8.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/wpa_supplicant: Add optional autoscan support

In reply to Maxime Hadjinlian

Hello,

Quoted 5 lines · Maxime Hadjinlian
---
 package/wpa_supplicant/Config.in         | 5 +++++
 package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++
 2 files changed, 11 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com