Skip to content

Commit 3237cd3

Browse files
trantanennordicjm
authored andcommitted
samples: cellular: location/modem_shell: Increase HEAP for Wi-Fi
PR #20438 changed kernel heap allocations because new Wi-Fi heap was introduced (CONFIG_NRF_WIFI_CTRL_HEAP_SIZE). Kernel heap was set to 10kB. This might have been for Wi-Fi positioning. When combined "Cellular + Wi-Fi" positioning is done kernel heap requirement for the data to send to cloud increases. It seems 10kB heap is not enough and now it will be increased to 12kB. Signed-off-by: Tommi Rantanen <[email protected]>
1 parent fb0df5b commit 3237cd3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

samples/cellular/location/boards/thingy91x_nrf9151_ns.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024
5858
# Heap allocation should be changed when CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT
5959
# and CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT (which should be the same value) are changed.
6060
CONFIG_NRF_WIFI_CTRL_HEAP_SIZE=10240
61-
CONFIG_HEAP_MEM_POOL_SIZE=10240
61+
CONFIG_HEAP_MEM_POOL_SIZE=12288
6262
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y

samples/cellular/location/overlay-nrf700x-wifi-scan-only.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024
5858
# Heap allocation should be changed when CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT
5959
# and CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT (which should be the same value) are changed.
6060
CONFIG_NRF_WIFI_CTRL_HEAP_SIZE=10240
61-
CONFIG_HEAP_MEM_POOL_SIZE=10240
61+
CONFIG_HEAP_MEM_POOL_SIZE=12288
6262
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y

samples/cellular/modem_shell/overlay-nrf700x-wifi-scan-only.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024
7878
# and CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT (which should be the same value) are changed.
7979
# 10 APs seem to require 1644 bytes more heap.
8080
CONFIG_NRF_WIFI_CTRL_HEAP_SIZE=10240
81-
CONFIG_HEAP_MEM_POOL_SIZE=10240
81+
CONFIG_HEAP_MEM_POOL_SIZE=12288
8282
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y

0 commit comments

Comments
 (0)