rt2800: fix LNA gain assignment for MT7620
authorDaniel Golle <daniel@makrotopia.org>
Mon, 17 Apr 2017 19:30:12 +0000 (21:30 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 10:59:59 +0000 (13:59 +0300)
commit225a644aae03ffe2ec186cd994cd5ab241130035
tree38067f7871c0666b90cb8763bb75c5f633176761
parent0b16e0e98e95df6728328fb77b7cb86e5781a666
rt2800: fix LNA gain assignment for MT7620

The base value used for MT7620 differs from Rt5392 which resulted in
quite bad RX signal quality. Fix this by using the correct base value as
well as the LNA calibration values for HT20.

Reported-by: Tom Psyborg <pozega.tomislav@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c