summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rt2x00/rt2800.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-01-30 19:17:56 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-02-06 23:50:38 +0400
commit7f4666ab3fd656513bffd449410a4d7c189081ec (patch)
tree41e9b177eb12b335818c03fa935cf52a6dd9875f /drivers/net/wireless/rt2x00/rt2800.h
parent5718b134b1fe09087ca225b0e475ef65536d02b4 (diff)
downloadlinux-7f4666ab3fd656513bffd449410a4d7c189081ec.tar.xz
rt2800: radio 3xxx: reprogram only lower bits of RF_R3
Synchronize code with Ralink driver: 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO (functions: RT33xx_ChipSwitchChannel() and RT30xx_ChipSwitchChannel()) Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
index 2571a2fa3d09..abf2ae588164 100644
--- a/drivers/net/wireless/rt2x00/rt2800.h
+++ b/drivers/net/wireless/rt2x00/rt2800.h
@@ -1796,6 +1796,11 @@ struct mac_iveiv_entry {
#define RFCSR2_RESCAL_EN FIELD8(0x80)
/*
+ * RFCSR 3:
+ */
+#define RFCSR3_K FIELD8(0x0f)
+
+/*
* FRCSR 5:
*/
#define RFCSR5_R1 FIELD8(0x0c)