hostapd: add CONFIG_DRIVER_11BE_SUPPORT
Add option to enable 802.11BE support. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
This commit is contained in:
parent
92e6b84d15
commit
b1d6068330
3 changed files with 14 additions and 0 deletions
|
@ -40,6 +40,10 @@ config DRIVER_11AX_SUPPORT
|
||||||
default n
|
default n
|
||||||
select WPA_MBO_SUPPORT
|
select WPA_MBO_SUPPORT
|
||||||
|
|
||||||
|
config DRIVER_11BE_SUPPORT
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
config WPA_ENABLE_WEP
|
config WPA_ENABLE_WEP
|
||||||
bool "Enable support for unsecure and obsolete WEP"
|
bool "Enable support for unsecure and obsolete WEP"
|
||||||
depends on PACKAGE_hostapd-common
|
depends on PACKAGE_hostapd-common
|
||||||
|
|
|
@ -27,6 +27,7 @@ PKG_CONFIG_DEPENDS:= \
|
||||||
CONFIG_WPA_RFKILL_SUPPORT \
|
CONFIG_WPA_RFKILL_SUPPORT \
|
||||||
CONFIG_DRIVER_11AC_SUPPORT \
|
CONFIG_DRIVER_11AC_SUPPORT \
|
||||||
CONFIG_DRIVER_11AX_SUPPORT \
|
CONFIG_DRIVER_11AX_SUPPORT \
|
||||||
|
CONFIG_DRIVER_11BE_SUPPORT \
|
||||||
CONFIG_WPA_ENABLE_WEP
|
CONFIG_WPA_ENABLE_WEP
|
||||||
|
|
||||||
PKG_BUILD_FLAGS:=gc-sections lto
|
PKG_BUILD_FLAGS:=gc-sections lto
|
||||||
|
@ -79,6 +80,10 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),)
|
||||||
HOSTAPD_IEEE80211AX:=y
|
HOSTAPD_IEEE80211AX:=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_DRIVER_11BE_SUPPORT),)
|
||||||
|
HOSTAPD_IEEE80211BE:=y
|
||||||
|
endif
|
||||||
|
|
||||||
CORE_DEPENDS = +ucode +libubus +libucode +ucode-mod-fs +ucode-mod-nl80211 +ucode-mod-rtnl +ucode-mod-ubus +ucode-mod-uloop +libblobmsg-json +libudebug
|
CORE_DEPENDS = +ucode +libubus +libucode +ucode-mod-fs +ucode-mod-nl80211 +ucode-mod-rtnl +ucode-mod-ubus +ucode-mod-uloop +libblobmsg-json +libudebug
|
||||||
OPENSSL_DEPENDS = +PACKAGE_$(1):libopenssl +PACKAGE_$(1):libopenssl-legacy
|
OPENSSL_DEPENDS = +PACKAGE_$(1):libopenssl +PACKAGE_$(1):libopenssl-legacy
|
||||||
|
|
||||||
|
@ -86,6 +91,7 @@ DRIVER_MAKEOPTS= \
|
||||||
CONFIG_ACS=y CONFIG_DRIVER_NL80211=y \
|
CONFIG_ACS=y CONFIG_DRIVER_NL80211=y \
|
||||||
CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \
|
CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \
|
||||||
CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \
|
CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \
|
||||||
|
CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \
|
||||||
CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) \
|
CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) \
|
||||||
CONFIG_UCODE=y CONFIG_APUP=y
|
CONFIG_UCODE=y CONFIG_APUP=y
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,10 @@ static inline int has_feature(const char *feat)
|
||||||
if (!strcmp(feat, "11ax"))
|
if (!strcmp(feat, "11ax"))
|
||||||
return 1;
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_IEEE80211BE
|
||||||
|
if (!strcmp(feat, "11be"))
|
||||||
|
return 1;
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_IEEE80211R
|
#ifdef CONFIG_IEEE80211R
|
||||||
if (!strcmp(feat, "11r"))
|
if (!strcmp(feat, "11r"))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue