I am trying to measure distance between two computers who are connected with a wifi ad-hoc by using time of arrival to determine the distance. I am using TP-Link 722N with Atheros AR9271 chipset and ath9k_htc Driver i am trying to get rx/tx timestamps from the wlan card, is there any way to get rx/tx timestamps to do the necessary calculations to get the distance between the computers? asked 08 Aug '14, 06:26 Fredrik00 |
One Answer:
I don't know if the AR9271 is at all able to generate HW timestamps. Please read my answer to the following questions for similar questions:
Regards answered 10 Aug '14, 07:01 Kurt Knochner ♦ |
With the lines you suggested in one of the other discussions [email protected]:~# airmon-ng start wlan0 [email protected]:~# tcpdump -ni mon0 -w /tmp/k1.pcap
[email protected]:~# tshark -nr /tmp/k1.pcap -T fields -e frame.number -e radiotap.mactime
it does give me values so if I understand you correctly that should mean that the wlan card supports hardware timestamps.
-Fredrik
Without having seen a capture file, I'd say: I guess so...