Skip to content

Commit 3d4b438

Browse files
committed
[nrf fromtree] modules: hostap: Fix issue with enterprise mode connection
Increase stack size of supplicant thread to fix crash seen during enterprise mode connection. Increase heap requirement of hostap to handle TLS processing failures. Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit d073e62)
1 parent c14e031 commit 3d4b438

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/hostap/Kconfig

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,16 @@ if WIFI_NM_WPA_SUPPLICANT
2525

2626
config HEAP_MEM_POOL_ADD_SIZE_HOSTAP
2727
def_int 66560 if WIFI_NM_HOSTAPD_AP
28-
def_int 41808 if WIFI_NM_WPA_SUPPLICANT_AP || WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
28+
def_int 48000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
29+
def_int 41808 if WIFI_NM_WPA_SUPPLICANT_AP
2930
# 30K is mandatory, but might need more for long duration use cases
3031
def_int 30000
3132

3233
config WIFI_NM_WPA_SUPPLICANT_THREAD_STACK_SIZE
3334
int "Stack size for wpa_supplicant thread"
35+
# TODO: Providing higher stack size for Enterprise mode to fix stack
36+
# overflow issues. Need to identify the cause for higher stack usage.
37+
default 8192 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
3438
default 5600
3539

3640
config WIFI_NM_WPA_SUPPLICANT_WQ_STACK_SIZE

0 commit comments

Comments
 (0)