Re: [ath9k-devel] inferring time of frame at head of hw queue from

2012-11-30 Thread abhinav narain
You are right, I have used; ath9k_hw_computetxtime() ath_pkt_duration() for data packets. I have questions for RTS, ACK : (1) I don't know if they use short/long preamble ? There is no 40mhz ,gi for control packets, as far I can think ath9k_hw_computetxtime() uses ieee80211_rate-bitrate {a

[ath9k-devel] inferring time of frame at head of hw queue from

2012-11-29 Thread abhinav narain
hi, I am trying to infer the time of frame when it was at head of queue. ath9k returns the time of successful retransmission in ath_tx_status-ts_tstamp. I have calculated the time for frame duration using ath_buf_set_rate(). I am doing this in ath_tx_rc_status() I am somehow exporting the rts

Re: [ath9k-devel] inferring time of frame at head of hw queue from

2012-11-29 Thread Adrian Chadd
There's a function to calculate the TX time of a frame given the rate and the config (short/long gi, 20/40mhz, short/long preamble.) You should use that? :-) Adrian On 29 November 2012 15:36, abhinav narain abhinavnarai...@gmail.com wrote: hi, I am trying to infer the time of frame when