driver: wifi: esp32: increase default stack values

When testing Wi-Fi with MQTT/HTTP/Socket features,
network stacks can be full very fast, causing network issues
and eventual crash.

By analyzing used stacks,increasing the stack size described
in this PR fixes most use cases related above.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2023-07-26 11:08:52 -03:00 committed by Carles Cufí
parent 43601095b5
commit 41f16c3dd7

View file

@ -22,6 +22,15 @@ menuconfig WIFI_ESP32
if WIFI_ESP32
config NET_TCP_WORKQ_STACK_SIZE
default 2048
config NET_RX_STACK_SIZE
default 2048
config NET_MGMT_EVENT_STACK_SIZE
default 2048
config ESP32_WIFI_STA_AUTO_DHCPV4
bool "Automatically starts DHCP4 negotiation"
depends on NET_DHCPV4