1 /******************************************************************************
3 * Copyright(c) 2007 - 2017 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
26 #ifndef __PHYDM_FEATURES_CE_H__
27 #define __PHYDM_FEATURES_CE_H__
29 #define PHYDM_LA_MODE_SUPPORT 0
31 #if (RTL8822B_SUPPORT || RTL8812A_SUPPORT || RTL8197F_SUPPORT ||\
33 #define DYN_ANT_WEIGHTING_SUPPORT
36 #if (RTL8822B_SUPPORT || RTL8821C_SUPPORT)
42 #if (RTL8822B_SUPPORT)
43 #define PHYDM_TXA_CALIBRATION
46 #if (RTL8188F_SUPPORT || RTL8710B_SUPPORT || RTL8821C_SUPPORT ||\
47 RTL8822B_SUPPORT || RTL8192F_SUPPORT)
48 #define PHYDM_DC_CANCELLATION
51 #if (RTL8192F_SUPPORT == 1)
52 /*#define CONFIG_8912F_SPUR_CALIBRATION*/
55 #if (RTL8822B_SUPPORT == 1)
56 /* #define CONFIG_8822B_SPUR_CALIBRATION */
59 #define PHYDM_SUPPORT_CCKPD
60 #define PHYDM_SUPPORT_ADAPTIVITY
62 #ifdef CONFIG_DFS_MASTER
63 #define CONFIG_PHYDM_DFS_MASTER
66 #define CONFIG_BB_TXBF_API
67 #define CONFIG_PHYDM_DEBUG_FUNCTION
69 #ifdef CONFIG_BT_COEXIST
70 #define ODM_CONFIG_BT_COEXIST
72 #define PHYDM_SUPPORT_RSSI_MONITOR
73 #define CFG_DIG_DAMPING_CHK
76 #ifdef BEAMFORMING_SUPPORT
77 #if (RTL8192F_SUPPORT || RTL8195B_SUPPORT || RTL8821C_SUPPORT ||\
78 RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8198F_SUPPORT ||\
79 RTL8822C_SUPPORT || RTL8814B_SUPPORT)
80 #define DRIVER_BEAMFORMING_VERSION2