From 336d0c385953ff1e8215759be5ff9b3e20488cfa Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Mon, 14 Jul 2025 19:27:11 +0530 Subject: [PATCH] modules: hostap: Set default stack size for softAP mode This change is needed to handle to stack overflow issues when using SPIM. Signed-off-by: Triveni Danda --- modules/hostap/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hostap/Kconfig b/modules/hostap/Kconfig index 5d245323d1f58..a75a4ff4a3261 100644 --- a/modules/hostap/Kconfig +++ b/modules/hostap/Kconfig @@ -37,6 +37,8 @@ config WIFI_NM_WPA_SUPPLICANT_THREAD_STACK_SIZE # TODO: Providing higher stack size for Enterprise mode to fix stack # overflow issues. Need to identify the cause for higher stack usage. default 8192 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE + # This is needed to handle stack overflow issues on nRF Wi-Fi drivers. + default 5900 if WIFI_NM_WPA_SUPPLICANT_AP default 5800 config WIFI_NM_WPA_SUPPLICANT_WQ_STACK_SIZE