Skip to content

Commit 75db72a

Browse files
MaochenWang1kartben
authored andcommitted
hostap: increase the default heap size of hostapd case
Hostapd consumes more heap than supplicant AP case, so increase the default value of hostapd case. Signed-off-by: Maochen Wang <[email protected]>
1 parent a419c14 commit 75db72a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/hostap/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ if WIFI_NM_WPA_SUPPLICANT
2525

2626
config HEAP_MEM_POOL_ADD_SIZE_HOSTAP
2727
def_int 85000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && !MBEDTLS_ENABLE_HEAP
28-
def_int 40000 if WIFI_NM_WPA_SUPPLICANT_AP || WIFI_NM_HOSTAPD_AP
28+
def_int 85000 if WIFI_NM_HOSTAPD_AP
29+
def_int 40000 if WIFI_NM_WPA_SUPPLICANT_AP
2930
# 8192 for MbedTLS heap
3031
def_int 21808 if MBEDTLS_ENABLE_HEAP
3132
# 30K is mandatory, but might need more for long duration use cases

0 commit comments

Comments
 (0)