| .. | .. |
|---|
| 1 | | -/****************************************************************************** |
|---|
| 2 | | - * |
|---|
| 3 | | - * Copyright(c) 2009-2012 Realtek Corporation. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms of version 2 of the GNU General Public License as |
|---|
| 7 | | - * published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 12 | | - * more details. |
|---|
| 13 | | - * |
|---|
| 14 | | - * The full GNU General Public License is included in this distribution in the |
|---|
| 15 | | - * file called LICENSE. |
|---|
| 16 | | - * |
|---|
| 17 | | - * Contact Information: |
|---|
| 18 | | - * wlanfae <wlanfae@realtek.com> |
|---|
| 19 | | - * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, |
|---|
| 20 | | - * Hsinchu 300, Taiwan. |
|---|
| 21 | | - * |
|---|
| 22 | | - * Larry Finger <Larry.Finger@lwfinger.net> |
|---|
| 23 | | - * |
|---|
| 24 | | - *****************************************************************************/ |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 2 | +/* Copyright(c) 2009-2012 Realtek Corporation.*/ |
|---|
| 25 | 3 | |
|---|
| 26 | 4 | #ifndef __RTL92D_REG_H__ |
|---|
| 27 | 5 | #define __RTL92D_REG_H__ |
|---|
| .. | .. |
|---|
| 752 | 730 | |
|---|
| 753 | 731 | /* SYS_FUNC_EN */ |
|---|
| 754 | 732 | #define FEN_BBRSTB BIT(0) |
|---|
| 755 | | -#define FEN_BB_GLB_RSTn BIT(1) |
|---|
| 733 | +#define FEN_BB_GLB_RSTN BIT(1) |
|---|
| 756 | 734 | #define FEN_USBA BIT(2) |
|---|
| 757 | 735 | #define FEN_UPLL BIT(3) |
|---|
| 758 | 736 | #define FEN_USBD BIT(4) |
|---|
| .. | .. |
|---|
| 773 | 751 | #define PFM_ALDN BIT(1) |
|---|
| 774 | 752 | #define PFM_LDKP BIT(2) |
|---|
| 775 | 753 | #define PFM_WOWL BIT(3) |
|---|
| 776 | | -#define EnPDN BIT(4) |
|---|
| 754 | +#define ENPDN BIT(4) |
|---|
| 777 | 755 | #define PDN_PL BIT(5) |
|---|
| 778 | 756 | #define APFM_ONMAC BIT(8) |
|---|
| 779 | 757 | #define APFM_OFF BIT(9) |
|---|
| .. | .. |
|---|
| 910 | 888 | /* MCUFWDL */ |
|---|
| 911 | 889 | #define MCUFWDL_EN BIT(0) |
|---|
| 912 | 890 | #define MCUFWDL_RDY BIT(1) |
|---|
| 913 | | -#define FWDL_ChkSum_rpt BIT(2) |
|---|
| 891 | +#define FWDL_CHKSUM_RPT BIT(2) |
|---|
| 914 | 892 | #define MACINI_RDY BIT(3) |
|---|
| 915 | 893 | #define BBINI_RDY BIT(4) |
|---|
| 916 | 894 | #define RFINI_RDY BIT(5) |
|---|
| .. | .. |
|---|
| 1033 | 1011 | #define RFPGA0_XA_LSSIPARAMETER 0x840 |
|---|
| 1034 | 1012 | #define RFPGA0_XB_LSSIPARAMETER 0x844 |
|---|
| 1035 | 1013 | |
|---|
| 1036 | | -#define RFPGA0_RFWAkEUPPARAMETER 0x850 |
|---|
| 1014 | +#define RFPGA0_RFWAKEUPPARAMETER 0x850 |
|---|
| 1037 | 1015 | #define RFPGA0_RFSLEEPUPPARAMETER 0x854 |
|---|
| 1038 | 1016 | |
|---|
| 1039 | 1017 | #define RFPGA0_XAB_SWITCHCONTROL 0x858 |
|---|
| .. | .. |
|---|
| 1135 | 1113 | #define ROFDM0_AGCRSSITABLE 0xc78 |
|---|
| 1136 | 1114 | #define ROFDM0_HTSTFAGC 0xc7c |
|---|
| 1137 | 1115 | |
|---|
| 1138 | | -#define ROFDM0_XATxIQIMBALANCE 0xc80 |
|---|
| 1139 | | -#define ROFDM0_XATxAFE 0xc84 |
|---|
| 1140 | | -#define ROFDM0_XBTxIQIMBALANCE 0xc88 |
|---|
| 1141 | | -#define ROFDM0_XBTxAFE 0xc8c |
|---|
| 1142 | | -#define ROFDM0_XCTxIQIMBALANCE 0xc90 |
|---|
| 1143 | | -#define ROFDM0_XCTxAFE 0xc94 |
|---|
| 1144 | | -#define ROFDM0_XDTxIQIMBALANCE 0xc98 |
|---|
| 1145 | | -#define ROFDM0_XDTxAFE 0xc9c |
|---|
| 1116 | +#define ROFDM0_XATXIQIMBALANCE 0xc80 |
|---|
| 1117 | +#define ROFDM0_XATXAFE 0xc84 |
|---|
| 1118 | +#define ROFDM0_XBTXIQIMBALANCE 0xc88 |
|---|
| 1119 | +#define ROFDM0_XBTXAFE 0xc8c |
|---|
| 1120 | +#define ROFDM0_XCTXIQIMBALANCE 0xc90 |
|---|
| 1121 | +#define ROFDM0_XCTXAFE 0xc94 |
|---|
| 1122 | +#define ROFDM0_XDTXIQIMBALANCE 0xc98 |
|---|
| 1123 | +#define ROFDM0_XDTXAFE 0xc9c |
|---|
| 1146 | 1124 | |
|---|
| 1147 | 1125 | #define ROFDM0_RXHPPARAMETER 0xce0 |
|---|
| 1148 | 1126 | #define ROFDM0_TXPSEUDONOISEWGT 0xce4 |
|---|
| .. | .. |
|---|
| 1186 | 1164 | #define ROFDM_AGCREPORT 0xdd0 |
|---|
| 1187 | 1165 | #define ROFDM_RXSNR 0xdd4 |
|---|
| 1188 | 1166 | #define ROFDM_RXEVMCSI 0xdd8 |
|---|
| 1189 | | -#define ROFDM_SIGReport 0xddc |
|---|
| 1167 | +#define ROFDM_SIGREPORT 0xddc |
|---|
| 1190 | 1168 | |
|---|
| 1191 | 1169 | /* 8. PageE(0xE00) */ |
|---|
| 1192 | 1170 | #define RTXAGC_A_RATE18_06 0xe00 |
|---|
| .. | .. |
|---|
| 1228 | 1206 | #define RF_IPA 0x15 |
|---|
| 1229 | 1207 | #define RF_POW_ABILITY 0x17 |
|---|
| 1230 | 1208 | #define RF_MODE_AG 0x18 |
|---|
| 1231 | | -#define rRfChannel 0x18 |
|---|
| 1209 | +#define rfchannel 0x18 |
|---|
| 1232 | 1210 | #define RF_CHNLBW 0x18 |
|---|
| 1233 | 1211 | #define RF_TOP 0x19 |
|---|
| 1234 | 1212 | |
|---|