Thanks for your quick reply. It's really helpful.

You know, I am trying to compare the timestamp of each packet and
measure the sum of transmit delay and queuing delay. with so small
round up time, it looks like I can not use this one from the
ath5k_tx_status.

Any better idea?

Thanks.

Ethan

On Tue, Jan 26, 2010 at 2:25 PM, Derek Smithies <de...@indranet.co.nz> wrote:
> Hi,
>  ts_tstamp is the lowest 16 bits of the 64bit timestamp.
>
> The time is in microseconds, so ts_tstamp wraps round every 32.768ms.
>
> The 64bit timestamp wraps around every 580 000 years
>
> ts_tstamp is from the 64bit timestamp from the radio card, and is totally
> different to jiffies from the kernel.
>
> Derek.
>
>
> On Tue, 26 Jan 2010, Xingang Zhang wrote:
>
>> Hello,
>>
>> I am wondering how to interpret the meaning of ts_tstamp? I can tell
>> it's u16 from hardware, but have no idea how to compare that with the
>> value of jiffies or some other time from kernel.
>>
>> Thanks for any input.
>>
>> Best,
>>
>> Ethan
>>
>>
>
> --
> Derek Smithies Ph.D.
> IndraNet Technologies Ltd.
> ph +64 3 365 6485
> Web: http://www.indranet-technologies.com/
>
> "The only thing IE should be used for is to download Fire Fox"
>
> "My favorite language is call STAR. It's extremely concise. It has
>  exactly one verb '*', which does exactly what I want at the moment."
>    --Larry Wall
>



-- 
Xingang Zhang
387 Wymount Terrace
Provo, UT 84604
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to