CONFIG_ESP32_WIFI_CACHE_TX_BUFFER_NUM

Max number of WiFi cache TX buffers

Type: int

Help

Set the number of WiFi cache TX buffer number.

For each TX packet from uplayer, such as LWIP etc, WiFi driver needs to
allocate a static TX buffer and makes a copy of uplayer packet. If WiFi
driver fails to allocate the static TX buffer, it caches the uplayer
packets to a dedicated buffer queue, this option is used to configure the
size of the cached TX queue.

Direct dependencies

WIFI_ESP32 && WIFI

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At <Zephyr>/drivers/wifi/esp32/Kconfig.esp32:120

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_CACHE_TX_BUFFER_NUM
    int "Max number of WiFi cache TX buffers"
    range 16 128
    default 32
    depends on WIFI_ESP32 && WIFI
    help
      Set the number of WiFi cache TX buffer number.

      For each TX packet from uplayer, such as LWIP etc, WiFi driver needs to
      allocate a static TX buffer and makes a copy of uplayer packet. If WiFi
      driver fails to allocate the static TX buffer, it caches the uplayer
      packets to a dedicated buffer queue, this option is used to configure the
      size of the cached TX queue.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)