rt2x00: rt2800lib: fix VGC programming for RT3572 and RT3593
authorGabor Juhos <juhosg@openwrt.org>
Thu, 3 Oct 2013 18:00:43 +0000 (20:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Oct 2013 17:48:06 +0000 (13:48 -0400)
commit271f1a4d70c34ff1ff7a9e3b1fd56068757f24b1
treef42abf288f8ca4c200b49b7dfcdc8301926a301e
parent0ffd2a9a44ceb80e4e58fc3570bb5c941211d77f
rt2x00: rt2800lib: fix VGC programming for RT3572 and RT3593

According to the DPO_RT5572_LinuxSTA_2.6.1.3_20121022
reference driver, programming of the 'BBP 66' register
on the RT3572 and RT3593 chipsets must be done via the
'rt2800_bbp_write_with_rx_chain' function. This ensures
that value is correclty set for all RX chains.

References:
  RT35xx_ChipAGCAdjust and RT35xx_SetAGCInitValue functions
  in chips/rt35xx.c

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c