From: Larry Finger <Larry.Finger@lwfinger.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: htl10@users.sourceforge.net,
Herton Ronaldo Krzesinski <herton@mandriva.com.br>,
barreyromartin@gmail.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] rtl8187: Improve wireless statistics for RTL8187
Date: Mon, 15 Dec 2008 14:01:19 -0600 [thread overview]
Message-ID: <4946B78F.30006@lwfinger.net> (raw)
In-Reply-To: <20081215193549.GD3519@tuxdriver.com>
John W. Linville wrote:
> On Wed, Dec 03, 2008 at 09:20:46PM -0600, Larry Finger wrote:
>> Hin-Tak Leung wrote:
>>> --- On Thu, 4/12/08, Larry Finger <Larry.Finger@lwfinger.net> wrote=
:
>>>
>>>> The current wireless statistics for the RTL8187 poorly
>>>> indicate the signal
>>>> strength and quality. With testing, I found that the AGC
>>>> value is inversely
>>>> correlated with the strength as in the RTL8187B. By
>>>> implementing a similar
>>>> calculation, much more code becomes common to the two
>>>> devices.
>>>>
>>>> Signed-off-by: Larry Finger
>>>> <Larry.Finger@lwfinger.net>
>>>> Tested by: Mart=EDn Ernesto Barreyro
>>>> <barreyromartin@gmail.com>
>>>> ---
>>> Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
>>>
>>> Acually eveything to do with "quality" can be moved out of the if/t=
hen.
>>>
>>> I mean these 3 lines:
>>>
>>> + if (quality > 100)
>>> + quality =3D 100;
>>> + ....
>>> + rx_status.qual =3D quality;
>>>
>>> You have removed "rx_status.qual =3D quality;" from the "then" part=
, but didn't put it back in the common portion afterwards?
>>>
>>> Also, what happened to "dev->max_signal =3D 65;" at the end?
>> Thanks for the comments. I'll fix up the code and resubmit.
>>
>> The dev->max_signal is only needed if the IEEE80211_HW_SIGNAL_UNSPEC=
flag is
>> used. Once we switch to IEEE80211_HW_SIGNAL_DBM, then the maximum is=
known.
>=20
> I'm dropping this patch from my mailbox. Is a new version of this
> still coming?
It is already in wireless-testing as commit b95e4bc3da1167bba718bc5. It=
was sent
to you as "[PATCH V2] rtl8187: Improve wireless statistics for RTL8187"=
on Dec
3. The original should be dropped.
Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-12-15 20:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 1:50 [PATCH] rtl8187: Improve wireless statistics for RTL8187 Larry Finger
2008-12-04 2:50 ` Hin-Tak Leung
2008-12-04 3:20 ` Larry Finger
2008-12-15 19:35 ` John W. Linville
2008-12-15 20:01 ` Larry Finger [this message]
2008-12-15 20:10 ` John W. Linville
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=4946B78F.30006@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).