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 <Zephyr>/drivers/wifi/esp32/Kconfig.esp32:133

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:40<Zephyr>/drivers/Kconfig:76<Zephyr>/drivers/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.)