summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rt2x00/rt2800.h
diff options
context:
space:
mode:
authorRA-Jay Hung <jay_hung@ralinktech.com>2011-01-10 11:28:10 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-01-19 11:36:07 -0500
commit80d184e6cfb1ba7371152c4c91652d770c9caddb (patch)
tree2bd28dc016b85aaac3218bf317ef225e8aec4608 /drivers/net/wireless/rt2x00/rt2800.h
parent7f6e144fb99a4a70d3c5ad5f074204c5b89a6f65 (diff)
downloadlwn-80d184e6cfb1ba7371152c4c91652d770c9caddb.tar.gz
lwn-80d184e6cfb1ba7371152c4c91652d770c9caddb.zip
rt2x00: Fix and fine-tune rf registers for RT3070/RT3071/RT3090
Basically fix and fine-tune RT3070/RT3071/RT3090 chip RF initial value when call rt2800_init_rfcsr Signed-off-by: RA-Jay Hung <jay_hung@ralinktech.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
index 4c55e8525cad..c7e615cebac1 100644
--- a/drivers/net/wireless/rt2x00/rt2800.h
+++ b/drivers/net/wireless/rt2x00/rt2800.h
@@ -1805,6 +1805,12 @@ struct mac_iveiv_entry {
#define RFCSR30_RF_CALIBRATION FIELD8(0x80)
/*
+ * RFCSR 31:
+ */
+#define RFCSR31_RX_AGC_FC FIELD8(0x1f)
+#define RFCSR31_RX_H20M FIELD8(0x20)
+
+/*
* RF registers
*/