Re: [ath5k-devel] Computing the duration of a transmitted frame in ath5k

2011-07-08 Thread Dani Camps
nal De: Bob Copeland Para: Dani Camps CC: ath5k-devel@lists.ath5k.org Enviado: mar,5 julio, 2011 18:58 Asunto: Re: [ath5k-devel] Computing the duration of a transmitted frame in ath5k On Tue, Jul 5, 2011 at 12:42 PM, Bob Copeland wrote: > Not sure why you want to use TSF, it's not ne

Re: [ath5k-devel] Computing the duration of a transmitted frame in ath5k

2011-07-05 Thread Bob Copeland
On Tue, Jul 5, 2011 at 12:42 PM, Bob Copeland wrote: > Not sure why you want to use TSF, it's not necessarily monotonic if the > STA's clock runs faster than the AP.  Jiffies should work fine here. Eh, forget jiffies, brain isn't working today (resolution is much worse). -- Bob Copeland %% www.

Re: [ath5k-devel] Computing the duration of a transmitted frame in ath5k

2011-07-05 Thread Bob Copeland
On Tue, Jul 5, 2011 at 11:46 AM, Dani Camps wrote: > 3) When the HW completes the transmission of a frame, issues an interruption > like AR5K_INT_TXOK or AR5K_INT_TXERR that ends up being treated by the > function > "ath5k_tx_processq". My assumption is that this function is called when the > fram

[ath5k-devel] Computing the duration of a transmitted frame in ath5k

2011-07-05 Thread Dani Camps
Dear all, I am trying to obtain in ath5k the duration of a transmitted frame over the air, and also what I call the "access delay" duration, which I define as the time since this frame is the first one in the transmission buffer (HOL) until the time ath5k puts the first bit of this frame on t