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:
parent
fa2b192df4
commit
a62f85c2ee
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue