hostap: update the default heap size for hostap
As kernel heap is used for hostap, which replaced libc heap, then no need to consider the MBEDTLS_ENABLE_HEAP case. For enterprise case, mbedtls will use MBEDTLS_HEAP or libc heap to allocate memory, instead of the kernel heap. Modify the heap size for enterprise case to have necessary memory. Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
This commit is contained in:
parent
f9901e8e9b
commit
42701fdb27
1 changed files with 2 additions and 5 deletions
|
|
@ -24,11 +24,8 @@ config WIFI_NM_WPA_SUPPLICANT
|
|||
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 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
|
||||
def_int 66560 if WIFI_NM_HOSTAPD_AP
|
||||
def_int 41808 if WIFI_NM_WPA_SUPPLICANT_AP || WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
|
||||
# 30K is mandatory, but might need more for long duration use cases
|
||||
def_int 30000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue