Re: How to confirm the ratectl is changed!!

Pavel Roskin <[email protected]>
Newsgroups gmane.linux.drivers.madwifi.user
Message-ID <1264460952.4789.49.camel@mj>
On Mon, 2010-01-25 at 17:05 -0500, Bishal Thapa wrote:
> Dear Madwifi list,
>   I am a newbie trying to learn how to run madwifi on my DLink
> WDA-1320 IEEE 802.11b/g 32-bit PCI Wireless G Desktop Adapter. I am
> using Ubuntu 9.04/madwifi 0.9.4 (from svn). It is successfully
> installed to my amusement at the first shot. So, the guidelines were
> very good provided by the list. Thank you. I have two issues, however:
> 
> 1. Even though I added "ath_hal" to DISABLED_MODULES list
> in /etc/default/linux-restricted-modules-common to keep the "ath_hal"
> that came with the ubuntu installation from being used, via its so
> called volatile module mechanism, I want to know if there is a way to
> ensure that? I want to confirm that "ath_pci" that I see loaded (using
> lsmod) after I do "modprobe ath_pci" post "make install" from madwifi
> source is the one that I wanted (ala madwifi source generated
> ath_pci)?

I don't know much about the mechanism used by Ubuntu, but perhaps you
should just uninstall the Ubuntu package of MadWifi.

I have just committed a change that should make it easier to identify
the exact revision of MadWifi.  Once you pull the latest source, compile
and install it, you should see this in the kernel log (shown by the
dmesg command):

ath_pci: svn r4110 (branch madwifi-0.9.4)

The revision may vary, obviously.  If you don't see "branch
madwifi-0.9.4", it's not the version of MadWifi you have compiled.

> 2. Second and last question, when I do "modprobe ath_pci
> ratectl=amrr". I do not see any changes in the list of loaded modules.
> Is there anyway to ensure the rate control mechanism is actually
> changed? after I did "modprobe ath_pci ratectl-amrr", other than
> observing it via ethereal. Please help this novice.

You should see that ath_rate_amrr has a non-zero use count when you run
lsmod:

# lsmod |grep ath
ath_pci                92094  0 
ath_rate_sample        11067  0 
ath_rate_amrr           6054  1 
wlan                  206081  5
ath_pci,ath_rate_sample,wlan_scan_sta,ath_rate_amrr
ath_hal               216254  3 ath_pci,ath_rate_sample

-- 
Regards,
Pavel Roskin

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.