Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Sujith Manoharan <sujith@msujith.org>
Cc: John Linville <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org, stable@vger.kernel.org,
	Jouni Malinen <jouni@qca.qualcomm.com>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] ath9k: Use minstrel rate control by default
Date: Wed, 05 Jun 2013 21:17:20 -0700	[thread overview]
Message-ID: <51B00D50.9080606@candelatech.com> (raw)
In-Reply-To: <20912.2720.990590.284874@gargle.gargle.HOWL>

On 06/05/2013 09:05 PM, Sujith Manoharan wrote:
> Ben Greear wrote:
>> If you will just delete that code above, then you can compile in both ath9k
>> and minstrel rate controls and select at run-time by twiddling the mac80211
>> rate control module option.
>
> I am not sure if a user is going to change the rate control at run-time by
> reloading mac80211 and what would be point in using ath9k RC which has basic
> connectivity problems ?
>
>> Last I tested there were still advantages to ath9k rate control in our environment,
>> (including when running through an attenuator and over-the-air),
>> so I think it should be left in to keep minstrel honest if nothing else.
>
> ath9k RC shows slightly higher throughput numbers in an _ideal_ environment,
> but that is hardly the case in real-world usage. I agree that the code can
> be left in the driver, it will be useful for comparison with minstrel.

Then default to minstrel, but no need to make people re-compile their
kernel to try a different rate control.  For some users/systems this is
effectively impossible, and for the rest, it is an extra bit of pain.

The point of leaving ath9k rate control in is exactly to help make sure
minstrel has something to compare against.  And if a user happens to know
they have a clean environment always and forever, then ath9k may be
the best solution for them.

It is a trivial amount of change to your patch to enable this
behaviour.  In fact, if you just remove the code I mentioned then
they will *automatically* get defaulted to minstrel regardless of
their kernel config.  The only way to use ath9k rate control after
that is to set the module option in mac80211 (and enable ath9k rate
control for compilation).

Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2013-06-06  4:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06  3:10 [PATCH] ath9k: Use minstrel rate control by default Sujith Manoharan
2013-06-06  3:42 ` Linus Torvalds
2013-06-06  3:49 ` Ben Greear
2013-06-06  3:53   ` Linus Torvalds
2013-06-06  4:05   ` Sujith Manoharan
2013-06-06  4:17     ` Ben Greear [this message]
2013-06-06  4:28       ` Sujith Manoharan

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=51B00D50.9080606@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=jouni@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=stable@vger.kernel.org \
    --cc=sujith@msujith.org \
    --cc=torvalds@linux-foundation.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