hostapd: sync defconfig to 2.10 version and enable options

Sync the defconfig to version 2.10.
Additionally, add support for new features, such as:
 * ACS (auto channel selection)
 * 802.11AX (Wi-Fi 6)
 * SAE (WPA3 Personal)
 * SUITEB192 (WPA3 Enterprise 192 bits)

https://onedigi.atlassian.net/browse/DEL-8346

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2023-03-21 12:51:06 +01:00
parent 5f5855744d
commit af1dea4644
1 changed files with 120 additions and 17 deletions

View File

@ -18,6 +18,9 @@ CONFIG_DRIVER_HOSTAP=y
# Driver interface for drivers using the nl80211 kernel interface # Driver interface for drivers using the nl80211 kernel interface
CONFIG_DRIVER_NL80211=y CONFIG_DRIVER_NL80211=y
# QCA vendor extensions to nl80211
#CONFIG_DRIVER_NL80211_QCA=y
# driver_nl80211.c requires libnl. If you are compiling it yourself # driver_nl80211.c requires libnl. If you are compiling it yourself
# you may need to point hostapd to your version of libnl. # you may need to point hostapd to your version of libnl.
# #
@ -41,17 +44,11 @@ CONFIG_LIBNL32=y
# Driver interface for no driver (e.g., RADIUS server only) # Driver interface for no driver (e.g., RADIUS server only)
#CONFIG_DRIVER_NONE=y #CONFIG_DRIVER_NONE=y
# IEEE 802.11F/IAPP
CONFIG_IAPP=y
# WPA2/IEEE 802.11i RSN pre-authentication # WPA2/IEEE 802.11i RSN pre-authentication
CONFIG_RSN_PREAUTH=y CONFIG_RSN_PREAUTH=y
# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS) # Support Operating Channel Validation
CONFIG_PEERKEY=y #CONFIG_OCV=y
# IEEE 802.11w (management frame protection)
CONFIG_IEEE80211W=y
# Integrated EAP server # Integrated EAP server
CONFIG_EAP=y CONFIG_EAP=y
@ -105,11 +102,18 @@ CONFIG_EAP_PWD=y
#CONFIG_EAP_GPSK_SHA256=y #CONFIG_EAP_GPSK_SHA256=y
# EAP-FAST for the integrated EAP server # EAP-FAST for the integrated EAP server
# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed
# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g.,
# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions.
#CONFIG_EAP_FAST=y #CONFIG_EAP_FAST=y
# EAP-TEAP for the integrated EAP server
# Note: The current EAP-TEAP implementation is experimental and should not be
# enabled for production use. The IETF RFC 7170 that defines EAP-TEAP has number
# of conflicting statements and missing details and the implementation has
# vendor specific workarounds for those and as such, may not interoperate with
# any other implementation. This should not be used for anything else than
# experimentation and interoperability testing until those issues has been
# resolved.
#CONFIG_EAP_TEAP=y
# Wi-Fi Protected Setup (WPS) # Wi-Fi Protected Setup (WPS)
CONFIG_WPS=y CONFIG_WPS=y
# Enable UPnP support for external WPS Registrars # Enable UPnP support for external WPS Registrars
@ -138,15 +142,12 @@ CONFIG_RADIUS_SERVER=y
CONFIG_IPV6=y CONFIG_IPV6=y
# IEEE Std 802.11r-2008 (Fast BSS Transition) # IEEE Std 802.11r-2008 (Fast BSS Transition)
#CONFIG_IEEE80211R=y CONFIG_IEEE80211R=y
# Use the hostapd's IEEE 802.11 authentication (ACL), but without # Use the hostapd's IEEE 802.11 authentication (ACL), but without
# the IEEE 802.11 Management capability (e.g., FreeBSD/net80211) # the IEEE 802.11 Management capability (e.g., FreeBSD/net80211)
#CONFIG_DRIVER_RADIUS_ACL=y #CONFIG_DRIVER_RADIUS_ACL=y
# IEEE 802.11n (High Throughput) support
CONFIG_IEEE80211N=y
# Wireless Network Management (IEEE Std 802.11v-2011) # Wireless Network Management (IEEE Std 802.11v-2011)
# Note: This is experimental and not complete implementation. # Note: This is experimental and not complete implementation.
#CONFIG_WNM=y #CONFIG_WNM=y
@ -154,6 +155,12 @@ CONFIG_IEEE80211N=y
# IEEE 802.11ac (Very High Throughput) support # IEEE 802.11ac (Very High Throughput) support
CONFIG_IEEE80211AC=y CONFIG_IEEE80211AC=y
# IEEE 802.11ax HE support
# Note: This is experimental and work in progress. The definitions are still
# subject to change and this should not be expected to interoperate with the
# final IEEE 802.11ax version.
CONFIG_IEEE80211AX=y
# Remove debugging code that is printing out debug messages to stdout. # Remove debugging code that is printing out debug messages to stdout.
# This can be used to reduce the size of the hostapd considerably if debugging # This can be used to reduce the size of the hostapd considerably if debugging
# code is not needed. # code is not needed.
@ -163,6 +170,9 @@ CONFIG_IEEE80211AC=y
# Disabled by default. # Disabled by default.
CONFIG_DEBUG_FILE=y CONFIG_DEBUG_FILE=y
# Send debug messages to syslog instead of stdout
#CONFIG_DEBUG_SYSLOG=y
# Add support for sending all debug messages (regardless of debug verbosity) # Add support for sending all debug messages (regardless of debug verbosity)
# to the Linux kernel tracing facility. This helps debug the entire stack by # to the Linux kernel tracing facility. This helps debug the entire stack by
# making it easy to record everything happening from the driver up into the # making it easy to record everything happening from the driver up into the
@ -240,10 +250,25 @@ CONFIG_DEBUG_FILE=y
# requirements described above. # requirements described above.
#CONFIG_NO_RANDOM_POOL=y #CONFIG_NO_RANDOM_POOL=y
# Should we attempt to use the getrandom(2) call that provides more reliable
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
#CONFIG_GETRANDOM=y
# Should we use poll instead of select? Select is used by default.
#CONFIG_ELOOP_POLL=y
# Should we use epoll instead of select? Select is used by default.
#CONFIG_ELOOP_EPOLL=y
# Should we use kqueue instead of select? Select is used by default.
#CONFIG_ELOOP_KQUEUE=y
# Select TLS implementation # Select TLS implementation
# openssl = OpenSSL (default) # openssl = OpenSSL (default)
# gnutls = GnuTLS # gnutls = GnuTLS
# internal = Internal TLSv1 implementation (experimental) # internal = Internal TLSv1 implementation (experimental)
# linux = Linux kernel AF_ALG and internal TLSv1 implementation (experimental)
# none = Empty template # none = Empty template
#CONFIG_TLS=openssl #CONFIG_TLS=openssl
@ -256,6 +281,10 @@ CONFIG_DEBUG_FILE=y
# can be enabled to enable use of stronger crypto algorithms. # can be enabled to enable use of stronger crypto algorithms.
#CONFIG_TLSV12=y #CONFIG_TLSV12=y
# Select which ciphers to use by default with OpenSSL if the user does not
# specify them.
#CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT:!EXP:!LOW"
# If CONFIG_TLS=internal is used, additional library and include paths are # If CONFIG_TLS=internal is used, additional library and include paths are
# needed for LibTomMath. Alternatively, an integrated, minimal version of # needed for LibTomMath. Alternatively, an integrated, minimal version of
# LibTomMath can be used. See beginning of libtommath.c for details on benefits # LibTomMath can be used. See beginning of libtommath.c for details on benefits
@ -283,6 +312,12 @@ CONFIG_DEBUG_FILE=y
# Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file # Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file
#CONFIG_SQLITE=y #CONFIG_SQLITE=y
# Enable Fast Session Transfer (FST)
#CONFIG_FST=y
# Enable CLI commands for FST testing
#CONFIG_FST_TEST=y
# Testing options # Testing options
# This can be used to enable some testing options (see also the example # This can be used to enable some testing options (see also the example
# configuration file) that are really useful only for testing clients that # configuration file) that are really useful only for testing clients that
@ -311,6 +346,74 @@ CONFIG_DEBUG_FILE=y
# * ath10k # * ath10k
# #
# For more details refer to: # For more details refer to:
# http://wireless.kernel.org/en/users/Documentation/acs # https://wireless.wiki.kernel.org/en/users/documentation/acs
# #
#CONFIG_ACS=y CONFIG_ACS=y
# Multiband Operation support
# These extensions facilitate efficient use of multiple frequency bands
# available to the AP and the devices that may associate with it.
#CONFIG_MBO=y
# Client Taxonomy
# Has the AP retain the Probe Request and (Re)Association Request frames from
# a client, from which a signature can be produced which can identify the model
# of client device like "Nexus 6P" or "iPhone 5s".
#CONFIG_TAXONOMY=y
# Fast Initial Link Setup (FILS) (IEEE 802.11ai)
#CONFIG_FILS=y
# FILS shared key authentication with PFS
#CONFIG_FILS_SK_PFS=y
# Include internal line edit mode in hostapd_cli. This can be used to provide
# limited command line editing and history support.
#CONFIG_WPA_CLI_EDIT=y
# Opportunistic Wireless Encryption (OWE)
# Experimental implementation of draft-harkins-owe-07.txt
#CONFIG_OWE=y
# Airtime policy support
#CONFIG_AIRTIME_POLICY=y
# Override default value for the wpa_disable_eapol_key_retries configuration
# parameter. See that parameter in hostapd.conf for more details.
#CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1
# Wired equivalent privacy (WEP)
# WEP is an obsolete cryptographic data confidentiality algorithm that is not
# considered secure. It should not be used for anything anymore. The
# functionality needed to use WEP is available in the current hostapd
# release under this optional build parameter. This functionality is subject to
# be completely removed in a future release.
#CONFIG_WEP=y
# Remove all TKIP functionality
# TKIP is an old cryptographic data confidentiality algorithm that is not
# considered secure. It should not be used anymore. For now, the default hostapd
# build includes this to allow mixed mode WPA+WPA2 networks to be enabled, but
# that functionality is subject to be removed in the future.
#CONFIG_NO_TKIP=y
# Pre-Association Security Negotiation (PASN)
# Experimental implementation based on IEEE P802.11z/D2.6 and the protocol
# design is still subject to change. As such, this should not yet be enabled in
# production use.
# This requires CONFIG_IEEE80211W=y to be enabled, too.
#CONFIG_PASN=y
# Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect)
CONFIG_DPP=y
# DPP version 2 support
CONFIG_DPP2=y
# DPP version 3 support (experimental and still changing; do not enable for
# production use)
#CONFIG_DPP3=y
# CUSTOM CONFIG
CONFIG_SAE=y
CONFIG_SAE_PK=y
CONFIG_SUITEB=y
CONFIG_SUITEB192=y