rt2x00: reduce tx power to nominal level on RT6352
authorTomislav Požega <pozega.tomislav@gmail.com>
Thu, 27 Dec 2018 14:05:25 +0000 (15:05 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 1 Feb 2019 12:05:03 +0000 (14:05 +0200)
commitc2e28ef7711ffcb083474ee5f154264c6ec1ec07
treed12c9969764a680dad43dd7908c4e31f884361db
parent3864be551405b582ae38fbcdfdbb6e49052f5f6d
rt2x00: reduce tx power to nominal level on RT6352

Current implementation of RT6352 support provides too high tx power
at least on iPA/eLNA devices. Reduce amplification of variable gain
amplifier by 6dB to match board target power of 17dBm.
Transmited signal strength with this patch is similar to that of
stock firmware or pandorabox firmware. Throughput measured with iperf
improves. Device tested: Xiaomi Miwifi Mini.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c