Page 1 of 1

Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Wed Jan 18, 2017 7:04 am
by tejaspatel
Hi,

I have ESP32_Core_board_V2.

I have created custom http webserver with Wi-Fi in station mode. and my PC which is in same network as my ESP32 is sending http request to ESP32.

It works fine for some http requests. but after some responses it stops responding and shows follwing error on console:
W (416235) wifi: ampdu, m eb failed

Can you please help me with what this error message indicates and how to resolve this.

FYI : My custom http webserver works fine on other hardware platforms

Re: Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Tue May 02, 2017 3:46 pm
by QuellEM
I am seeing the same thing.

I am using the ESP-WROOM-32 from Adafruit. It's configured as WIFI_MOD_APSTA. It's running as a captive portal access point that redirects all web sites back to itself. It works fine for a while, but will not respond to any requests after 24 hours. The console is showing a continuous stream of:

W (xxxxxxxx) wifi: ampdu, a eb failed

I can't even establish a connection to the device any more. What could be causing this problem?

Re: Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Fri Jun 02, 2017 3:26 pm
by aifer2007
I got the same error.

W (1379643) wifi: ampdu, m eb failed.

and
wifi: pm start

Re: Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Fri Jul 07, 2017 7:00 am
by Nicholas3388
I faced the same issue

Re: Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Fri Jul 07, 2017 10:32 am
by ESP_Angus
Hi folks,

Can you please let us know which IDF version (or Arduino version, if using Arduino) you are using?

As a temporary workaround, in IDF you can disable AMPDU entirely under menuconfig -> Component Config -> Wifi. It's an 802.11 feature to improve throughput when transferring large amounts of bulk data, so if you're not doing this then you probably won't notice much difference.

Angus

Re: Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Tue Jul 11, 2017 1:34 am
by Nicholas3388
@ESP_Angus Hi, Angus, I used the latest commit 9b30f66 for my project. I create a TCP server using netconn, and then got the issue. But when I use lwip socket API to establish connection with client, it seems no problem. Is there anything wrong with netconn lib?

Re: Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Tue Jul 11, 2017 1:44 am
by WiFive
Maybe, if you calling netconn functions in different threads like the event handler callback.

Re: Getting "W (416235) wifi: ampdu, m eb failed" error while receiving packets

Posted: Tue Jul 11, 2017 3:29 am
by ESP_Angus
Nicholas3388 wrote:@ESP_Angus Hi, Angus, I used the latest commit 9b30f66 for my project. I create a TCP server using netconn, and then got the issue. But when I use lwip socket API to establish connection with client, it seems no problem. Is there anything wrong with netconn lib?
It's possible, most of our testing is with the BSD socket library (which is built on top of netconn.)

Is there any chance you can share your code with us? You can email it privately if necessary, angus at espressif.

Angus