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

tejaspatel
Posts: 1
Joined: Wed Jan 18, 2017 6:55 am

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

Postby tejaspatel » Wed Jan 18, 2017 7:04 am

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

QuellEM
Posts: 1
Joined: Tue May 02, 2017 3:28 pm

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

Postby QuellEM » Tue May 02, 2017 3:46 pm

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?

aifer2007
Posts: 5
Joined: Fri Jun 02, 2017 3:24 pm

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

Postby aifer2007 » Fri Jun 02, 2017 3:26 pm

I got the same error.

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

and
wifi: pm start

Nicholas3388
Posts: 13
Joined: Mon Apr 25, 2016 2:03 am

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

Postby Nicholas3388 » Fri Jul 07, 2017 7:00 am

I faced the same issue

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Fri Jul 07, 2017 10:32 am

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

Nicholas3388
Posts: 13
Joined: Mon Apr 25, 2016 2:03 am

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

Postby Nicholas3388 » Tue Jul 11, 2017 1:34 am

@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?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Tue Jul 11, 2017 1:44 am

Maybe, if you calling netconn functions in different threads like the event handler callback.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Tue Jul 11, 2017 3:29 am

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

Who is online

Users browsing this forum: Bing [Bot] and 133 guests