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.
Default¶
- 10 
Kconfig definition¶
At <Zephyr Driver>/wifi/esp32/Kconfig.esp32:40
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_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.)