Packets larger than static buffer size

Elfarah
Posts: 1
Joined: Tue Oct 11, 2022 5:08 pm

Packets larger than static buffer size

Postby Elfarah » Tue Oct 11, 2022 6:04 pm

Hello,

I am working in a research project, using an esp32 code implementation and the esp-idf release v3.2. Is an old version, but we are doing some performance tests, and probably the project will be migrate to the newer sdk in the future.

However, I have found a problem related to the wifi, more specifically with the function esp_wifi_internal_tx() as it is giving the following error:
"wifi:ieee80211_output_do: Packets larger than static buffer size, len = 1709"

Here my sdkconfig releated to wifi:
#
# Wi-Fi
#
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
CONFIG_ESP32_WIFI_CSI_ENABLED=y
CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=
CONFIG_ESP32_WIFI_NVS_ENABLED=y
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_IRAM_OPT=
CONFIG_ESP32_WIFI_RX_IRAM_OPT=
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32

The question is, why is "static buffer" shown in the error if in the sdkconfig is set to dynamic buffer? The esp32 was previously tested with the same payload I am using and it worked. Now it works with smaller payloads. Therefore, I am trying to figure out why this error is happening, so I am able to use the largest payload that was used before.

Any ideas on how to be sure the buffer is set to dynamic or any other setup that may be missing to get a larger wifi tx buffer or any idea related to this error? I have the wifi in IEEE 802.11g and the sdkconfig is set as the previous project.

Thanks in advance for your help.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 115 guests