From: "Jouni Malinen" <jkm@devicescape.com>
To: Andy Green <andy@warmcat.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
Tomas Winkler <tomasw@gmail.com>, Jiri Benc <jbenc@suse.cz>,
jketreno <jketreno@linux.intel.com>,
linux-wireless <linux-wireless@vger.kernel.org>,
Michael Wu <flamingice@sourmilk.net>
Subject: Re: Specifing rate control algorithm?
Date: Fri, 11 May 2007 07:23:55 -0700 [thread overview]
Message-ID: <20070511142355.GB16929@devicescape.com> (raw)
In-Reply-To: <464424A7.2040301@warmcat.com>
On Fri, May 11, 2007 at 09:09:11AM +0100, Andy Green wrote:
> implementation and you will never see the sources. What I understand is
> being talked about (maybe unlike the scan stuff this actually is in
> hardware, but I doubt it) is ignoring code in the stack and instead
> implementing pretty much the same code privately, to compile to a binary
> blob you can't see source for or even reverse according to its license.
> That is a lot less romantic than mysterious hardware just waiting to be
> used.
What are you talking about? The question is about being able to select
between rate control algorithms that could be _included in the kernel
tree_.. How did that end up in binary blobs that I would assume you are
using to refer to firmware?
Some hardware designs _do_ have features that allow rate control
algorithm to be improved, i.e., there are differences in hardware
between wlan chipset (what a surprise). This is not something that is
"hidden" in firmware and anyway, it does not really matter whether this
is in hardware or firmware. We are talking about providing additional
values in TX/RX status fields and being able to do some rate adaptation
operations on hardware TX retransmits, etc.
> If we are far from the AP and only say 5.5Mbps rate packets get through,
> then there is presumably adaptation to that in the stack, it is not like
> it will sequence through 54Mbps -> 48Mbps -> ... 5.5Mbps each time,
> instead any effective rate limiting action will react to the situation
> by issuing mainly 5.5Mbps packets that get through first time and
> probing with faster packets occasionally to see if the situation was
> better. *Therefore any effective rate adaptation acts to limit any
> benefit that can come from tagging packets with rate lists in firmware
> as is proposed*.
I have to admit I have not looked into details of the Intel's rate
control algorithm, but I would assume it would be this rate control
algorithm that is tagging different rate lists for packets, not the
firmware. Interesting optimizations can be used here if the
hardware/firmware is capable of changing the TX rate for the same packet
between retries. This is one example of functionality that not all wlan
hardware designs support.
> Put another way the meaning of rate limiting is to
> attempt to minimize effective airtime including the wasted restransmits
> at rates that never get through. So if there are excessive retransmits
> going on due to poor selection of tx rate for the circumstances (rather
> than interference) then isn't it better to address that in the stack so
> all devices can benefit from a smarter algorithm? (not least in
> recouping the wasted airtime and power used for TX that did not get through)
What's your definition of "stack"? Aren't we talking about the driver
being able to propose which of the N rate control algorithms _from the
stack_ should be used with it by default?
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2007-05-11 14:23 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 23:05 Specifing rate control algorithm? James Ketrenos
2007-05-10 11:27 ` Jiri Benc
2007-05-10 15:48 ` Jouni Malinen
2007-05-10 16:00 ` Tomas Winkler
2007-05-10 16:17 ` James Ketrenos
2007-05-10 17:11 ` Johannes Berg
2007-05-10 17:26 ` Jouni Malinen
2007-05-10 19:36 ` jketreno
2007-05-11 11:36 ` Johannes Berg
2007-05-10 17:42 ` Jiri Benc
2007-05-10 20:17 ` jketreno
2007-05-10 19:23 ` Jiri Benc
2007-05-10 22:24 ` Tomas Winkler
2007-05-11 0:12 ` John W. Linville
2007-05-11 8:09 ` Andy Green
2007-05-11 9:07 ` Jeff Garzik
2007-05-11 9:36 ` Andy Green
2007-05-11 14:23 ` Jouni Malinen [this message]
2007-05-11 15:04 ` Andy Green
2007-05-11 15:42 ` Jouni Malinen
2007-05-11 10:21 ` Jiri Benc
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=20070511142355.GB16929@devicescape.com \
--to=jkm@devicescape.com \
--cc=andy@warmcat.com \
--cc=flamingice@sourmilk.net \
--cc=jbenc@suse.cz \
--cc=jketreno@linux.intel.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=tomasw@gmail.com \
/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).