-
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
FTM sessions are rate-limited with apparent ban of station (IDFGH-6015) #7702
Comments
I've experimented with incrementing the station MAC using It also seems as if some state is remembered through a reset because if I restart the "abuse" from similar MAC addresses, it locks up quicker... Incrementing MAC addresses on one client also appears to "unlock" other locked stations... The module acting as AP doesn't report any events, nor does it panic and reset. Even after the apparent FTM ban, those stations can connect to the AP (which doesn't reset the FTM ban). In summary, complex and sufficiently non-deterministic behavior, also not documented as far as I can see. |
I have experienced the same behaviours on both the ESP32-S2 and ESP32-C3 Dev boards. This severely hampers the usage of FTM feature. I have tried on google 802.11mc APs, and did not found such a rate limit. I can accept a lower responding rate from the responder, but stop responding is definitely not acceptable |
I testing with two ESP32-C3 with the example (one as the initiator and the other as responder) and have the same experience. On top of it, I also found out that the distance result is different when the initiator is connected vs not connected to the responder SoftAP. |
Can confirm, issue appears resolved. Thanks! |
Welcome! The fix is merged in master, it should also be available with IDFv4.3.2 |
Environment
On startup, this is reported:
Problem Description
When running the
ftm
example (on ESP32-S2) and requestingftm -I -s ...
repeatedly, eventually the request fails forever with status 2 (FTM_STATUS_CONF_REJECTED
presumably). The softAP still responds to any other clients, unless they too exceed the rate limit.I would prefer to run measurements as fast and as often as possible and get every available piece of information (thesis work). However, even when limiting the requests to one per 5.0 seconds, after a few minutes of requests, the AP seems to "ban" that client. Only resetting the AP allows that client to continue FTM sessions.
Expected Behavior
I expect the AP to have no limit on the number or rate of FTM requests and I expect the AP to not ban stations.
Actual Behavior
AP bans station after an unknown number or rate of FTM requests. Dozens of requests are possible though.
Steps to reproduce
ftm
exampleThe text was updated successfully, but these errors were encountered: