All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hin-Tak Leung <hintak.leung@gmail.com>
To: "Martín Ernesto Barreyro" <barreyromartin@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org
Subject: Re: Changing from Minstrel to PID
Date: Mon, 9 Nov 2009 15:57:31 +0000	[thread overview]
Message-ID: <3ace41890911090757j1446901br89661c50aa2d6937@mail.gmail.com> (raw)
In-Reply-To: <cec7b3dc0911090411r18a3041cg7b4b0190bc7f68a3@mail.gmail.com>

On Mon, Nov 9, 2009 at 12:11 PM, Martín Ernesto Barreyro
<barreyromartin@gmail.com> wrote:
> 2009/11/7 John W. Linville <linville@tuxdriver.com>:
>> On Fri, Nov 06, 2009 at 08:01:33PM -0300, Martín Ernesto Barreyro wrote:
>>> El vie, 06-11-2009 a las 16:48 -0500, John W. Linville escribió:
>>> > On Fri, Nov 06, 2009 at 06:29:16PM -0300, Martín Ernesto Barreyro wrote:
>>> > > Hello, I have a rtl8187 wireless card and I've allways have problems
>>> > > with the rate control using minstrel. So everytime my kernel updates
>>> > > (recently it went from 2.30 to 2.31) i have to recompile mi kernel
>>> > > setting pid as my default rate control algorithm.
>>> > >
>>> > > Is there a way to change that without compiling the kernel?
>>> >
>>> > No, but I wish there were...patches?  Anyone?
>>> >
>>> > John
>>>
>>> I've been searching and it seems that it could be added something like
>>> modprobe mac80211 rc='pid'
>>>
>>> Would it be a good idea?
>>
>> Well if you are happy with a module option, we already have
>> ieee80211_default_rc_algo.
>>
>> John
>> --
>> John W. Linville                Someday the world will need a hero, and you
>> linville@tuxdriver.com                  might be all we have.  Be ready.
>>
>
> Yes I'm happy, I'll try it.
> Is there any other way that it can be approached?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

I suppose echo something into the /proc file system as john suggested
in an earlier post would be even better than a module option. That's a
bit more difficult to module option (module option is pretty much the
blunt hammer and you can replace any behavior with any other bahavor
with it,  I think) as it makes the algorithm switch-able at run-time,
and that might be a little more tricky as one has to probably stop a
few things and restart a few things in the kernel... and I don't mean
debugfs, although since it is already in debugfs it might be easier
just to move that code out to general use.

      reply	other threads:[~2009-11-09 15:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 21:29 Changing from Minstrel to PID Martín Ernesto Barreyro
2009-11-06 21:48 ` John W. Linville
2009-11-06 22:13   ` Martín Ernesto Barreyro
2009-11-06 22:24     ` Bob Copeland
2009-11-06 22:40       ` Martín Ernesto Barreyro
2009-11-07 13:43       ` John W. Linville
2009-11-07 17:26         ` Bob Copeland
2009-11-06 23:01   ` Martín Ernesto Barreyro
2009-11-07 12:18     ` Hin-Tak Leung
     [not found]       ` <cec7b3dc0911081339g5f838527nf76a15889ecaddbd@mail.gmail.com>
2009-11-08 23:38         ` Hin-Tak Leung
2009-11-10  2:18           ` Martín Ernesto Barreyro
2009-11-07 13:42     ` John W. Linville
2009-11-09 12:11       ` Martín Ernesto Barreyro
2009-11-09 15:57         ` Hin-Tak Leung [this message]

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=3ace41890911090757j1446901br89661c50aa2d6937@mail.gmail.com \
    --to=hintak.leung@gmail.com \
    --cc=barreyromartin@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.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 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.