| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
|---|
| 3 | 4 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
|---|
| .. | .. |
|---|
| 10 | 11 | Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> |
|---|
| 11 | 12 | <http://rt2x00.serialmonkey.com> |
|---|
| 12 | 13 | |
|---|
| 13 | | - This program is free software; you can redistribute it and/or modify |
|---|
| 14 | | - it under the terms of the GNU General Public License as published by |
|---|
| 15 | | - the Free Software Foundation; either version 2 of the License, or |
|---|
| 16 | | - (at your option) any later version. |
|---|
| 17 | | - |
|---|
| 18 | | - This program is distributed in the hope that it will be useful, |
|---|
| 19 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 20 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 21 | | - GNU General Public License for more details. |
|---|
| 22 | | - |
|---|
| 23 | | - You should have received a copy of the GNU General Public License |
|---|
| 24 | | - along with this program; if not, see <http://www.gnu.org/licenses/>. |
|---|
| 25 | 14 | */ |
|---|
| 26 | 15 | |
|---|
| 27 | 16 | /* |
|---|
| .. | .. |
|---|
| 48 | 37 | * RF2853 2.4G/5G 3T3R |
|---|
| 49 | 38 | * RF3320 2.4G 1T1R(RT3350/RT3370/RT3390) |
|---|
| 50 | 39 | * RF3322 2.4G 2T2R(RT3352/RT3371/RT3372/RT3391/RT3392) |
|---|
| 51 | | - * RF3053 2.4G/5G 3T3R(RT3883/RT3563/RT3573/RT3593/RT3662) |
|---|
| 40 | + * RF3053 2.4G/5G 3T3R(RT3563/RT3573/RT3593) |
|---|
| 41 | + * RF3853 2.4G/5G 3T3R(RT3883/RT3662) |
|---|
| 52 | 42 | * RF5592 2.4G/5G 2T2R |
|---|
| 53 | 43 | * RF3070 2.4G 1T1R |
|---|
| 54 | 44 | * RF5360 2.4G 1T1R |
|---|
| .. | .. |
|---|
| 72 | 62 | #define RF5592 0x000f |
|---|
| 73 | 63 | #define RF3070 0x3070 |
|---|
| 74 | 64 | #define RF3290 0x3290 |
|---|
| 65 | +#define RF3853 0x3853 |
|---|
| 75 | 66 | #define RF5350 0x5350 |
|---|
| 76 | 67 | #define RF5360 0x5360 |
|---|
| 77 | 68 | #define RF5362 0x5362 |
|---|
| .. | .. |
|---|
| 1726 | 1717 | #define TX_PWR_CFG_9B_STBC_MCS7 FIELD32(0x000000ff) |
|---|
| 1727 | 1718 | |
|---|
| 1728 | 1719 | /* |
|---|
| 1720 | + * TX_TXBF_CFG: |
|---|
| 1721 | + */ |
|---|
| 1722 | +#define TX_TXBF_CFG_0 0x138c |
|---|
| 1723 | +#define TX_TXBF_CFG_1 0x13a4 |
|---|
| 1724 | +#define TX_TXBF_CFG_2 0x13a8 |
|---|
| 1725 | +#define TX_TXBF_CFG_3 0x13ac |
|---|
| 1726 | + |
|---|
| 1727 | +/* |
|---|
| 1728 | + * TX_FBK_CFG_3S: |
|---|
| 1729 | + */ |
|---|
| 1730 | +#define TX_FBK_CFG_3S_0 0x13c4 |
|---|
| 1731 | +#define TX_FBK_CFG_3S_1 0x13c8 |
|---|
| 1732 | + |
|---|
| 1733 | +/* |
|---|
| 1729 | 1734 | * RX_FILTER_CFG: RX configuration register. |
|---|
| 1730 | 1735 | */ |
|---|
| 1731 | 1736 | #define RX_FILTER_CFG 0x1400 |
|---|
| .. | .. |
|---|
| 2296 | 2301 | /* |
|---|
| 2297 | 2302 | * RFCSR 2: |
|---|
| 2298 | 2303 | */ |
|---|
| 2304 | +#define RFCSR2_RESCAL_BP FIELD8(0x40) |
|---|
| 2299 | 2305 | #define RFCSR2_RESCAL_EN FIELD8(0x80) |
|---|
| 2300 | 2306 | #define RFCSR2_RX2_EN_MT7620 FIELD8(0x02) |
|---|
| 2301 | 2307 | #define RFCSR2_TX2_EN_MT7620 FIELD8(0x20) |
|---|