Skip to content

Commit 39b904d

Browse files
krish2718carlescufi
authored andcommitted
modules: hostap: Add separate config for EAP-FAST
EAP-FAST has extra requirements (TLS 1.3, session tickets etc) and is seldom used, so, remove it from Enterprise list and add a separate Kconfig option. This solves the build error when Enterprise mode is enabled. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent cfd7f63 commit 39b904d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/hostap/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,17 @@ zephyr_library_compile_definitions_ifdef(CONFIG_EAP_FAST
477477
EAP_FAST
478478
)
479479

480+
# Needs TLS1.3 and SESSION_TICKETS
481+
zephyr_library_sources_ifdef(CONFIG_EAP_FAST
482+
${HOSTAP_SRC_BASE}/eap_peer/eap_fast.c
483+
${HOSTAP_SRC_BASE}/eap_peer/eap_fast_pac.c
484+
${HOSTAP_SRC_BASE}/eap_common/eap_fast_common.c
485+
)
486+
487+
zephyr_library_compile_definitions_ifdef(CONFIG_EAP_FAST
488+
EAP_FAST
489+
)
490+
480491
zephyr_library_compile_definitions_ifndef(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
481492
CONFIG_NO_CONFIG_BLOBS
482493
)

0 commit comments

Comments
 (0)