CONFIG_ESP32_WIFI_STATIC_TX_BUFFER_NUM
Max number of WiFi static TX buffers
Type: int
Help
Set the number of WiFi static TX buffers. Each buffer takes approximately
1.6KB of RAM. The static RX buffers are allocated when esp_wifi_init() is
called, they are not released until esp_wifi_deinit() is called.
For each transmitted data frame from the higher layer TCP/IP stack,
the WiFi driver makes a copy of it in a TX buffer. For some applications
especially UDP applications, the upper layer can deliver frames faster
than WiFi layer can transmit.
In these cases, we may run out of TX buffers.
Direct dependencies
ESP32_WIFI_STATIC_TX_BUFFER
&& WIFI_ESP32
&& WIFI
(Includes any dependencies from ifs and menus.)
Default
16
Kconfig definition
At <Zephyr>/drivers/wifi/esp32/Kconfig.esp32:107
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:42
→ <Zephyr>/drivers/Kconfig:78
→ <Zephyr>/drivers/wifi/Kconfig:36
Menu path: (Top) → Device Drivers → Wi-Fi Drivers → ESP32 SoC WiFi support
config ESP32_WIFI_STATIC_TX_BUFFER_NUM
int "Max number of WiFi static TX buffers"
range 1 64
default 16
depends on ESP32_WIFI_STATIC_TX_BUFFER && WIFI_ESP32 && WIFI
help
Set the number of WiFi static TX buffers. Each buffer takes approximately
1.6KB of RAM. The static RX buffers are allocated when esp_wifi_init() is
called, they are not released until esp_wifi_deinit() is called.
For each transmitted data frame from the higher layer TCP/IP stack,
the WiFi driver makes a copy of it in a TX buffer. For some applications
especially UDP applications, the upper layer can deliver frames faster
than WiFi layer can transmit.
In these cases, we may run out of TX buffers.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)