linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ian <ischram@telenet.be>
To: wireless <linux-wireless@vger.kernel.org>
Subject: letting drivers choose their preferred rate scale
Date: Sat, 25 Aug 2007 04:37:45 +0200	[thread overview]
Message-ID: <46CF95F9.6090802@telenet.be> (raw)

hi,

I haven't made any respectable contributions yet to the state of linux wireless
but I've been quietly following the course of action for several months. (both here and
over at the iwlwifi front)

And I would like to bring up the issue of allowing the drivers to choose the rate
scaling once more. (wrt ilwiwifi)

I know that several months ago this was somewhat a heated topic, but i would really like
to delicately retry this subject. From my perspective with the ultimate goal of iwlwifi
being merged into the mainline kernel at one point. And causing less problems for
developers and users.

I was once one of those users that for more than a year had to patch their kernel with a
specific net80211 package to get ipw3945 (which due to regulatory daemon is an entirely
different story). All the problems it caused getting it to work, never mind between
kernels, was a bit of a challenge.So I would really like to help minimize similar problems
with iwlwifi and mac80211

Currently iwlwifi requires (when used with wireless dev or the mac80211 in the .22/.23
kernels) to work around the fact that mac80211 doesn't allow the driver to choose the rate
scaling algorithm, that mac80211 isn't compiled in the kernel, and no other
rc80211_* modules are loaded. Because due to several reasons iwlwifi uses its ratescaling
to do some tasks like maintain some synchronization (station list) between the ucode and
driver.(and at least for 3945 iw3945 rs works well.)

It's understandable that this functionality might belong in the software stack that mac80211
wants to be. And that there is no reason not to be critical about proposed changes, why else
would linux be open source. As well that code can always be moved from one level
of abstraction to another.

Personally I don't see the harm in allowing the drivers the choice of rate scaling algorithm,
and the patches that were proposed months ago(don't shoot me if it was less than 60 days)
appear to be elegant and clean enough(9 lines of which 4 are debug).

A version of the iwlwifi driver (merge patch v4, with the goal of merging it in .24) which has
been up for review for about a week now. Hasn't gotten too diminishing feedback yet,
some -to my opinion- grounded remarks from Johannes Berg, but not much else.

To be blunt: looking at the possible routes of action that i see:
- re-review the patch to allow the drivers to choose (preferred) rate scaling, and give it
a chance to make it in a future kernel.
- propose a feasible other course of action
- Simply refuse this for good reasons, leaving this issue to exist for longer,
and giving me (one of the kids with too much time) more explaining in the irc channel.
for 5 lousy lines of code.

I'll conclude this mail before it becomes too long and naggy, I'm sure the general point
is clear by now. Feel free to tell me to stfu if i totally missed the point. However I do
honestly believe that merging this patch or resolving this in another mutual satisfactory way.
Would benefit most of us. Obviously I don't have any say in the decision making of the intel
developers, but expecting that everything comes from Zhu Yi or others is unrealistic too.
[And for the record: I too would love an free for all ucode license, I honestly don't believe that
intel is only after product diferenciation, full specifications would be great. :-)]


ps: for reference, I'm talking about the "Specifing rate control algorithm?" thread which started
the 10th of may on this list.




Ian Schram.

             reply	other threads:[~2007-08-25  3:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-25  2:37 ian [this message]
2007-08-25  8:02 ` letting drivers choose their preferred rate scale Johannes Berg
2007-08-25 12:15   ` ian
2007-08-25 14:19     ` Jochen Voss
2007-08-27 10:49     ` Johannes Berg
2007-08-31 18:09       ` John W. Linville
2007-09-03  0:21         ` ian
2007-09-03  8:20           ` Johannes Berg
2007-09-03  8:38           ` Johannes Berg
2007-09-03 14:06             ` ian
2007-09-13 18:39               ` John W. Linville
2007-09-13 21:42                 ` Ian Schram
2007-09-14 12:08                   ` 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=46CF95F9.6090802@telenet.be \
    --to=ischram@telenet.be \
    --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).