Path: blob/master/ALFA-W1F1/RTL8814AU/hal/phydm/phydm_features_win.h
1307 views
/******************************************************************************1*2* Copyright(c) 2007 - 2017 Realtek Corporation.3*4* This program is free software; you can redistribute it and/or modify it5* under the terms of version 2 of the GNU General Public License as6* published by the Free Software Foundation.7*8* This program is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13*****************************************************************************/1415#ifndef __PHYDM_FEATURES_WIN_H__16#define __PHYDM_FEATURES_WIN_H__1718#if (RTL8814A_SUPPORT || RTL8821C_SUPPORT || RTL8822B_SUPPORT ||\19RTL8197F_SUPPORT || RTL8192F_SUPPORT || RTL8198F_SUPPORT ||\20RTL8822C_SUPPORT || RTL8814B_SUPPORT)21#define PHYDM_LA_MODE_SUPPORT 122#else23#define PHYDM_LA_MODE_SUPPORT 024#endif2526#if (RTL8822B_SUPPORT || RTL8812A_SUPPORT || RTL8197F_SUPPORT ||\27RTL8192F_SUPPORT)28#define DYN_ANT_WEIGHTING_SUPPORT29#endif3031#if (RTL8822B_SUPPORT || RTL8821C_SUPPORT)32#define FAHM_SUPPORT33#endif34#define NHM_SUPPORT35#define CLM_SUPPORT3637#if (RTL8822C_SUPPORT)38#define NHM_DYM_PW_TH_SUPPORT39#endif4041#if (RTL8822C_SUPPORT)42/*#define PHYDM_PHYSTAUS_AUTO_SWITCH*/43#endif4445/*#define PHYDM_TDMA_DIG_SUPPORT*/4647#if (RTL8814B_SUPPORT)48/*#define PHYDM_TDMA_DIG_SUPPORT*/49#ifdef PHYDM_TDMA_DIG_SUPPORT50/*#define IS_USE_NEW_TDMA*/ /*new tdma dig test*/51#endif52#endif5354#if (RTL8197F_SUPPORT || RTL8822B_SUPPORT || RTL8814B_SUPPORT)55/*#define PHYDM_LNA_SAT_CHK_SUPPORT*/56#ifdef PHYDM_LNA_SAT_CHK_SUPPORT5758#if (RTL8197F_SUPPORT)59/*#define PHYDM_LNA_SAT_CHK_SUPPORT_TYPE1*/60#endif6162#if (RTL8822B_SUPPORT)63/*#define PHYDM_LNA_SAT_CHK_TYPE2*/64#endif6566#if (RTL8814B_SUPPORT)67/*#define PHYDM_LNA_SAT_CHK_TYPE1*/68#endif69#endif70#endif7172#if (RTL8822B_SUPPORT || RTL8710B_SUPPORT || RTL8723D_SUPPORT ||\73RTL8192F_SUPPORT)74#define PHYDM_POWER_TRAINING_SUPPORT75#endif7677#if (RTL8822C_SUPPORT || RTL8814B_SUPPORT)78#define PHYDM_PMAC_TX_SETTING_SUPPORT79#endif8081#if (RTL8822C_SUPPORT || RTL8814B_SUPPORT)82#define PHYDM_MP_SUPPORT83#endif8485#if (RTL8822C_SUPPORT)86#define PHYDM_CCK_RX_PATHDIV_SUPPORT87#endif8889#if (RTL8822B_SUPPORT)90#define PHYDM_TXA_CALIBRATION91#endif9293#if (RTL8188E_SUPPORT || RTL8192E_SUPPORT)94#define PHYDM_PRIMARY_CCA95#endif9697#if (RTL8188F_SUPPORT || RTL8710B_SUPPORT || RTL8821C_SUPPORT ||\98RTL8822B_SUPPORT || RTL8192F_SUPPORT)99#define PHYDM_DC_CANCELLATION100#endif101102#if (RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8192F_SUPPORT)103#define CONFIG_ADAPTIVE_SOML104#endif105106#if (RTL8192F_SUPPORT)107#define CONFIG_8912F_SPUR_CALIBRATION108#endif109110/*Antenna Diversity*/111#define CONFIG_PHYDM_ANTENNA_DIVERSITY112#ifdef CONFIG_PHYDM_ANTENNA_DIVERSITY113114#if (RTL8723B_SUPPORT || RTL8821A_SUPPORT || RTL8188F_SUPPORT ||\115RTL8821C_SUPPORT || RTL8723D_SUPPORT)116#define CONFIG_S0S1_SW_ANTENNA_DIVERSITY117#endif118119#if (RTL8822B_SUPPORT)120/*#define ODM_EVM_ENHANCE_ANTDIV*/121/*#define CONFIG_2T3R_ANTENNA*/122/*#define CONFIG_2T4R_ANTENNA*/123#endif124125/* --[SmtAnt]-----------------------------------------*/126#if (RTL8821A_SUPPORT)127/*#define CONFIG_HL_SMART_ANTENNA_TYPE1*/128#define CONFIG_FAT_PATCH129#endif130131#if (RTL8822B_SUPPORT)132/*#define CONFIG_HL_SMART_ANTENNA_TYPE2*/133#endif134135#if (defined(CONFIG_HL_SMART_ANTENNA_TYPE1) || defined(CONFIG_HL_SMART_ANTENNA_TYPE2))136#define CONFIG_HL_SMART_ANTENNA137#endif138139/* --------------------------------------------------*/140141#endif142143#if (RTL8822B_SUPPORT || RTL8822C_SUPPORT || RTL8192F_SUPPORT)144#define CONFIG_PATH_DIVERSITY145#endif146147/*[SmartAntenna]*/148#define CONFIG_SMART_ANTENNA149#ifdef CONFIG_SMART_ANTENNA150/*#define CONFIG_CUMITEK_SMART_ANTENNA*/151#endif152/* --------------------------------------------------*/153154#if (RTL8188E_SUPPORT || RTL8192E_SUPPORT)155#define CONFIG_RECEIVER_BLOCKING156#endif157158#if (RTL8812A_SUPPORT || RTL8821A_SUPPORT || RTL8881A_SUPPORT ||\159RTL8192E_SUPPORT || RTL8723B_SUPPORT)160#define CONFIG_RA_FW_DBG_CODE161#endif162163/* #ifdef CONFIG_SUPPORT_DYNAMIC_TXPWR */164#define CONFIG_DYNAMIC_TX_TWR165/* #endif */166#define CONFIG_PSD_TOOL167#define PHYDM_SUPPORT_ADAPTIVITY168#define PHYDM_SUPPORT_CCKPD169/*#define CONFIG_RA_DYNAMIC_RTY_LIMIT*/170#define CONFIG_ANT_DETECTION171#define CONFIG_BB_TXBF_API172#define ODM_CONFIG_BT_COEXIST173#define CONFIG_PHYDM_DFS_MASTER174#define PHYDM_SUPPORT_RSSI_MONITOR175#define PHYDM_AUTO_DEGBUG176#define CONFIG_PHYDM_DEBUG_FUNCTION177#define CFG_DIG_DAMPING_CHK178179#ifdef PHYDM_BEAMFORMING_SUPPORT180#if (RTL8812A_SUPPORT || RTL8821A_SUPPORT || RTL8192E_SUPPORT ||\181RTL8814A_SUPPORT || RTL8881A_SUPPORT)182#define PHYDM_BEAMFORMING_VERSION1183#endif184#if (RTL8192F_SUPPORT || RTL8195B_SUPPORT || RTL8821C_SUPPORT ||\185RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8198F_SUPPORT ||\186RTL8822C_SUPPORT || RTL8814B_SUPPORT)187#define DRIVER_BEAMFORMING_VERSION2188#endif189#endif190191#if (RTL8822B_SUPPORT || RTL8192F_SUPPORT)192/*#define CONFIG_DIRECTIONAL_BF*/193#endif194195#if (RTL8822C_SUPPORT)196#define CONFIG_MU_RSOML197#endif198199#endif200201202