mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
wifi/ftm: Additional FTM features implementation
Update wifi lib with below features - 1. ASAP mode for both Initiator and Responder 2. Offchannel FTM while connected to AP (ASAP only) 3. Support up to 3 Initiators simultaneously 4. Session termination, failure support etc 5. Mem-zero AP scan buffer in get_records API
This commit is contained in:
@@ -1177,6 +1177,31 @@ esp_err_t esp_wifi_set_rssi_threshold(int32_t rssi);
|
||||
*/
|
||||
esp_err_t esp_wifi_ftm_initiate_session(wifi_ftm_initiator_cfg_t *cfg);
|
||||
|
||||
/**
|
||||
* @brief End the ongoing FTM Initiator session
|
||||
*
|
||||
* @attention This API works only on FTM Initiator
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
* - others: failed
|
||||
*/
|
||||
esp_err_t esp_wifi_ftm_end_session(void);
|
||||
|
||||
/**
|
||||
* @brief Set offset in cm for FTM Responder. An equivalent offset is calculated in picoseconds
|
||||
* and added in TOD of FTM Measurement frame (T1).
|
||||
*
|
||||
* @attention Use this API only in AP mode before performing FTM as responder
|
||||
*
|
||||
* @param offset_cm T1 Offset to be added in centimeters
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
* - others: failed
|
||||
*/
|
||||
esp_err_t esp_wifi_ftm_resp_set_offset(int16_t offset_cm);
|
||||
|
||||
/**
|
||||
* @brief Enable or disable 11b rate of specified interface
|
||||
*
|
||||
|
Reference in New Issue
Block a user