Skip to content

Commit

Permalink
samples: wifi: Increase stack size in sample
Browse files Browse the repository at this point in the history
[SHEL-2900] Added arrays for null termination,
which increase the stack size. So, need to increase
stack size of samples.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
  • Loading branch information
kapbh authored and rlubos committed Sep 13, 2024
1 parent 1282ebb commit 2797c9d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion samples/wifi/ble_coex/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CONFIG_NET_CONFIG_INIT_TIMEOUT=0
CONFIG_NET_SOCKETS_POLL_MAX=10

# Memories
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4300
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096

Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/promiscuous/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_SOCKETS_POLL_MAX=10

# Memories
CONFIG_MAIN_STACK_SIZE=4200
CONFIG_MAIN_STACK_SIZE=4300
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096

Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/raw_tx_packet/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CONFIG_NET_CONFIG_INIT_TIMEOUT=0
CONFIG_NET_SOCKETS_POLL_MAX=10

# Memories
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4300
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096

Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/shell/overlay-zperf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CONFIG_POSIX_MAX_FDS=20
CONFIG_NET_SOCKETS_POLL_MAX=20
# Sockets: select + poll take up more stack
CONFIG_MAIN_STACK_SIZE=4600
CONFIG_SHELL_STACK_SIZE=4600
CONFIG_SHELL_STACK_SIZE=4650
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4600

# Optimized networking settings for performance
Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/shell/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CONFIG_NET_SHELL=y

# Memories
CONFIG_MAIN_STACK_SIZE=4200
CONFIG_SHELL_STACK_SIZE=4400
CONFIG_SHELL_STACK_SIZE=4700

CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096
Expand Down
1 change: 1 addition & 0 deletions samples/wifi/softap/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ CONFIG_NET_SOCKETS_POLL_MAX=10
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096
CONFIG_SOFTAP_SAMPLE_START_WIFI_THREAD_STACK_SIZE=4300

# Debugging
CONFIG_STACK_SENTINEL=y
Expand Down
1 change: 1 addition & 0 deletions samples/wifi/sta/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ CONFIG_NET_SOCKETS_POLL_MAX=10
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096
CONFIG_STA_SAMPLE_START_WIFI_THREAD_STACK_SIZE=4300

# Debugging
CONFIG_STACK_SENTINEL=y
Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/thread_coex/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CONFIG_NET_CONFIG_SETTINGS=y
CONFIG_NET_CONFIG_INIT_TIMEOUT=0

# Memories
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4500
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096

Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/throughput/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ CONFIG_NET_SOCKETS_POLL_MAX=12

# Memories
CONFIG_MAIN_STACK_SIZE=4200
CONFIG_SHELL_STACK_SIZE=4400
CONFIG_SHELL_STACK_SIZE=4444
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096

Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/twt/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CONFIG_NET_CONFIG_INIT_TIMEOUT=0
CONFIG_NET_SOCKETS_POLL_MAX=10

# Memories
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4300
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096

Expand Down
2 changes: 1 addition & 1 deletion samples/wifi/wfa_qt_app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ CONFIG_NET_SHELL=y

# Memories
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_SHELL_STACK_SIZE=4096
CONFIG_SHELL_STACK_SIZE=4300
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096

Expand Down

0 comments on commit 2797c9d

Please sign in to comment.