Thanks for the response, Felix ! I have some questions to ask : (2) I was timestamping the frame in ath_tx_txqaddbuf() and in ath_tx_complete buf() to get the (queuing + contention) delay. Can I somehow get just the contention delay in ath9k ?
(1) So I should interpret the ath_tx_status descriptor as : 14 retransmissions occurred while transmission of 1542*4 bytes. Its not 14*4 retransmissions. (2) I was timestamping the frame in ath_tx_txqaddbuf() and in ath_tx_complete buf() to get the (queuing + contention) delay. Can I somehow get just the contention delay in ath9k ? (3) I am assuming struct ath_tx_buf keeps track of only one frame(skb). Is that true ? or am I missing any detail ? (4) Were the different parts of the frames tried at 3 different rates or was the whole frame of 1542*4 bytes tried with different rates ? I should check IEEE80211_TX_CTL_AMPDU for knowing tx aggregation ? Waiting for your response. - Abhinav On Mon, Feb 25, 2013 at 4:01 PM, Felix Fietkau <n...@openwrt.org> wrote: > On 2013-02-25 9:53 PM, abhinav narain wrote: > > You are right in that case, Adrian. > > > > *tsf ,retx count, rates and transmit attempts, sequence no, frame size* > > *[315063930, 14,[[65.0, 4], [58.5, 5], [65.0, 5]], 706,1542]* > > *[315063930, 14,[[65.0, 4], [58.5, 5], [65.0, 5]], 707,1542]* > > *[315063930, 14,[[65.0, 4], [58.5, 5], [65.0, 5]], 708,1542]* > > *[315063930, 14,[[65.0, 4], [58.5, 5], [65.0, 5]], 709,1542]* > > > > I have the above trace of transmitted frames from status.c file. > > You can see the frame sequence no. is increasing 706,707 ... > > but the timestamps are all the same. > > Apart from it, every frame is suffering retransmissions. > > > > I had found the timestamp value using ath_tx_status descriptor's > > ts_tstamp field in > > ath_tx_complete_buf() in xmit.c > > > > Since ath_tx_status is per frame and hence its time field, how is it > > that the timestamp is not unique. > > > > Can you guess whats going wrong, by any chance ? > With aggregation, you get a single tx status for a whole aggregate. > > - Felix > >
_______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel