rt2x00: add RT3883 support
Patch add support for RT3883 chip. Code was taken direclty from openwrt project and merge into one patch. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
此提交包含在:
@@ -48,7 +48,8 @@
|
||||
* RF2853 2.4G/5G 3T3R
|
||||
* RF3320 2.4G 1T1R(RT3350/RT3370/RT3390)
|
||||
* RF3322 2.4G 2T2R(RT3352/RT3371/RT3372/RT3391/RT3392)
|
||||
* RF3053 2.4G/5G 3T3R(RT3883/RT3563/RT3573/RT3593/RT3662)
|
||||
* RF3053 2.4G/5G 3T3R(RT3563/RT3573/RT3593)
|
||||
* RF3853 2.4G/5G 3T3R(RT3883/RT3662)
|
||||
* RF5592 2.4G/5G 2T2R
|
||||
* RF3070 2.4G 1T1R
|
||||
* RF5360 2.4G 1T1R
|
||||
@@ -72,6 +73,7 @@
|
||||
#define RF5592 0x000f
|
||||
#define RF3070 0x3070
|
||||
#define RF3290 0x3290
|
||||
#define RF3853 0x3853
|
||||
#define RF5350 0x5350
|
||||
#define RF5360 0x5360
|
||||
#define RF5362 0x5362
|
||||
@@ -1725,6 +1727,20 @@
|
||||
/* bits for new 2T devices */
|
||||
#define TX_PWR_CFG_9B_STBC_MCS7 FIELD32(0x000000ff)
|
||||
|
||||
/*
|
||||
* TX_TXBF_CFG:
|
||||
*/
|
||||
#define TX_TXBF_CFG_0 0x138c
|
||||
#define TX_TXBF_CFG_1 0x13a4
|
||||
#define TX_TXBF_CFG_2 0x13a8
|
||||
#define TX_TXBF_CFG_3 0x13ac
|
||||
|
||||
/*
|
||||
* TX_FBK_CFG_3S:
|
||||
*/
|
||||
#define TX_FBK_CFG_3S_0 0x13c4
|
||||
#define TX_FBK_CFG_3S_1 0x13c8
|
||||
|
||||
/*
|
||||
* RX_FILTER_CFG: RX configuration register.
|
||||
*/
|
||||
@@ -2296,6 +2312,7 @@ struct mac_iveiv_entry {
|
||||
/*
|
||||
* RFCSR 2:
|
||||
*/
|
||||
#define RFCSR2_RESCAL_BP FIELD8(0x40)
|
||||
#define RFCSR2_RESCAL_EN FIELD8(0x80)
|
||||
#define RFCSR2_RX2_EN_MT7620 FIELD8(0x02)
|
||||
#define RFCSR2_TX2_EN_MT7620 FIELD8(0x20)
|
||||
|
新增問題並參考
封鎖使用者