Re: [ath5k-devel] Register address for on-chip hardware clock

2010-06-10 Thread Miklos Christine
It appears that AR5K_PROFCNT_CYCLE is the register for the on-chip clock. It is a 32-bit value. When it overflows, it bit shifts right. I use the AR5212 chipset, so I'm not sure if this is the same for you. - Miklos On Wed, Jun 9, 2010 at 6:05 PM, Bruno Randolf wrote: > On Wednesday 09 June 201

Re: [ath5k-devel] Register address for on-chip hardware clock

2010-06-09 Thread Bruno Randolf
On Wednesday 09 June 2010 22:29:22 Jin YunYe wrote: > Dear all > > Is there a hardware register address for the on-chip clock in ath5k? I > am doing a research project in which I need to timestamp tx/rx > operations with good time resolution (say 40MHz clock rate) afaik, all we can get is the TSF

[ath5k-devel] Register address for on-chip hardware clock

2010-06-09 Thread Jin YunYe
Dear all Is there a hardware register address for the on-chip clock in ath5k? I am doing a research project in which I need to timestamp tx/rx operations with good time resolution (say 40MHz clock rate) I am using a TL WN510G Ver 1.1 PCMCIA WiFi adapter, which is using AR5213 chipset. Thanks and