From 703fa22b11a082cb840da47990f8677f2bd9080f Mon Sep 17 00:00:00 2001 From: Abhinav Kulkarni Date: Mon, 19 May 2025 12:04:31 +0530 Subject: [PATCH] samples: net: wifi: shell: nxp: HostAP support for IW416 Added host AP support for IW416 and IW612 socs. Adding conf files which can be used along with shield for compilation to test HostAP and WPA supplicant. Signed-off-by: Abhinav Kulkarni --- ...2_debug.conf => overlay_hostap_debug.conf} | 0 .../shell/nxp/overlay_hostap_hosted_mcu.conf | 38 +++++++++++++++++++ 2 files changed, 38 insertions(+) rename samples/net/wifi/shell/nxp/{overlay_hostap_rw612_debug.conf => overlay_hostap_debug.conf} (100%) create mode 100644 samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf diff --git a/samples/net/wifi/shell/nxp/overlay_hostap_rw612_debug.conf b/samples/net/wifi/shell/nxp/overlay_hostap_debug.conf similarity index 100% rename from samples/net/wifi/shell/nxp/overlay_hostap_rw612_debug.conf rename to samples/net/wifi/shell/nxp/overlay_hostap_debug.conf diff --git a/samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf b/samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf new file mode 100644 index 00000000000..9a1adae6111 --- /dev/null +++ b/samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf @@ -0,0 +1,38 @@ +# This conf is used for supplicant support, including enterprise, +# WPS and DPP mode. + +# wpa_supplicant +CONFIG_WIFI_NM_WPA_SUPPLICANT=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_CLI=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_DPP=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_EAPOL=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_INF_MON=n +CONFIG_WIFI_NM_MAX_MANAGED_INTERFACES=2 +CONFIG_SAE_PWE_EARLY_EXIT=y +CONFIG_WIFI_NM_WPA_SUPPLICANT_WPS=y + +# Enable mbedtls +CONFIG_MBEDTLS=y +CONFIG_MBEDTLS_BUILTIN=y +CONFIG_ENTROPY_GENERATOR=y +CONFIG_MBEDTLS_PSA_CRYPTO_C=y +CONFIG_MBEDTLS_ENTROPY_C=y +CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192 + +# mbedtls heap for enterprise case +CONFIG_MBEDTLS_ENABLE_HEAP=y +CONFIG_MBEDTLS_HEAP_SIZE=80192 + +#priority +CONFIG_WIFI_NM_WPA_SUPPLICANT_WQ_PRIO=3 +CONFIG_WIFI_NM_WPA_SUPPLICANT_PRIO=3 + +# stack size +CONFIG_WIFI_NM_WPA_SUPPLICANT_WQ_STACK_SIZE=12288 +CONFIG_WIFI_NM_WPA_SUPPLICANT_THREAD_STACK_SIZE=12288 + +# debug level +CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y