Selaa lähdekoodia

Merge branch 'bugfix/avoid_ftm_initiator_mode_on_softap' into 'master'

Avoid ftm initiator mode on softap

Closes WIFI-5084, WIFI-5072, and WIFI-5078

See merge request espressif/esp-idf!21491
Jiang Jiang Jian 3 vuotta sitten
vanhempi
sitoutus
0d6b9e463f
2 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 3 1
      components/esp_wifi/include/esp_wifi.h
  2. 1 1
      components/esp_wifi/lib

+ 3 - 1
components/esp_wifi/include/esp_wifi.h

@@ -1179,7 +1179,9 @@ esp_err_t esp_wifi_set_rssi_threshold(int32_t rssi);
   * @brief      Start an FTM Initiator session by sending FTM request
   *             If successful, event WIFI_EVENT_FTM_REPORT is generated with the result of the FTM procedure
   *
-  * @attention  Use this API only in Station mode
+  * @attention  1. Use this API only in Station mode.
+  * @attention  2. If FTM is initiated on a different channel than Station is connected in or internal SoftAP is started in,
+  *                FTM defaults to a single burst in ASAP mode.
   *
   * @param      cfg  FTM Initiator session configuration
   *

+ 1 - 1
components/esp_wifi/lib

@@ -1 +1 @@
-Subproject commit 64f27680849d9866eab711b1ac70a18f41f1d470
+Subproject commit 9b274f15ccd3e5b3075065ffdc26fa5ddcdcdd66