hostap: Reduce WPA supplicant heap when MbedTLS heap is enabled

If MbedTLS uses its own heap which is a static heap (not libc heap),
then WPA supplicant heap usage will come down, so, reduce 8K (minimum
MbedTLS heap for Wi-Fi) from the libc heap size.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2024-03-05 01:51:53 +05:30 committed by Carles Cufí
parent fa2b192df4
commit a62f85c2ee

View file

@ -24,6 +24,8 @@ if WIFI_NM_WPA_SUPPLICANT
config COMMON_LIBC_MALLOC_ARENA_SIZE
default 40000 if WIFI_NM_WPA_SUPPLICANT_AP
# 8192 for MbedTLS heap
default 21808 if MBEDTLS_ENABLE_HEAP
# 30K is mandatory, but might need more for long duration use cases
default 30000