]> 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)
commit36818f4d792373eda48f0357011d46bd84bd7fa2
tree931242bfb8c094d8a70403a35a8b8010d3d53e3b
parentf867cd08487168182d1306c85179556acfe7c03e
rt2800: fix RT5390 & RT3290 TX power settings regression

My change:

commit 91b1c7a28ece8b961cadb1039eccd71e418b461b
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