esp-idf
esp-idf copied to clipboard
Fix AP stop sending beacon during WPS on STA in wifi concurrent mode. (IDFGH-8407)
https://github.com/espressif/esp-idf/issues/9825
Connection of STA (PC etc.) joined to AP (ESP32) may be lost when the following steps.
- Boot in AP+STA mode.
- Join some STA (PC etc.) to AP (ESP32).
- Start to WPS on STA (ESP32).
Since the channel is switched when scanning with WPS, AP mode beacons may not be sent. As a result, STAs (PC etc.) connected in AP (ESP32) are disconnected.
Instead of scanning all channels at once, to take interval on each channel scan and gives AP mode the time to send beacon.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
坂元敬 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thanks for your contribution.
Hi @sakamoto330 ,
Thanks for the contribution however this case should be handled in much more cleaner way by the driver.
We will consider implementing bucket scan/split scan to take care of similar scenario in future versions.
Also incase you are using this patch in your current IDF, suggest following changes :
.show_hidden = 0, // WPS AP cannot set hidden ssid(as per specs)
#define WPS_IGNORE_SEL_REG_MAX_CNT 53