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]
This commit is contained in:
parent
842ed8448d
commit
77ece30eb9
@ -46,6 +46,10 @@ config DRIVER_11N_SUPPORT
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config DRIVER_11AC_SUPPORT
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
config DRIVER_11W_SUPPORT
|
config DRIVER_11W_SUPPORT
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
@ -31,7 +31,8 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
CONFIG_PACKAGE_hostapd-mini \
|
CONFIG_PACKAGE_hostapd-mini \
|
||||||
CONFIG_WPA_RFKILL_SUPPORT \
|
CONFIG_WPA_RFKILL_SUPPORT \
|
||||||
CONFIG_DRIVER_WEXT_SUPPORT \
|
CONFIG_DRIVER_WEXT_SUPPORT \
|
||||||
CONFIG_DRIVER_11N_SUPPORT
|
CONFIG_DRIVER_11N_SUPPORT \
|
||||||
|
CONFIG_DRIVER_11AC_SUPPORT
|
||||||
|
|
||||||
LOCAL_TYPE=$(strip \
|
LOCAL_TYPE=$(strip \
|
||||||
$(if $(findstring wpad,$(BUILD_VARIANT)),wpad, \
|
$(if $(findstring wpad,$(BUILD_VARIANT)),wpad, \
|
||||||
@ -62,10 +63,15 @@ ifneq ($(CONFIG_DRIVER_11N_SUPPORT),)
|
|||||||
HOSTAPD_IEEE80211N:=y
|
HOSTAPD_IEEE80211N:=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_DRIVER_11AC_SUPPORT),)
|
||||||
|
HOSTAPD_IEEE80211AC:=y
|
||||||
|
endif
|
||||||
|
|
||||||
DRIVER_MAKEOPTS= \
|
DRIVER_MAKEOPTS= \
|
||||||
CONFIG_ACS=$(CONFIG_PACKAGE_kmod-cfg80211) \
|
CONFIG_ACS=$(CONFIG_PACKAGE_kmod-cfg80211) \
|
||||||
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \
|
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \
|
||||||
CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \
|
CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \
|
||||||
|
CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \
|
||||||
CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \
|
CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \
|
||||||
|
|
||||||
ifeq ($(LOCAL_VARIANT),full)
|
ifeq ($(LOCAL_VARIANT),full)
|
||||||
|
Loading…
Reference in New Issue
Block a user