Return-path: Received: from mtiwmhc13.worldnet.att.net ([204.127.131.117]:36054 "EHLO mtiwmhc13.worldnet.att.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753711AbZBQXQI (ORCPT ); Tue, 17 Feb 2009 18:16:08 -0500 Message-ID: <499B4526.1030705@lwfinger.net> (sfid-20090218_001613_255092_82E49EFD) Date: Tue, 17 Feb 2009 17:15:50 -0600 From: Larry Finger MIME-Version: 1.0 To: "P.G. Richardson" CC: linux-wireless@vger.kernel.org Subject: Re: rtl8187 cannot fix rate References: <35879.82.152.175.172.1234904444.squirrel@www.phantomjinx.co.uk> <499B27A4.30708@lwfinger.net> <42781.82.152.175.172.1234911183.squirrel@www.phantomjinx.co.uk> In-Reply-To: <42781.82.152.175.172.1234911183.squirrel@www.phantomjinx.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: P.G. Richardson wrote: >> P.G. Richardson wrote: >>> Hi guys, >>> >>> More experimentation with my rtl8187. With some playing around with the >>> access point location, I think I may have stumbled on a good position. >>> >>> Anyway ... >>> >>> I noticed that the rate reported by iwconfig only ever gets to 11Mb/s >>> despite the fact that I now have a signal level of 90/100 - 100/100. I >>> found that I can do >>> >>> iwconfig wlan0 rate 54M >>> >>> but it seems that although the card is still associated networking >>> doesnt >>> work (pings fail). If I change it back to auto >>> >>> iwconfig wlan0 rate auto >>> >>> then iwconfig reports 11Mb/s again and pinging resumes fine. >>> >>> Is there any chance that the driver is incorrectly reporting its mode or >>> something in that the rates it displays bear the hallmarks of a b card >>> rather than g? >>> >>> Using the compat-wireless snapshot from 9/2/2009 >>> Mandriva 2.6.27.10-desktop586-1mnb >> What rate-adjustment method are you using? The output of dmesg will tell. >> If you >> are using minstrel, then you should post the contents from the following >> commands: >> >> STATS=$(find /sys -name rc_stats) >> echo $STATS >> sudo cat $STATS >> >> Larry >> > > phy0: Selected rate control algorithm 'minstrel' > > find /sys -name rc_stats produces no results whatsoever. These is no > rc_stats in /sys. You need to set "CONFIG_MAC80211_DEBUGFS=y" in your configuration. Larry