summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorAlexis Green <agreen@cococorp.com>2016-12-13 20:10:35 -0800
committerFelix Fietkau <nbd@nbd.name>2016-12-20 16:24:22 +0100
commit77ece30eb9ff8e580394532f5daea18d26b11d2f (patch)
tree7168ca5247ecd0144ac817042827885c82ff9a3b /package
parent842ed8448deccebf2a0d9a24076e421de87a6959 (diff)
downloadmtk-20170518-77ece30eb9ff8e580394532f5daea18d26b11d2f.zip
mtk-20170518-77ece30eb9ff8e580394532f5daea18d26b11d2f.tar.gz
mtk-20170518-77ece30eb9ff8e580394532f5daea18d26b11d2f.tar.bz2
hostapd: Add ability to specify that that wireless driver supports 802.11ac
Signed-off-by: Alexis Green <agreen@cococorp.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [make more generic]
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/Config.in4
-rw-r--r--package/network/services/hostapd/Makefile8
2 files changed, 11 insertions, 1 deletions
diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in
index 645888e..fea5ed3 100644
--- a/package/network/services/hostapd/Config.in
+++ b/package/network/services/hostapd/Config.in
@@ -46,6 +46,10 @@ config DRIVER_11N_SUPPORT
bool
default n
+config DRIVER_11AC_SUPPORT
+ bool
+ default n
+
config DRIVER_11W_SUPPORT
bool
default n
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 76a519c..9f71252 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -31,7 +31,8 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_hostapd-mini \
CONFIG_WPA_RFKILL_SUPPORT \
CONFIG_DRIVER_WEXT_SUPPORT \
- CONFIG_DRIVER_11N_SUPPORT
+ CONFIG_DRIVER_11N_SUPPORT \
+ CONFIG_DRIVER_11AC_SUPPORT
LOCAL_TYPE=$(strip \
$(if $(findstring wpad,$(BUILD_VARIANT)),wpad, \
@@ -62,10 +63,15 @@ ifneq ($(CONFIG_DRIVER_11N_SUPPORT),)
HOSTAPD_IEEE80211N:=y
endif
+ifneq ($(CONFIG_DRIVER_11AC_SUPPORT),)
+ HOSTAPD_IEEE80211AC:=y
+endif
+
DRIVER_MAKEOPTS= \
CONFIG_ACS=$(CONFIG_PACKAGE_kmod-cfg80211) \
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \
CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \
+ CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \
CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \
ifeq ($(LOCAL_VARIANT),full)