| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- /******************************************************************************
- *
- * Copyright(c) 2007 - 2017 Realtek Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- *****************************************************************************/
- #ifndef __PHYDM_FEATURES_WIN_H__
- #define __PHYDM_FEATURES_WIN_H__
- #if (RTL8814A_SUPPORT || RTL8821C_SUPPORT || RTL8822B_SUPPORT ||\
- RTL8197F_SUPPORT || RTL8192F_SUPPORT || RTL8198F_SUPPORT ||\
- RTL8822C_SUPPORT)
- #define PHYDM_LA_MODE_SUPPORT 1
- #else
- #define PHYDM_LA_MODE_SUPPORT 0
- #endif
- #if (RTL8822B_SUPPORT || RTL8812A_SUPPORT || RTL8197F_SUPPORT ||\
- RTL8192F_SUPPORT)
- #define DYN_ANT_WEIGHTING_SUPPORT
- #endif
- #if (RTL8822B_SUPPORT || RTL8821C_SUPPORT)
- #define FAHM_SUPPORT
- #endif
- #define NHM_SUPPORT
- #define CLM_SUPPORT
- #if (RTL8822B_SUPPORT)
- /*#define PHYDM_PHYSTAUS_SMP_MODE*/
- #endif
- /*#define PHYDM_TDMA_DIG_SUPPORT*/
- #if (RTL8814B_SUPPORT || RTL8822C_SUPPORT)
- /*#define PHYDM_TDMA_DIG_SUPPORT*/
- #ifdef PHYDM_TDMA_DIG_SUPPORT
- /*#define IS_USE_NEW_TDMA*/ /*new tdma dig test*/
- #endif
- #endif
- #if (RTL8197F_SUPPORT || RTL8822B_SUPPORT || RTL8814B_SUPPORT)
- /*#define PHYDM_LNA_SAT_CHK_SUPPORT*/
- #ifdef PHYDM_LNA_SAT_CHK_SUPPORT
- #if (RTL8197F_SUPPORT)
- /*#define PHYDM_LNA_SAT_CHK_SUPPORT_TYPE1*/
- #endif
- #if (RTL8822B_SUPPORT)
- /*#define PHYDM_LNA_SAT_CHK_TYPE2*/
- #endif
- #if (RTL8814B_SUPPORT)
- /*#define PHYDM_LNA_SAT_CHK_TYPE1*/
- #endif
- #endif
- #endif
- #if (RTL8822B_SUPPORT || RTL8710B_SUPPORT || RTL8723D_SUPPORT ||\
- RTL8192F_SUPPORT)
- #define PHYDM_POWER_TRAINING_SUPPORT
- #endif
- #if (RTL8822C_SUPPORT)
- #define PHYDM_PMAC_TX_SETTING_SUPPORT
- #endif
- #if (RTL8822C_SUPPORT)
- #define PHYDM_MP_SUPPORT
- #endif
- #if (RTL8822B_SUPPORT)
- #define PHYDM_TXA_CALIBRATION
- #endif
- #if (RTL8188E_SUPPORT || RTL8192E_SUPPORT)
- #define PHYDM_PRIMARY_CCA
- #endif
- #if (RTL8188F_SUPPORT || RTL8710B_SUPPORT || RTL8821C_SUPPORT ||\
- RTL8822B_SUPPORT || RTL8192F_SUPPORT)
- #define PHYDM_DC_CANCELLATION
- #endif
- #if (RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8192F_SUPPORT)
- #define CONFIG_ADAPTIVE_SOML
- #endif
- #if (RTL8192F_SUPPORT == 1)
- #define CONFIG_8912F_SPUR_CALIBRATION
- #endif
- #if (RTL8822B_SUPPORT == 1)
- /* #define CONFIG_8822B_SPUR_CALIBRATION */
- #endif
- /*Antenna Diversity*/
- #define CONFIG_PHYDM_ANTENNA_DIVERSITY
- #ifdef CONFIG_PHYDM_ANTENNA_DIVERSITY
- #if (RTL8723B_SUPPORT || RTL8821A_SUPPORT || RTL8188F_SUPPORT ||\
- RTL8821C_SUPPORT)
- #define CONFIG_S0S1_SW_ANTENNA_DIVERSITY
- #endif
- #if (RTL8822B_SUPPORT)
- /*#define ODM_EVM_ENHANCE_ANTDIV*/
- /*#define CONFIG_2T3R_ANTENNA*/
- /*#define CONFIG_2T4R_ANTENNA*/
- #endif
- /* --[SmtAnt]-----------------------------------------*/
- #if (RTL8821A_SUPPORT)
- /*#define CONFIG_HL_SMART_ANTENNA_TYPE1*/
- #define CONFIG_FAT_PATCH
- #endif
-
- #if (RTL8822B_SUPPORT)
- /*#define CONFIG_HL_SMART_ANTENNA_TYPE2*/
- #endif
-
- #if (defined(CONFIG_HL_SMART_ANTENNA_TYPE1) || defined(CONFIG_HL_SMART_ANTENNA_TYPE2))
- #define CONFIG_HL_SMART_ANTENNA
- #endif
- /* --------------------------------------------------*/
- #endif
- /*[SmartAntenna]*/
- #define CONFIG_SMART_ANTENNA
- #ifdef CONFIG_SMART_ANTENNA
- /*#define CONFIG_CUMITEK_SMART_ANTENNA*/
- #endif
- /* --------------------------------------------------*/
- #if (RTL8188E_SUPPORT || RTL8192E_SUPPORT)
- #define CONFIG_RECEIVER_BLOCKING
- #endif
- #if (RTL8812A_SUPPORT || RTL8821A_SUPPORT || RTL8881A_SUPPORT ||\
- RTL8192E_SUPPORT || RTL8723B_SUPPORT)
- #define CONFIG_RA_FW_DBG_CODE
- #endif
- /* #ifdef CONFIG_SUPPORT_DYNAMIC_TXPWR */
- #define CONFIG_DYNAMIC_TX_TWR
- /* #endif */
- #define CONFIG_PSD_TOOL
- #define PHYDM_SUPPORT_ADAPTIVITY
- #define PHYDM_SUPPORT_CCKPD
- /*#define CONFIG_PATH_DIVERSITY*/
- /*#define CONFIG_RA_DYNAMIC_RTY_LIMIT*/
- #define CONFIG_ANT_DETECTION
- #define CONFIG_BB_TXBF_API
- #define ODM_CONFIG_BT_COEXIST
- #define CONFIG_PHYDM_DFS_MASTER
- #define PHYDM_SUPPORT_RSSI_MONITOR
- #define PHYDM_AUTO_DEGBUG
- #define CONFIG_PHYDM_DEBUG_FUNCTION
- #define CFG_DIG_DAMPING_CHK
- #ifdef BEAMFORMING_SUPPORT
- #if (RTL8812A_SUPPORT || RTL8821A_SUPPORT || RTL8192E_SUPPORT ||\
- RTL8814A_SUPPORT || RTL8881A_SUPPORT)
- #define PHYDM_BEAMFORMING_VERSION1
- #endif
- #if (RTL8192F_SUPPORT || RTL8195B_SUPPORT || RTL8821C_SUPPORT ||\
- RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8198F_SUPPORT ||\
- RTL8822C_SUPPORT || RTL8814B_SUPPORT)
- #define DRIVER_BEAMFORMING_VERSION2
- #endif
- #endif
- #endif
|