esp32: fix some STA certification issues

Fix following STA WFA certification issues:
1. STA HT2040 coexist
2. Disallow WEP/TKIP with HT rates
3. WPA2 improvement
4. Minor refactor for WiFi internal global variable auth_type
This commit is contained in:
Liu Zhi Fu
2019-04-01 21:39:47 +08:00
parent d52ecb71d6
commit b82872102e