rt2x00: rt2800: add antenna diversity for RT5370G
authorXose Vazquez Perez <xose.vazquez@gmail.com>
Thu, 5 Apr 2018 12:22:32 +0000 (14:22 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 25 Apr 2018 08:24:30 +0000 (11:24 +0300)
commit9d81ecde4dce37cd9e147c24c9bc0cd1d4c259d5
treede1c28667c0f09bf88b906804567aea56f38e460
parent863683cfbbfcd48ae88e2af880f52b91332f1f26
rt2x00: rt2800: add antenna diversity for RT5370G

RT5370G has hardware RX antenna diversity like RT5390R.
Based on DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.bz2 manufacturer driver:
https://d86o2zu8ugzlg.cloudfront.net/mediatek-craft/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.bz2

Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: wireless newbie <wnewbie72@gmail.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux wireless ml <linux-wireless@vger.kernel.org>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800.h
drivers/net/wireless/ralink/rt2x00/rt2800lib.c