]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtl8187: Improve wireless statistics for RTL8187
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 4 Dec 2008 04:21:20 +0000 (22:21 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 18:48:19 +0000 (13:48 -0500)
commita7db74f4be3835fd16c6c582d320f692ccccc622
tree1dfd8f6293d3db7403ba0c71001bf7c8f8dc1e9b
parent7a3c66e2d322c638e9306e739d96b2192dacde88
rtl8187: Improve wireless statistics for RTL8187

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ín Ernesto Barreyro <barreyromartin@gmail.com>
Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187_dev.c