From: Gabor Juhos Date: Fri, 4 Oct 2013 20:07:09 +0000 (+0200) Subject: rt2x00: rt2800lib: fix default VGC values for RT3572 for the 5GHz band X-Git-Tag: v3.13-rc1~105^2~181^2^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=733aec6a5bd39ba34ddd0568b7f7394aec2541fb;p=pandora-kernel.git rt2x00: rt2800lib: fix default VGC values for RT3572 for the 5GHz band The rt2x00 driver uses 0x22 as a default VGC value in VGC adjustment for the RT3572 chipset. In the Ralink DPO_RT5572_LinuxSTA_2.6.1.3_20121022 driver, this value is only used for initialization. During VGC adjustment, the reference driver uses different values. Update the 'rt2800_get_default_vgc' function to synchronize the values with the reference driver. Also add the missing AGC initialization code into the 'rt2800_config_channel' function. References: RT35xx_SetAGCInitValue in chip/rt35xx.c RT35xx_ChipAGCAdjust in chip/rt35xx.c Signed-off-by: Gabor Juhos Acked-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed