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_STATIC_RX_BUFFER_NUM

Max number of WiFi static RX buffers

Type: int

Help

Set the number of WiFi static RX buffers. Each buffer takes approximately
1.6KB of RAM. The static rx buffers are allocated when esp_wifi_init is
called, they are not freed until esp_wifi_deinit is called.

WiFi hardware use these buffers to receive all 802.11 frames. A higher
number may allow higher throughput but increases memory use.
If ESP32_WIFI_AMPDU_RX_ENABLED is enabled, this value is recommended to
set equal or bigger than ESP32_WIFI_RX_BA_WIN in order to achieve better
throughput and compatibility with both stations and APs.

Direct dependencies

WIFI_ESP32 && WIFI

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

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

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_STATIC_RX_BUFFER_NUM
    int "Max number of WiFi static RX buffers"
    range 2 25
    default 10
    depends on WIFI_ESP32 && WIFI
    help
      Set the number of WiFi static RX buffers. Each buffer takes approximately
      1.6KB of RAM. The static rx buffers are allocated when esp_wifi_init is
      called, they are not freed until esp_wifi_deinit is called.

      WiFi hardware use these buffers to receive all 802.11 frames. A higher
      number may allow higher throughput but increases memory use.
      If ESP32_WIFI_AMPDU_RX_ENABLED is enabled, this value is recommended to
      set equal or bigger than ESP32_WIFI_RX_BA_WIN in order to achieve better
      throughput and compatibility with both stations and APs.

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