From: Saravana <saravanad@posedge.com>
To: linux-wireless@vger.kernel.org
Cc: Johannes Berg <johannes@sipsolutions.net>
Subject: Clarification needed on Last Tx Rate statistic update
Date: Wed, 07 Nov 2012 13:17:05 +0530 [thread overview]
Message-ID: <509A11F9.8050108@posedge.com> (raw)
Hi,
I am Saravana and i am currently working on adding statistics. It will
be really helpful if someone could provide me clarification related to
Last Tx Rate statistics.
In ieee80211_tx_status(), the Last Tx Rate (sta->last_tx_rate) update
happens only when the rate control is done by the HW
(IEEE80211_HW_HAS_RATE_CONTROL) .
My understanding is that irrespective of whether the rate control is
done by the hardware or not, the driver will fill up all the rates that
it had tried along with the retry count for each rate to
ieee80211_tx_status() using the
struct ieee80211_tx_info (info->status.rates).
The 'info->status.rates[rates_idx]' would point to the rate with which
the packet transmission has occured irrespective of the where the rate
control is done.
Could somebody clarify why the statistics update happens only when the
rate control is done by the hardware(flag IEEE80211_HW_HAS_RATE_CONTROL
is set)?
Thanks,
Saravana
next reply other threads:[~2012-11-07 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-07 7:47 Saravana [this message]
2012-11-07 8:05 ` Clarification needed on Last Tx Rate statistic update Johannes Berg
2012-11-07 9:01 ` Saravana
2012-11-08 14:11 ` Johannes Berg
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=509A11F9.8050108@posedge.com \
--to=saravanad@posedge.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).