From: Felix Fietkau <nbd@openwrt.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ts_tstamp field in ath_tx_status is set
Date: Wed, 27 Feb 2013 00:03:28 +0100 [thread overview]
Message-ID: <512D3F40.3070704@openwrt.org> (raw)
In-Reply-To: <CAE+zGOjB3uZBj2DACimZq2AfjL=b4sjQ7yGqfG2Te0EPkWcURQ@mail.gmail.com>
On 2013-02-26 7:51 PM, abhinav narain wrote:
> Thanks for the response, Felix !
> I have some questions to ask :
>
> (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.
Aggregates are formed by the driver before being passed to the hardware.
The hardware makes no attempt to split them up and deal with individual
subframes separately - this is the driver's job (in the software retry
stage).
> (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 ?
No.
> (3) I am assuming struct ath_tx_buf keeps track of only one frame(skb).
> Is that true ? or am I missing any detail ?
It's for one buffer. Multiple buffers can be linked to form one frame
(though the driver only uses one buffer per frame at the moment, and
multiple frames can be linked to form an aggregate.
> (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 ?
See above (1)
- Felix
next prev parent reply other threads:[~2013-02-26 23:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-25 6:35 [ath9k-devel] ts_tstamp field in ath_tx_status is set abhinav narain
2013-02-25 18:11 ` Adrian Chadd
2013-02-25 20:53 ` abhinav narain
2013-02-25 21:01 ` Felix Fietkau
2013-02-26 18:51 ` abhinav narain
2013-02-26 23:03 ` Felix Fietkau [this message]
2013-02-27 8:58 ` abhinav narain
2013-02-27 9:05 ` Felix Fietkau
2013-02-27 15:26 ` abhinav narain
2013-02-27 15:35 ` Felix Fietkau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=512D3F40.3070704@openwrt.org \
--to=nbd@openwrt.org \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.