]> git.baikalelectronics.ru Git - kernel.git/commit
rt2800: add chipset revision RT5390R support
authorAnisse Astier <anisse@astier.eu>
Mon, 23 Apr 2012 10:33:11 +0000 (12:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:37:42 +0000 (15:37 -0400)
commit2b52d3494fe1185b7fe2b942a003ca77c9477b3f
tree974415fc4bad725bbc48ebb6955e57ffebe2f213
parent5c95a9adcbb01c4c0fb8f83564853e608253104e
rt2800: add chipset revision RT5390R support

About 70% of the chips with revision RT5390R initialize incorrectly, using
the auxiliary antenna instead of the main one. The net result is that
signal reception is very poor (no AP further than 1M).

This chipset differs from RT5390 and RT5390F by its support of hardware
antenna diversity. Therefore antenna selection should be done
differently, by disabling software features and previously selected
antenna.

This changeset does just that, and makes all RT5390R work properly.

This is based on Ralink's 2012_03_22_RT5572_Linux_STA_v2.6.0.0_DPO
driver.

Signed-off-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c