Re: How to use rate control algorithms

Pavel Roskin <[email protected]> Sun, 21 Mar 2010 21:38:50 -0400
Newsgroups gmane.linux.drivers.madwifi.user
Message-ID <1269221930.2656.13.camel@mj>
On Sun, 2010-03-21 at 13:33 +0100, Ron Lee wrote:
> Hi all,
> 
> I would like to know how to select the rate control algorithm for
> MadWifi.
> 
> If I run "iwconfig ath0 rate auto", what rate control algorithm will
> be used (sample, minstrel, or onoe) ? Is there a way for me to
> select these algorithms?

The rate control algorithm is selected when the module is loaded.  Run
"modinfo ath_pci" to see the available algorithms.  For instance, to use
the minstrel algorithm run

modprobe ath_pci ratectl=minstrel

Of course, that would work only if ath_pci is not already loaded.  It's
also possible to specify module options in one of the files
in /etc/modprobe.d/ by adding this line:

options ath_pci ratectl=minstrel

If you are using an embedded system with the AHB interface, replace
ath_pci with ath_ahb.

-- 
Regards,
Pavel Roskin

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev