-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wifi SoftAP example crashes when client connects (IDFGH-5358) #7109
Comments
Hello @ivdata hmm, I can run the softAP example just fine. That said, I am using the same IDF version 4.2.1 as you do, but on different hardware: building on MacOSX (command line) and running on an ESP32 LyraT board.
BTW: I wonder if this line from your log could be the issue (I don't see that in my log.)
Good luck! For reference - my log when the client connects:
|
Annoyingly, it seems to only happen for my android phone (OnePlus 5T). When my laptop or my partner's phone connects there is no issue.
|
@ivdata can we have a sniffer capture while you are trying to connect,So that we can find out what is the configuration on the phone that is causing this crash. |
@nishanth-radja sure. Could you kindly let me know what the easiest way to do that is? I only have a linux laptop and android phones with wifi in them. Edit: I have followed this guide but wasn't able to capture any packets at all with wireshark: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wireshark-user-guide.html |
@ivdata use the following script on the linux laptop.you should be able to capture the packets on laptop. replace the wlan0 with the wireless interface on your laptop. |
Yeah that is what I did and I don't get any output. I have a USB wifi adapter that I think supports monitor mode well. But I will have to try that tomorrow. |
Hi, It also seems like the phone will sometimes connect successfully if it is not switching from another wifi network. I will try to get a capture of a successful connection for comparison EDIT: Successful connection added. |
Hi @ivdata, We acknowledge the bug. We will fix it soon. It is related to "20/40 coex management" public action frame handling which is specific to this client. As per our analysis latest master should not have this bug. |
Thanks very much for the response. |
…ction frames.(bb6888c) Closes espressif/esp-idf#7109
Thanks for reporting, sorry for late reply, the fix is available at 1e8fca7, feel free to reopen. |
Environment
Problem Description
Wifi AP example crashes immediately when a client connects
Steps to reproduce
Debug Logs
Other items if possible
sdkconfig.txt
wifi_softAP.elf.txt
The text was updated successfully, but these errors were encountered: