Skip to content

Commit

Permalink
modules: hostap: Increase the stack size for net_mgmt
Browse files Browse the repository at this point in the history
Due to recent changes in hostap to move few buffers from heap->stack (to
improve the reliability of allocations) this has increased the stack
size and with another recent change to increase the max polling sockets
this puts over the 4096 stack size for net_mgmt causing stack overflow.

Increase the stack size for net_mgmt to fix SHEL-2640 and SHEL-2676.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 authored and rlubos committed Apr 12, 2024
1 parent e8695fc commit 555ece9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hostap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ config BSS_MAX_IDLE_TIME
# Control interface is stack heavy (buffers + snprintfs)
# Making calls to RPU from net_mgmt callbacks (status - RSSI)
config NET_MGMT_EVENT_STACK_SIZE
default 4096
default 4200

config NET_SOCKETS_POLL_MAX
default 6
Expand Down

0 comments on commit 555ece9

Please sign in to comment.