diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-10-04 22:07:09 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-10 13:49:28 -0400 |
commit | 733aec6a5bd39ba34ddd0568b7f7394aec2541fb (patch) | |
tree | 5420bcbfc5ef5ba038a60b00d87db0c615871d46 /drivers/net/wireless/rt2x00/rt2x00queue.c | |
parent | 271f1a4d70c34ff1ff7a9e3b1fd56068757f24b1 (diff) | |
download | linux-733aec6a5bd39ba34ddd0568b7f7394aec2541fb.tar.bz2 |
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 <juhosg@openwrt.org>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.c')
0 files changed, 0 insertions, 0 deletions