CONFIG_ESP32_WIFI_RX_BA_WIN

WiFi AMPDU RX BA window size

Type: int

Help

Set the size of WiFi Block Ack RX window. Generally a bigger value means
higher throughput and better compatibility but more memory. Most of time
we should NOT change the default value unless special reason,
e.g. test the maximum UDP RX throughput with iperf etc. For iperf test in
shieldbox, the recommended value is 9~12. If PSRAM is used and WiFi memory
is preferred to allocat in PSRAM first, the default and minimum value
should be 16 to achieve better throughput and compatibility with both
stations and APs.

Direct dependencies

ESP32_WIFI_AMPDU_RX_ENABLED && WIFI_ESP32 && WIFI

(Includes any dependencies from ifs and menus.)

Default

  • 6

Kconfig definition

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

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 → WiFi AMPDU RX

config ESP32_WIFI_RX_BA_WIN
    int "WiFi AMPDU RX BA window size"
    range 2 32
    default 6
    depends on ESP32_WIFI_AMPDU_RX_ENABLED && WIFI_ESP32 && WIFI
    help
      Set the size of WiFi Block Ack RX window. Generally a bigger value means
      higher throughput and better compatibility but more memory. Most of time
      we should NOT change the default value unless special reason,
      e.g. test the maximum UDP RX throughput with iperf etc. For iperf test in
      shieldbox, the recommended value is 9~12. If PSRAM is used and WiFi memory
      is preferred to allocat in PSRAM first, the default and minimum value
      should be 16 to achieve better throughput and compatibility with both
      stations and APs.

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