Wi-Fi RTT (IEEE 802.11mc) on ESP32

r.saprykin
Posts: 5
Joined: Wed Nov 21, 2018 2:23 pm

Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby r.saprykin » Wed Nov 21, 2018 3:10 pm

Good day.
Some time ago was thread:
Tue Mar 13, 2018 5:33 am
Re: What would you like to see in The Next Chip?
Wi-Fi RTT: We actually have a fair bit of the hardware needed for something like this already; we just haven't had any requests from big customers to write the added driver support for it (at least, that's what I understand); also, I'm not sure if hardware support actually has been tested in any way; for all we know it may be broken. Don't be surprised if something like this pops up in esp-idf in an upcoming version, however.
Does it mean we can expect software support Wi-Fi RTT (IEEE 802.11mc)protocol in esp-idf on ESP32 in the near future?

Does ESP32 has hardware support or capability for Wi-Fi RTT (IEEE 802.11mc) protocol?

Thanks
Roman

littlesky
Posts: 51
Joined: Fri Jun 09, 2017 7:49 am

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby littlesky » Thu Nov 22, 2018 3:12 am

esp-idf has supported channel state information which is the basis of WiFi RTT since idfv3.1. But protocol stack of WiFi RTT is not supported yet. For channel state information, please refer to WiFi documentation wifi.rst in esp-idf directory.

r.saprykin
Posts: 5
Joined: Wed Nov 21, 2018 2:23 pm

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby r.saprykin » Thu Nov 22, 2018 2:17 pm

Thanks for your replay.

We plan to buy a small set of ESP32 chips for our project and need to be sure that protocol stack of WiFi RTT will be implemented in esp-idf.
Could you please tell an approximated time of protocol stack of WiFi RTT will released?

Thanks.
Roman

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby ESP_Sprite » Fri Nov 23, 2018 1:43 am

I can ask around, but I'm not sure if there are any plans to implement 802.11mc.

r.saprykin
Posts: 5
Joined: Wed Nov 21, 2018 2:23 pm

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby r.saprykin » Fri Nov 23, 2018 12:30 pm

It would be very helpful if you could ask around and clarify the perspective of protocol stack Wi-Fi RTT (IEEE 802.11mc) on ESP32 implementation.


Big thanks
Roman

littlesky
Posts: 51
Joined: Fri Jun 09, 2017 7:49 am

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby littlesky » Tue Nov 27, 2018 2:11 am

Would you like to use WiFi RTT for distance measurement? ESP32 does not support it and there is no plan to implement it now. We suggest to use channel state information which can also be used to measure distance. And it is already supported in esp-idf.

r.saprykin
Posts: 5
Joined: Wed Nov 21, 2018 2:23 pm

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby r.saprykin » Tue Nov 27, 2018 7:26 am

Thanks for your reply.

Do you have some examples or documentation on how to use channel state information for distance measurement in esp-idf for ESP32?

littlesky
Posts: 51
Joined: Fri Jun 09, 2017 7:49 am

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby littlesky » Tue Nov 27, 2018 7:36 am

We have document WiFi.rst for how to get channel state information. But we haven't document or example for how to use it to measure distance. Distance measurement is just one of the specific applications of channel state information, so it is not much possible to describe it in IDF.

MrDev13
Posts: 1
Joined: Wed Jan 13, 2021 9:18 pm

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Postby MrDev13 » Wed Jan 13, 2021 10:11 pm

Hi, please, could you clarify. Is it means that I can reach the same accuracy as the WIFI RTT approach (FTM protocol)?

I read "Wi-Fi Channel State Information" but not sure how could I calculate the distance. I found timestamp in wifi_pkt_rx_ctrl_t but it is in microseconds. This is not enough for accurate round trip time measurement. Please, provide the direction where I have to dig.

Thanks!

Who is online

Users browsing this forum: Bing [Bot] and 126 guests