]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
rt2x00: rt2800lib: fix default VGC values for RT3593
authorGabor Juhos <juhosg@openwrt.org>
Thu, 3 Oct 2013 18:00:42 +0000 (20:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Oct 2013 17:48:06 +0000 (13:48 -0400)
commit0ffd2a9a44ceb80e4e58fc3570bb5c941211d77f
tree8f7e5c914d11c8f1edc22984d2604a9452c7f6dd
parentcdabcb2bd91f6964e6cbb97513890318dc7110e1
rt2x00: rt2800lib: fix default VGC values for RT3593

Update the rt2800_get_default_vgc function to use the same VGC
values that the DPO_RT5572_LinuxSTA_2.6.1.3_20121022 reference
driver uses.

References:
  RT35xx_ChipAGCAdjust in chips/rt35xx.c
  RT3593_R66_MID_LOW_SENS_GET macro in include/chip/rt3593.h
  RT3593_R66_NON_MID_LOW_SEMS_GET macro in include/chips/rt3593.h

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