From: Johannes Berg <johannes@sipsolutions.net>
To: Ian Schram <ischram@telenet.be>
Cc: linux-wireless@vger.kernel.org, "Zhu, Yi" <yi.zhu@intel.com>,
"John W. Linville" <linville@tuxdriver.com>,
Felix Fietkau <nbd@nbd.name>
Subject: Re: [PATCH V2] Add iwlwifi wireless drivers
Date: Thu, 06 Sep 2007 14:00:26 +0200 [thread overview]
Message-ID: <1189080026.28781.58.camel@johannes.berg> (raw)
In-Reply-To: <46DF5894.70909@telenet.be>
[-- Attachment #1: Type: text/plain, Size: 2158 bytes --]
On Thu, 2007-09-06 at 03:32 +0200, Ian Schram wrote:
> I thought I'd try and answer this question to the best of my ability, since it
> has been asked before. And even though it's open source and now has been submitted
> to this list, leaving this unanswered feels like a creepy way of potential time bombs
> and frustration. That said I'm probably not the best person to do it.
Thanks, I appreciate it.
> iwl3945-rs:
>
> - the device can retry at different rates, and hence is able to deduct
> from the total number of retries a packet needed at which rates it failed/
> succeeded
We recently discussed this capability, atheros hardware as it as well,
so we need a generic way to tell mac80211 how many retry rates the
hardware can support so that better rate control algorithms can be
written. I don't see this as device specific but rather as something the
mac80211 driver interface is currently lacking. Cf. the "minstrel" rate
control algorithm.
> - tables of expected tpt (throughput?) which are used in the the throughput
> calculation are probably not very universal?
> there aren't identical for 3945 and 4965.
Seems to me like something the driver should be doing and reporting to
the rate control algorithm via some defined interface.
> -some synchronization of the station list with the device ucode happens here
This is totally wrong. Please extend mac80211 instead, maybe the
sta_table_notification callback.
> So that's that. Some questionable implementation details, but it does use
> device specific logic/capabilities in order to decide which rate to use.
> Now what do we do?
As a first step, I think we (i.e. mostly you because only few other
people have an interest right now) should work on defining an interface
between the drivers and mac80211 that allows the drivers to export these
capabilities like "how many different retry rates can I give you with
one packet" in order to allow different rate control algorithms to take
advantage of that. Oh and then don't just implement the interface and
push it onto us as a "ok done" thing but discuss the interface first.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2007-09-06 11:59 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-27 5:20 [PATCH V2] Add iwlwifi wireless drivers Zhu Yi
2007-08-27 13:10 ` Christoph Hellwig
2007-08-28 7:25 ` Zhu Yi
2007-08-28 8:50 ` Johannes Berg
2007-08-28 9:07 ` Zhu Yi
2007-08-28 9:28 ` Johannes Berg
2007-08-28 12:28 ` Christoph Hellwig
2007-08-28 13:37 ` Tomas Winkler
2007-08-31 20:55 ` John W. Linville
2007-08-31 22:03 ` Johannes Berg
2007-09-01 10:04 ` Johannes Berg
2007-09-04 2:25 ` Zhu Yi
2007-09-04 14:13 ` Johannes Berg
2007-09-06 1:32 ` Ian Schram
2007-09-06 2:20 ` Larry Finger
2007-09-06 12:00 ` Johannes Berg [this message]
2007-09-06 14:04 ` Tomas Winkler
2007-09-06 14:14 ` Johannes Berg
2007-09-06 14:31 ` Tomas Winkler
2007-09-06 14:40 ` 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=1189080026.28781.58.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=ischram@telenet.be \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=nbd@nbd.name \
--cc=yi.zhu@intel.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).