From: Larry Finger <Larry.Finger@lwfinger.net>
To: htl10@users.sourceforge.net
Cc: John W Linville <linville@tuxdriver.com>,
barreyromartin@gmail.com,
Herton Ronaldo Krzesinski <herton@mandriva.com.br>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH] rtl8187: Fix error in setting OFDM power settings for RTL8187L
Date: Tue, 27 Jan 2009 03:46:05 -0600 [thread overview]
Message-ID: <497ED7DD.9010102@lwfinger.net> (raw)
In-Reply-To: <117528.49182.qm@web23104.mail.ird.yahoo.com>
Hin-Tak Leung wrote:
> --- On Tue, 27/1/09, Larry Finger <Larry.Finger@lwfinger.net> wrote:
>
>> After reports of poor performance, a review of the latest
>> vendor driver
>> (rtl8187_linux_26.1025.0328.2007) for RTL8187L devices was
>> undertaken.
>>
>> A difference was found in the code used to index the OFDM
>> power tables. When
>> the Linux driver was changed, my unit works at a much
>> greater range than
>> before. I think this fixes Bugzilla #12380 and has been
>> tested by at least
>> two other users.
>
> What exactly does this change do? it seems to just bias the value of ofdm into higher values:
>
> 0-15 -> 10-25
> 15- -> 25
The values of ofdm_power and cck_power are indexes into the tables
rtl8225_tx_power_cck or rtl8225z2_tx_power_cck. The change does bias
the value into larger numbers both for the index and the value in the
table. Whatever happens inside the device, the bottom line is that the
OFDM performance is greatly improved, at least for the units that use
the rtl8225z2_tx_power_cck table. I'm not sure that any of the other
type have been encountered.
After my experiences with the RTL8187B, I was careful to monitor the
device temperature. Although it is likely that this change increased
the power output of the radio, the device did not get any hotter.
> Also, the first "ofdm_power = min(ofdm_power, (u8)35);" after the change chunk has no effect, since the value from the changed code would clip at 25. You could remove that line...
Thank you for seeing that. I'll submit a revised patch.
Larry
prev parent reply other threads:[~2009-01-27 9:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 3:08 [PATCH] rtl8187: Fix error in setting OFDM power settings for RTL8187L Larry Finger
2009-01-27 8:39 ` Hin-Tak Leung
2009-01-27 9:46 ` Larry Finger [this message]
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=497ED7DD.9010102@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=barreyromartin@gmail.com \
--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).