esp32: backport some WiFi fixes to v3.3

Backport following Wifi fixes:

1. Optimize WiFi sleep in WiFi/BT coexist mode
   I> If any data TX/RX in WiFi slice, force wakeup next TBTT
   II> Increase active timeout to coex TBTT to avoid sleep in WiFi slice

2. Fix esp_wifi_stop() crash
   esp_wifi_stop() crashes if it's called when WiFi is not initialized.

3. Fix WiFi log print level

4. Return fails if AP's configuring AP channel is out of range

5. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
This commit is contained in:
liu zhifu 2020-03-31 18:05:40 +08:00 committed by zhangyanjiao
parent 6c9c253ed1
commit a0d61eca20
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 5750c9e9a3134b17e72688b419b0277958817187 Subproject commit 19aa91f2c1977a75a355433213e5ee46e67190d8

View file

@ -78,7 +78,7 @@ test cases:
- - SSC SSC2 sta -C -s <target_ssid> - - SSC SSC2 sta -C -s <target_ssid>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>) - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC1 ap -S -s <target_ssid> -n 15 - - SSC SSC1 ap -S -s <target_ssid> -n 15
- - R SSC1 C +SAP:OK - - R SSC1 C +SAP:ERROR
- - SSC SSC2 sta -C -s <target_ssid> - - SSC SSC2 sta -C -s <target_ssid>
- - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>) - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)
- - SSC SSC2 sta -D - - SSC SSC2 sta -D