Skip to content

Commit

Permalink
[nrf noup] wifi: Fix nRF70 heap allocation
Browse files Browse the repository at this point in the history
The upstream WPA supplicant uses k_heap instead of libc_heap, so,
move the heap to k_heap.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
  • Loading branch information
krish2718 committed Oct 11, 2024
1 parent bdec5fd commit 31d2871
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/nrfconnect/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ config SYSTEM_WORKQUEUE_STACK_SIZE
default 1536 if CHIP_ICD_LIT_SUPPORT

config HEAP_MEM_POOL_SIZE
default 80000 if CHIP_WIFI
default 110720 if CHIP_WIFI

config CHIP_MALLOC_SYS_HEAP_SIZE
default 30720 if CHIP_WIFI
default 8192 if NET_L2_OPENTHREAD

# We use sys_heap based allocators, so make sure we don't reserve unused libc heap anyway
Expand Down

0 comments on commit 31d2871

Please sign in to comment.