I am trying to parse MAC timestamp fields of radiotap headers of 802.11 packets captured on monitor mode.
TSFT field of radiotap header is 64bit value in microseconds. Raw hex value is highlighted below.
The MAC timestamp value is represented in decimal by Wireshark
This decimal value is decimal value of 2b1c20cb00000000.
What I'm trying to do is get the time difference between two frames using hex value in radiotap header MAC timestamp field.
For example:
frame #2 has decimal value of 3106049021945315329 (2b1ae72100000001) and
frame #3 has 3106066889009266689 (2b1af76100000001).
subtracting this values gives 1AC47FFFFF5C1. And assuming this is in microseconds the value is equal to 470900214.330817 seconds.
What is the process following this steps to get time difference of 0.000071 seconds by using the values in MAC timestamp field of radiotap header
Thank you