Skip to content

Commit 0a53640

Browse files
committed
[nrf fromlist] modules: hostap: Define heap and stack for P2P support
Increase required heap and stack size for P2P. More stack was required during WPS negotiation. Upstream PR #: 97183 Signed-off-by: Ravi Dondaputi <[email protected]>
1 parent 6269cce commit 0a53640

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/hostap/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ config HEAP_MEM_POOL_ADD_SIZE_HOSTAP
4646
def_int 66560 if WIFI_NM_HOSTAPD_AP
4747
def_int 55000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_CREDENTIALS
4848
def_int 48000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
49+
def_int 50000 if WIFI_NM_WPA_SUPPLICANT_P2P
4950
def_int 41808 if WIFI_NM_WPA_SUPPLICANT_AP
5051
# 30K is mandatory, but might need more for long duration use cases
5152
def_int 30000
@@ -54,6 +55,7 @@ endif # WIFI_NM_WPA_SUPPLICANT_GLOBAL_HEAP
5455

5556
config WIFI_NM_WPA_SUPPLICANT_THREAD_STACK_SIZE
5657
int "Stack size for wpa_supplicant thread"
58+
default 10000 if WIFI_NM_WPA_SUPPLICANT_P2P
5759
# TODO: Providing higher stack size for Enterprise mode to fix stack
5860
# overflow issues. Need to identify the cause for higher stack usage.
5961
default 8192 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE

0 commit comments

Comments
 (0)