Re: [ath9k-devel] Hardware Timestamp Question

2014-02-19 Thread Oleksij Rempel
Am 18.02.2014 15:45, schrieb Diego Bernardes: > Hi, > > I have one question about hardware timestamp in Atheros chipsets. > From a post in Wireshark community, the chipset AR9287 can do hardware > timestamp. > > The question is, how accurated this timestamp is? The precision is in > nanoseconds,

Re: [ath9k-devel] Hardware Timestamp Question

2014-02-19 Thread Adrian Chadd
Look at TSF2 in the source. I have the "how does tsf2 in Kiwi (AR9287) work" documentation here somewhere... -a On 18 February 2014 18:25, Sujith Manoharan wrote: > Adrian Chadd wrote: >> The AR9287 is the first chip with a second TSF counter, designed to be >> free-running and not be locked

Re: [ath9k-devel] Hardware Timestamp Question

2014-02-18 Thread Sujith Manoharan
Adrian Chadd wrote: > The AR9287 is the first chip with a second TSF counter, designed to be > free-running and not be locked into the AP broadcast TSF. Ie, if you > wanted to be an AP and a STA, you'd have one TSF for the AP and one > TSF for the STA association. But I don't know how it all works

Re: [ath9k-devel] Hardware Timestamp Question

2014-02-18 Thread Adrian Chadd
Hi, All of the chips do a hardware RX timestamp of some sort. The default timestamp is the TSF timestamp. It's based on the TSF, which gets nudged by the AP. The AR9287 is the first chip with a second TSF counter, designed to be free-running and not be locked into the AP broadcast TSF. Ie, if yo

Re: [ath9k-devel] Hardware Timestamp Question

2014-02-18 Thread Sergey Ryazanov
Hi Diego, 2014-02-18 18:45 GMT+04:00 Diego Bernardes : > The question is, how accurated this timestamp is? The precision is in > nanoseconds, but what accuracy i can expect? > The source of time information for timestamps is TSF timer which is 64-bit timer with microsecond precision and accuracy n