Skip to content
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

Is it possible to bypass channel hopping restriction? #66

Open
Cancro29 opened this issue Sep 2, 2023 · 1 comment
Open

Is it possible to bypass channel hopping restriction? #66

Cancro29 opened this issue Sep 2, 2023 · 1 comment

Comments

@Cancro29
Copy link

Cancro29 commented Sep 2, 2023

I have managed to make it work in Arduino IDE. My method involves webserver to control deauthing process. But if the device is still connected to the SoftAP, deauth does not work. This behavior does not happen in ESP8266. Based on this documentation,

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html#_CPPv420esp_wifi_set_channel7uint8_t18wifi_second_chan_t

ESP32 restrict esp_wifi_set_channel() so it returns "ESP_FAIL" if a device is connected to the SoftAP.
If i try to look at libnet80211.a, there is a function called "ieee80211_update_channel", my guess this is the function where it checks whether there is a station or not. Is it possible to force channel hopping?.

It may be an intended feature by Espressif to prevent stations from disconnecting, but if I do channel hopping quick enough, it still works normally.

@lab37
Copy link

lab37 commented Sep 9, 2023

Yes,I also get a same err:
STA is scanning or connecting, or AP has connected with external STAs, cannot set channel

@Cancro29 Cancro29 changed the title Is it possible to make bypass channel hopping restriction? Is it possible to bypass channel hopping restriction? Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants