samples: wifi: shell: Enable TLSv1.3 in wifi shell example
Enable TLSv1.3 for NXP wifi chips when hostap is enabled.
Signed-off-by: Hui Bai <hui.bai@nxp.com>
diff --git a/samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf b/samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf
index 2a505a6..811c834 100644
--- a/samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf
+++ b/samples/net/wifi/shell/nxp/overlay_hostap_hosted_mcu.conf
@@ -24,6 +24,9 @@
CONFIG_MBEDTLS_ENTROPY_C=y
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192
+# TLSv1.3
+CONFIG_EAP_TLSV1_3=y
+
# mbedtls heap for enterprise case
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=90432
diff --git a/samples/net/wifi/shell/nxp/overlay_hostap_rw612.conf b/samples/net/wifi/shell/nxp/overlay_hostap_rw612.conf
index 28bb9ee..2e75a0e 100644
--- a/samples/net/wifi/shell/nxp/overlay_hostap_rw612.conf
+++ b/samples/net/wifi/shell/nxp/overlay_hostap_rw612.conf
@@ -28,6 +28,9 @@
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=69952
+# TLSv1.3
+CONFIG_EAP_TLSV1_3=y
+
# priority
CONFIG_WIFI_NM_WPA_SUPPLICANT_WQ_PRIO=3
CONFIG_WIFI_NM_WPA_SUPPLICANT_PRIO=3