Merge branch 'bugfix/fix_some_wifi_bugs_230209_v4.3' into 'release/v4.3'

esp_wifi: fix some wifi bugs(Backport v4.3)

See merge request espressif/esp-idf!22290
This commit is contained in:
Jiang Jiang Jian
2023-02-11 03:10:08 +08:00
4 changed files with 6 additions and 6 deletions

View File

@ -2386,7 +2386,7 @@ int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher,
if (res < 0)
return -1;
sm->assoc_wpa_ie_len = res;
res = wpa_gen_rsnxe(sm ,assoc_rsnxe, assoc_rsnxe_len);
res = wpa_gen_rsnxe(sm, assoc_rsnxe, assoc_rsnxe_len);
if (res < 0)
return -1;
assoc_rsnxe_len = res;

View File

@ -1216,7 +1216,7 @@ API :cpp:func:`esp_wifi_set_config()` can be used to configure the station. And
* - bssid
- This is valid only when bssid_set is 1; see field “bssid_set”.
* - 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. If you do not know which channel the target AP is running on, set it to 0.
- 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 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.
* - sort_method
- This field is only for WIFI_ALL_CHANNEL_SCAN.
@ -1510,7 +1510,7 @@ Current implementation of 802.11k includes support for beacon measurement report
Refer IDF example :idf_file:`examples/wifi/roaming/README.md` to set up and use these APIs. Example code only demonstrates how these APIs can be used, the application should define its own algorithm and cases as required.
.. only:: esp32s2 or esp32c3
.. only:: SOC_WIFI_FTM_SUPPORT
Wi-Fi Location
-------------------------------

View File

@ -1217,7 +1217,7 @@ API :cpp:func:`esp_wifi_set_config()` 可用于配置 station。配置的参数
* - bssid
- 只有当 bssid_set 为 1 时有效。见字段 “bssid_set”。
* - channel
- 该字段为 0 时station 扫描信道 1 ~ N 寻找目标 AP否则station 首先扫描值与 “channel” 字段相同的信道,再扫描其他信道。如果您不知道目标 AP 在哪个信道,请将该字段设置为 0。
- 该字段为 0 时station 扫描信道 1 ~ N 寻找目标 AP否则station 首先扫描值与 “channel” 字段相同的信道,再扫描其他信道。比如,当该字段设置为 3 时,扫描顺序为 312...N 。如果您不知道目标 AP 在哪个信道,请将该字段设置为 0。
* - sort_method
- 该字段仅用于 WIFI_ALL_CHANNEL_SCAN 模式。
@ -1512,7 +1512,7 @@ WPA2-Enterprise 是企业无线网络的安全认证机制。在连接到接入
请参考 IDF 示例程序 :idf_file:`examples/wifi/roaming/README.md` 来设置和使用这些 API。示例代码只演示了如何使用这些 API应用程序应根据需要定义自己的算法和案例。
.. only:: esp32s2 or esp32c3
.. only:: SOC_WIFI_FTM_SUPPORT
Wi-Fi Location
-------------------------------