.. | .. |
---|
1 | | -/****************************************************************************** |
---|
2 | | - * |
---|
3 | | - * Copyright(c) 2009-2010 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-2010 Realtek Corporation.*/ |
---|
25 | 3 | |
---|
26 | 4 | #ifndef __RTL8821AE_REG_H__ |
---|
27 | 5 | #define __RTL8821AE_REG_H__ |
---|
.. | .. |
---|
696 | 674 | #define EEPROM_CHANNEL_PLAN_TELEC 0x8 |
---|
697 | 675 | #define EEPROM_CHANNEL_PLAN_GLOBAL_DOMAIN 0x9 |
---|
698 | 676 | #define EEPROM_CHANNEL_PLAN_WORLD_WIDE_13 0xA |
---|
699 | | -#define EEPROM_CHANNEL_PLAN_NCC 0xB |
---|
| 677 | +#define EEPROM_CHANNEL_PLAN_NCC 0XB |
---|
700 | 678 | #define EEPROM_CHANNEL_PLAN_BY_HW_MASK 0x80 |
---|
701 | 679 | |
---|
702 | 680 | #define EEPROM_CID_DEFAULT 0x0 |
---|
.. | .. |
---|
718 | 696 | |
---|
719 | 697 | #define EEPROM_TX_PWR_INX 0x10 |
---|
720 | 698 | |
---|
721 | | -#define EEPROM_CHANNELPLAN 0xB8 |
---|
722 | | -#define EEPROM_XTAL_8821AE 0xB9 |
---|
723 | | -#define EEPROM_THERMAL_METER 0xBA |
---|
724 | | -#define EEPROM_IQK_LCK_88E 0xBB |
---|
| 699 | +#define EEPROM_CHANNELPLAN 0XB8 |
---|
| 700 | +#define EEPROM_XTAL_8821AE 0XB9 |
---|
| 701 | +#define EEPROM_THERMAL_METER 0XBA |
---|
| 702 | +#define EEPROM_IQK_LCK_88E 0XBB |
---|
725 | 703 | |
---|
726 | 704 | #define EEPROM_RF_BOARD_OPTION 0xC1 |
---|
727 | 705 | #define EEPROM_RF_FEATURE_OPTION_88E 0xC2 |
---|
.. | .. |
---|
1015 | 993 | #define _LBMODE(x) (((x) & 0xF) << 24) |
---|
1016 | 994 | #define MASK_LBMODE 0xF000000 |
---|
1017 | 995 | #define LOOPBACK_NORMAL 0x0 |
---|
1018 | | -#define LOOPBACK_IMMEDIATELY 0xB |
---|
| 996 | +#define LOOPBACK_IMMEDIATELY 0XB |
---|
1019 | 997 | #define LOOPBACK_MAC_DELAY 0x3 |
---|
1020 | 998 | #define LOOPBACK_PHY 0x1 |
---|
1021 | 999 | #define LOOPBACK_DMA 0x7 |
---|
.. | .. |
---|
1430 | 1408 | #define RCCK0_FACOUNTERUPPER 0xa58 |
---|
1431 | 1409 | #define RCCK0_CCA_CNT 0xa60 |
---|
1432 | 1410 | |
---|
1433 | | -/* PageB(0xB00) */ |
---|
| 1411 | +/* PageB(0XB00) */ |
---|
1434 | 1412 | #define RPDP_ANTA 0xb00 |
---|
1435 | 1413 | #define RPDP_ANTA_4 0xb04 |
---|
1436 | 1414 | #define RPDP_ANTA_8 0xb08 |
---|
.. | .. |
---|
1477 | 1455 | #define RPM_RX3_ANTB 0xbf8 |
---|
1478 | 1456 | |
---|
1479 | 1457 | /*RSSI Dump*/ |
---|
1480 | | -#define RA_RSSI_DUMP 0xBF0 |
---|
1481 | | -#define RB_RSSI_DUMP 0xBF1 |
---|
1482 | | -#define RS1_RX_EVM_DUMP 0xBF4 |
---|
1483 | | -#define RS2_RX_EVM_DUMP 0xBF5 |
---|
1484 | | -#define RA_RX_SNR_DUMP 0xBF6 |
---|
1485 | | -#define RB_RX_SNR_DUMP 0xBF7 |
---|
1486 | | -#define RA_CFO_SHORT_DUMP 0xBF8 |
---|
1487 | | -#define RB_CFO_SHORT_DUMP 0xBFA |
---|
1488 | | -#define RA_CFO_LONG_DUMP 0xBEC |
---|
1489 | | -#define RB_CFO_LONG_DUMP 0xBEE |
---|
| 1458 | +#define RA_RSSI_DUMP 0XBF0 |
---|
| 1459 | +#define RB_RSSI_DUMP 0XBF1 |
---|
| 1460 | +#define RS1_RX_EVM_DUMP 0XBF4 |
---|
| 1461 | +#define RS2_RX_EVM_DUMP 0XBF5 |
---|
| 1462 | +#define RA_RX_SNR_DUMP 0XBF6 |
---|
| 1463 | +#define RB_RX_SNR_DUMP 0XBF7 |
---|
| 1464 | +#define RA_CFO_SHORT_DUMP 0XBF8 |
---|
| 1465 | +#define RB_CFO_SHORT_DUMP 0XBFA |
---|
| 1466 | +#define RA_CFO_LONG_DUMP 0XBEC |
---|
| 1467 | +#define RB_CFO_LONG_DUMP 0XBEE |
---|
1490 | 1468 | |
---|
1491 | 1469 | /*Page C*/ |
---|
1492 | 1470 | #define ROFDM0_LSTF 0xc00 |
---|