1 /****************************************************************************** 2 * 3 * Copyright(c) 2007 - 2017 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 *****************************************************************************/ 25 26 #ifndef __PHYDM_FEATURES_CE_H__ 27 #define __PHYDM_FEATURES_CE_H__ 28 29 #define PHYDM_LA_MODE_SUPPORT 0 30 31 #if (RTL8822B_SUPPORT || RTL8812A_SUPPORT || RTL8197F_SUPPORT ||\ 32 RTL8192F_SUPPORT) 33 #define DYN_ANT_WEIGHTING_SUPPORT 34 #endif 35 36 #if (RTL8822B_SUPPORT || RTL8821C_SUPPORT) 37 #define FAHM_SUPPORT 38 #endif 39 #define NHM_SUPPORT 40 #define CLM_SUPPORT 41 42 #if (RTL8822B_SUPPORT) 43 #define PHYDM_TXA_CALIBRATION 44 #endif 45 46 #if (RTL8188F_SUPPORT || RTL8710B_SUPPORT || RTL8821C_SUPPORT ||\ 47 RTL8822B_SUPPORT || RTL8192F_SUPPORT) 48 #define PHYDM_DC_CANCELLATION 49 #endif 50 51 #if (RTL8192F_SUPPORT == 1) 52 /*#define CONFIG_8912F_SPUR_CALIBRATION*/ 53 #endif 54 55 #if (RTL8822B_SUPPORT == 1) 56 /* #define CONFIG_8822B_SPUR_CALIBRATION */ 57 #endif 58 59 #define PHYDM_SUPPORT_CCKPD 60 #define PHYDM_SUPPORT_ADAPTIVITY 61 62 #ifdef CONFIG_DFS_MASTER 63 #define CONFIG_PHYDM_DFS_MASTER 64 #endif 65 66 #define CONFIG_BB_TXBF_API 67 #define CONFIG_PHYDM_DEBUG_FUNCTION 68 69 #ifdef CONFIG_BT_COEXIST 70 #define ODM_CONFIG_BT_COEXIST 71 #endif 72 #define PHYDM_SUPPORT_RSSI_MONITOR 73 #define CFG_DIG_DAMPING_CHK 74 75 76 #ifdef PHYDM_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 81 #endif 82 #endif 83 84 #endif 85