esp_wifi: fix some wifi bugs 230403

1. fix sta auth failed but softap shows it connected issue
2. fix ftm procedure with peer failed status 4 issue
3. send ftm frames immediately
4. send null data when state change from association to run
5. docs: add some details for wifi scan description
This commit is contained in:
muhaidong 2023-04-03 20:45:10 +08:00
parent b7ddd82ad6
commit 4b3ff10c5d
3 changed files with 7 additions and 4 deletions

@ -1 +1 @@
Subproject commit a43a9cf3f6d9fa3589fad1d13d35d96731298f9c
Subproject commit 9023681b3bb776adf2d805cef52af895412b3c70

View File

@ -1273,7 +1273,9 @@ API :cpp:func:`esp_wifi_set_config()` can be used to configure the station. And
| channel | If the channel is 0, the station scans the channel 1 ~ N to |
| | search for the target AP; otherwise, the station starts by |
| | scanning the channel whose value is the same as that of the |
| | "channel" field, and then scans others to find the target AP.|
| | "channel" field, and then scans the channel 1 ~ N but skip |
| | the specific channel to find the target AP. For example, if |
| | the channel is 3, the scan order will be 3, 1, 2, 4,..., N. |
| | If you do not know which channel the target AP is running on,|
| | set it to 0. |
+------------------+--------------------------------------------------------------+

View File

@ -1227,8 +1227,9 @@ API :cpp:func:`esp_wifi_set_config()` 可用于配置 station。配置的参数
| bssid | 只有当 bssid_set 为 1 时有效。见字段 "bssid_set"。 |
+-------------+---------------------------------------------------------------------------+
| channel | 该字段为 0 时station 扫描信道 1~N 寻找目标 AP否则station |
| | 首先扫描值与 "channel" 字段相同的信道,再扫描其他信道。如果您不知道目标 |
| | AP 在哪个信道,请将该字段设置为 0。 |
| | 首先扫描值与 "channel" 字段相同的信道,再扫描其他信道。比如,当该字段设置 |
| | 为 3 时,扫描顺序为 3124,...N。如果您不知道目标 AP 在哪个信道, |
| | 请将该字段设置为 0。 |
+-------------+---------------------------------------------------------------------------+
| sort_method | 该字段仅用于 WIFI_ALL_CHANNEL_SCAN 模式。如果设置为 |
| | WIFI_CONNECT_AP_BY_SIGNAL所有匹配的 AP |