-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
802.11 refragmanation isn't actually working (IDFGH-11017) #12201
Comments
Hi @razgino11 |
@mhdong yes, and it's not the issue, I'm talking about 802.11 layer fragmantion, not ip layer |
Hi @razgino11 |
I have put my network card in monitor mode and captured from the relevant channel, from around the middle point you can see there are fragmanated 802.11 frames sent in mostly groups of 3, and in the and of each, a udp packet which consists of the put togheter packet (if you will view it using wireshark for example) on the 802.11 layer you could see the fragment number each, only the packets which are not fragmanted (480 bytes or less) are received on the esp i have tested this with: esp8266, esp32, esp32-s3 and the problem presists on all of them also tested on raspberry pi pico to make sure the problem isn't with the sender, and the data received just fine the data is the recorded video stream from the dji tello drone which is very cheap if you want to preform live testing Thank you for your help, and let me know if i can assist in any way further :) |
Hi @razgino11 Could you give us a IDF commit? we can base your IDF version to give you a patch with debug log to look into this issue. BTW, could you test this case with WPA/WPA2 encryption mode? Thanks. |
@MaxwellAlan I have tried with WPA encryption mode as you said and the problem was solved! you can stilll send over the debug version if you guys need help debugging this |
@razgino11 |
Hi @razgino11 fix on master branch is available at c84b2cb, Thanks. |
@mhdong But above commit only fixed esp32c3 and esp32s3. |
Hi @AxelLin This commit change is valid for all chips except for ESP8266. Only ESP32C3 and ESP32S3 involve rom code, and related functions need to be annotated. ESP8266 involves another project, and we will complete the relevant fix as soon as possible, Thanks. |
Hi @AxelLin The backport for v5.1 is not yet completed. We will backport it to v5.1 as soon as possible. |
Hi @AxelLin @razgino11 |
Answers checklist.
IDF version.
master / develop both checked
Operating System used.
Windows
How did you build your project?
Other (please specify in More Information)
If you are using Windows, please specify command line type.
None
Development Kit.
Esp32 Wrover
Power Supply used.
USB
What is the expected behavior?
Im receiving a video stream from a drone in udp, the packets aren't fragmanted on the ip layer or the udp layer, but they are consisting of fragmanation on the 802.11 layer, which espressif claims is supported on receving on both esp32 and esp8266
What is the actual behavior?
fragmanated packets are not received, under any sdk they are dropped, only packets that are not fragmanted on the 802.11 layer are received
Steps to reproduce.
Debug Logs.
No response
More Information.
Im using platform io to build, with multipule idf version tried, also tried on the esp8266 to no luck, also wrote the software in arduino with the same problem
The text was updated successfully, but these errors were encountered: