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 <maochen.wang@nxp.com>
This commit is contained in:
Maochen Wang 2024-12-11 18:35:59 +08:00 committed by Benjamin Cabé
parent a419c141ea
commit 75db72aa1f

View file

@ -25,7 +25,8 @@ if WIFI_NM_WPA_SUPPLICANT
config HEAP_MEM_POOL_ADD_SIZE_HOSTAP
def_int 85000 if WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && !MBEDTLS_ENABLE_HEAP
def_int 40000 if WIFI_NM_WPA_SUPPLICANT_AP || WIFI_NM_HOSTAPD_AP
def_int 85000 if WIFI_NM_HOSTAPD_AP
def_int 40000 if WIFI_NM_WPA_SUPPLICANT_AP
# 8192 for MbedTLS heap
def_int 21808 if MBEDTLS_ENABLE_HEAP
# 30K is mandatory, but might need more for long duration use cases