From: Larry Finger <Larry.Finger@lwfinger.net>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: "John W. Linville" <linville@tuxdriver.com>,
Herton Ronaldo Krzesinski <herton@mandriva.com.br>,
Hin-Tak Leung <htl10@users.sourceforge.net>,
barreyromartin@gmail.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] rtl8187: Fix driver to return TX retry info for RTL8187L
Date: Sat, 24 Jan 2009 11:45:24 -0600 [thread overview]
Message-ID: <497B53B4.5060302@lwfinger.net> (raw)
In-Reply-To: <497B05AF.5050701@hauke-m.de>
Hauke Mehrtens wrote:
> I did some more testing with and without the patch. With the patch it
> works when the rate is limited to 11M with pid and with minstrel
> algorithm. Without this limitation it works only with pid.
Of course, when you set a manual rate, the rate-setting method is
immaterial.
> Without this patch it also works with the limiting the rate to 11M with
> both rate control algorithms, but with minstrel it also works without
> limiting the rate.
Without the patch, minstrel is internally limited to 1 Mb/s TX rate.
> Without the patch, without limiting the rate and with minstrel iwconfig
> reports a rate of 1Mb/s, but I get 3Mb/s with wget, properly an other
> bug. With pid the rate goes up to 54Mb/s and it does not work.
The rate reported by iwconfig is for TX. The throughput from wget is
dependent on the TX rate of the AP. This info is useful, but the rates
from wput, or any other transmitting program, are more instructive to
find TX problems.
> With the patch, without limiting the rate and with minstrel iwconfig
> reports a rate of 24Mb/s and it does not work. With pid it starts with
> 1Mb/s and the connection is stable. The rate is changing between 1mb/s,
> 2Mb/s, 5.5Mb/s and 9Mb/s.
Please submit your rc_stats data for the minstrel case.
It is obvious that the RTL8187L does not do as well as other wireless
chips in low S/N conditions. It is also possible that some flavors of
the chips are better than others. In my Netgear WG111v2 with the patch
and using the minstrel algorithm, I get a TX rate between 21 and 22
Mb/s as measured with tcpperf at a distance of 2 m from my AP. The
rate reported by iwconfig is 54 Mb/s. When I move to ~15 m from the
AP, the rate falls off to ~12 Mb/s with iwconfig reporting 24-48 Mb/s.
At 20 m, the connection is essentially unusable - sounds like yours
the iwconfig rate is 24 Mb/s.
We are clearly flying blind here as we do not have a data sheet for
the RTL8187L. I got some help from the Realtek engineer regarding the
retry info, but that is the limit of my info. I do have what I think
is the latest version of the vendor driver, and I will compare the
power setting code with theirs.
The patch definitely helps my device as long as the reported signal
level is above -60 dBm. With lower signals, then it doesn't work very
well. Your device must be in that range.
Larry
next prev parent reply other threads:[~2009-01-24 17:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-23 0:03 [PATCH] rtl8187: Fix driver to return TX retry info for RTL8187L Larry Finger
2009-01-23 15:07 ` Hauke Mehrtens
2009-01-23 15:31 ` John W. Linville
2009-01-24 12:12 ` Hauke Mehrtens
2009-01-24 17:45 ` Larry Finger [this message]
2009-01-25 16:55 ` Larry Finger
2009-01-26 1:36 ` [RFT] rtl8187: Fix OFDM power settings " Larry Finger
2009-01-26 3:19 ` [RFT V2] " Larry Finger
2009-01-27 19:24 ` Hauke Mehrtens
2009-01-27 19:41 ` Hin-Tak Leung
2009-01-27 20:00 ` Larry Finger
2009-01-30 21:28 ` Hauke Mehrtens
2009-01-23 15:34 ` [PATCH] rtl8187: Fix driver to return TX retry info " Larry Finger
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=497B53B4.5060302@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=barreyromartin@gmail.com \
--cc=hauke@hauke-m.de \
--cc=herton@mandriva.com.br \
--cc=htl10@users.sourceforge.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).