]> git.baikalelectronics.ru Git - kernel.git/commit
rt2800: fix RT5390 & RT3290 TX power settings regression
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 11 Jun 2013 16:48:53 +0000 (18:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 18:24:23 +0000 (14:24 -0400)
commit1be74f2713691d4a9d8ee0d361c2b3d7f2df540f
tree931242bfb8c094d8a70403a35a8b8010d3d53e3b
parent9f6b2f3bf5c9c91b95bc9f19f6fade216a38b2a8
rt2800: fix RT5390 & RT3290 TX power settings regression

My change:

commit 453ffd87666c267b7aa6b01d084409ddd35bc00b
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Fri Oct 5 13:44:09 2012 +0200

    rt2800: use BBP_R1 for setting tx power

unfortunately does not work well with RT5390 and RT3290 chips as they
require different temperature compensation TX power settings (TSSI
tuning). Since that commit make wireless connection very unstable on
those chips, restore previous behavior to fix regression. Once we
implement proper TSSI tuning on 5390/3290 we can restore back setting
TX power by BBP_R1 register for those chips.

Reported-and-tested-by: Mike Romberg <mike-romberg@comcast.net>
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c