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.
Default¶
- 32 
Kconfig definition¶
At <Zephyr Driver>/wifi/esp32/Kconfig.esp32:120
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:78 → <Zephyr Driver>/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.)