]> git.karo-electronics.de Git - karo-tx-linux.git/commit
b43: N-PHY: increase initial value of "mind" in RSSI calibration
authorRafał Miłecki <zajec5@gmail.com>
Tue, 19 Mar 2013 06:52:48 +0000 (07:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:25:48 +0000 (09:25 -0700)
commit4a3e9039d7323c0be222cff4c5c133ca37f4fefa
tree2e18d682c671c0578a581541ba987d499576803a
parent3d8e86bcaa87d05c3d7ffe428f54feacf24d11f8
b43: N-PHY: increase initial value of "mind" in RSSI calibration

commit e67dd874e60529dbd2e8232babb1e23479ba2ffa upstream.

We're using "mind" variable to find the VCM that got the best polling
results. For each VCM we calculte "currd" which is compared to the
"mind". For PHY rev3+ "currd" gets values around 14k-40k. Looking for a
value smaller than 40 makes no sense, so increase the initial value.

This fixes a regression introduced in 3.4 by commit:
e0c9a0219a8f542e3946fe972a68aacf8c3f906c
(my BCM4322 performance dropped from 18,4Mb/s to 9,26Mb/s)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/b43/phy_n.c