esp32/wifi: set Wi-Fi driver parameters only when needed

This commit fixes #7857 and #7193 by saving Wi-Fi parameters and
set them at once, avoiding unknown behaviors of the Wi-Fi driver.

This commit also enables setting the auth of the STA/softAP modes
while connecting to/providing the wireless network.
This commit is contained in:
Tiago Medicci Serrano
2023-03-28 15:57:26 -03:00
committed by Gustavo Henrique Nihei
parent 95af4b35cf
commit 49d43a35b9
File diff suppressed because it is too large Load Diff