diff options
| author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-12-03 13:40:38 -0300 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2015-12-03 21:38:50 +0100 |
| commit | 5919b1ef8b850248c4132f58a28926575aa8778f (patch) | |
| tree | 20707c863ee9513d7991e8ed4cc8d5da4be9a3f3 /package/hostapd | |
| parent | 626ad58b27b5e873b4321c7bfbb57ab988878522 (diff) | |
| download | buildroot-5919b1ef8b850248c4132f58a28926575aa8778f.tar.gz buildroot-5919b1ef8b850248c4132f58a28926575aa8778f.zip | |
hostapd: make ACS optional
Make ACS (Automatic Channel Selection) support in hostapd optional.
There's a clash of standard vs. propietary solutions, hence when hostapd
has builtin ACS support (standard) and it's enabled (channel=0 in the
config) this will preclude the propietary driver from using ACS (it
won't work at all).
See:
http://e2e.ti.com/support/wireless_connectivity/f/307/p/465333/1669270
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/hostapd')
| -rw-r--r-- | package/hostapd/Config.in | 10 | ||||
| -rw-r--r-- | package/hostapd/hostapd.mk | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/package/hostapd/Config.in b/package/hostapd/Config.in index 656645bff1..62fbb66d63 100644 --- a/package/hostapd/Config.in +++ b/package/hostapd/Config.in @@ -14,6 +14,16 @@ config BR2_PACKAGE_HOSTAPD if BR2_PACKAGE_HOSTAPD +config BR2_PACKAGE_HOSTAPD_ACS + bool "Enable ACS" + default y + help + Enable support for standard ACS (Automatic Channel Selection). + Some propietary drivers use a custom algorithm which requires + channel to be set to '0' (which enables ACS in the config), + causing hostapd to use the standard one which doesn't work + for those cases. + config BR2_PACKAGE_HOSTAPD_EAP bool "Enable EAP" depends on !BR2_STATIC_LIBS diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index e22e53f819..88867e6d8a 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -15,7 +15,6 @@ HOSTAPD_LICENSE_FILES = README HOSTAPD_CONFIG_SET = HOSTAPD_CONFIG_ENABLE = \ - CONFIG_ACS \ CONFIG_FULL_DYNAMIC_VLAN \ CONFIG_HS20 \ CONFIG_IEEE80211AC \ @@ -45,6 +44,10 @@ HOSTAPD_CONFIG_DISABLE += CONFIG_EAP_PWD HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=\).*/\1internal/' endif +ifeq ($(BR2_PACKAGE_HOSTAPD_ACS),y) +HOSTAPD_CONFIG_ENABLE += CONFIG_ACS +endif + ifeq ($(BR2_PACKAGE_HOSTAPD_EAP),y) HOSTAPD_CONFIG_ENABLE += \ CONFIG_EAP \ |

