aws / amazon-freertos

DEPRECATED - See README.md
https://aws.amazon.com/freertos/
MIT License
2.54k stars 1.1k forks source link

add wpa3 support for ble provisioning and esp wifi #3547

Closed mjdietzx closed 1 year ago

mjdietzx commented 1 year ago

I recently added support for WPA3 only routers/networks to my project and found it simple (maybe to easy to be true?) It made me wonder why this wasn't already upstream so I am opening this PR. It would be very useful for many people as more routers have this setting enabled by default these days. I have tested this on ESP32 and it works well. I realize there is likely more work to do to fully support this, but want to get an initial review. Please lmk what else needs to be done to fully add support and I can improve/extend this PR accordingly!

Before this PR when provisioning a device via ble WPA3 networks would be filtered out/not displayed. Now we show those networks and allow the user to connect to them.

Once connected everything seems very similar to WPA2. In fact, router can switch b/w WPA2 and WPA3 after device is already provisioned and everything continues to work (no re-provisioning needed)

AniruddhaKanhere commented 1 year ago

@shubhamkulkarni97 Can you also take a look at the ESP specific changes? Thanks.