:orphan: .. title:: choice ESP32_WIFI_TX_BUFFER: Type of WiFi TX buffers .. _choice_443: .. describe:: choice ESP32_WIFI_TX_BUFFER: Type of WiFi TX buffers *Type of WiFi TX buffers* Type: ``bool`` Help ==== .. code-block:: none Select type of WiFi TX buffers: If "Static" is selected, WiFi TX buffers are allocated when WiFi is initialized and released when WiFi is de-initialized. The size of each static TX buffer is fixed to about 1.6KB. If "Dynamic" is selected, each WiFi TX buffer is allocated as needed when a data frame is delivered to the Wifi driver from the TCP/IP stack. The buffer is freed after the data frame has been sent by the WiFi driver. The size of each dynamic TX buffer depends on the length of each data frame sent by the TCP/IP layer. If PSRAM is enabled, "Static" should be selected to guarantee enough WiFi TX buffers. If PSRAM is disabled, "Dynamic" should be selected to improve the utilization of RAM. Direct dependencies =================== \ :kconfig:`WIFI_ESP32 ` && \ :kconfig:`WIFI ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :kconfig:`ESP32_WIFI_DYNAMIC_TX_BUFFER ` Choice options ============== - \ :kconfig:`ESP32_WIFI_STATIC_TX_BUFFER ` - \ :kconfig:`ESP32_WIFI_DYNAMIC_TX_BUFFER ` Kconfig definition ================== At ``/wifi/esp32/Kconfig.esp32:73`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:78`` → ``/wifi/Kconfig:36`` Menu path: (Top) → Device Drivers → Wi-Fi Drivers → ESP32 SoC WiFi support .. code-block:: kconfig choice ESP32_WIFI_TX_BUFFER bool "Type of WiFi TX buffers" default ESP32_WIFI_DYNAMIC_TX_BUFFER depends on WIFI_ESP32 && WIFI help Select type of WiFi TX buffers: If "Static" is selected, WiFi TX buffers are allocated when WiFi is initialized and released when WiFi is de-initialized. The size of each static TX buffer is fixed to about 1.6KB. If "Dynamic" is selected, each WiFi TX buffer is allocated as needed when a data frame is delivered to the Wifi driver from the TCP/IP stack. The buffer is freed after the data frame has been sent by the WiFi driver. The size of each dynamic TX buffer depends on the length of each data frame sent by the TCP/IP layer. If PSRAM is enabled, "Static" should be selected to guarantee enough WiFi TX buffers. If PSRAM is disabled, "Dynamic" should be selected to improve the utilization of RAM. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*