This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM

Max number of WiFi dynamic TX buffers

Type: int

Help

Set the number of WiFi dynamic TX buffers. The size of each
dynamic TXbuffer is not fixed, it depends on the size of each
transmitted data frame.

For each transmitted 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_DYNAMIC_TX_BUFFER && WIFI_ESP32 && WIFI

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At drivers/wifi/esp32/Kconfig.esp32:133

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:76drivers/wifi/Kconfig:36

Menu path: (Top) → Device Drivers → Wi-Fi Drivers → ESP32 SoC WiFi support

config ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM
    int "Max number of WiFi dynamic TX buffers"
    range 1 128
    default 32
    depends on ESP32_WIFI_DYNAMIC_TX_BUFFER && WIFI_ESP32 && WIFI
    help
      Set the number of WiFi dynamic TX buffers. The size of each
      dynamic TXbuffer is not fixed, it depends on the size of each
      transmitted data frame.

      For each transmitted 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.)