Path: blob/master/ALFA-W1F1/RTL8814AU/hal/phydm/phydm_features_iot.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* The full GNU General Public License is included in this distribution in the14* file called LICENSE.15*16* Contact Information:17* wlanfae <[email protected]>18* Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,19* Hsinchu 300, Taiwan.20*21* Larry Finger <[email protected]>22*23*****************************************************************************/2425#ifndef __PHYDM_FEATURES_IOT_H__26#define __PHYDM_FEATURES_IOT_H__2728#if (RTL8814A_SUPPORT || RTL8821C_SUPPORT || RTL8822B_SUPPORT ||\29RTL8197F_SUPPORT || RTL8192F_SUPPORT || RTL8198F_SUPPORT ||\30RTL8822C_SUPPORT || RTL8195B_SUPPORT)31#define PHYDM_LA_MODE_SUPPORT 132#else33#define PHYDM_LA_MODE_SUPPORT 034#endif3536#if (RTL8822B_SUPPORT || RTL8812A_SUPPORT || RTL8197F_SUPPORT ||\37RTL8192F_SUPPORT)38#define DYN_ANT_WEIGHTING_SUPPORT39#endif4041#if (RTL8822B_SUPPORT || RTL8821C_SUPPORT)42#define FAHM_SUPPORT43#endif44#define NHM_SUPPORT45#define CLM_SUPPORT4647/*#define PHYDM_TDMA_DIG_SUPPORT*/4849#if (RTL8197F_SUPPORT || RTL8822B_SUPPORT)50/*#define PHYDM_LNA_SAT_CHK_SUPPORT*/51#ifdef PHYDM_LNA_SAT_CHK_SUPPORT52#if (RTL8197F_SUPPORT)53/*#define PHYDM_LNA_SAT_CHK_SUPPORT_TYPE1*/54#endif5556#if (RTL8822B_SUPPORT)57/*#define PHYDM_LNA_SAT_CHK_TYPE2*/58#endif59#endif60#endif6162#if (RTL8822B_SUPPORT || RTL8721D_SUPPORT || RTL8710C_SUPPORT)63#define PHYDM_POWER_TRAINING_SUPPORT64#endif6566#if (RTL8822C_SUPPORT)67/* #define PHYDM_PMAC_TX_SETTING_SUPPORT */68#endif6970#if (RTL8822C_SUPPORT)71/* #define PHYDM_MP_SUPPORT */72#endif7374#if (RTL8822B_SUPPORT)75#define PHYDM_TXA_CALIBRATION76#endif7778#if (RTL8188E_SUPPORT)79#define PHYDM_PRIMARY_CCA80#endif8182#if (RTL8188F_SUPPORT || RTL8710B_SUPPORT || RTL8821C_SUPPORT ||\83RTL8822B_SUPPORT || RTL8721D_SUPPORT || RTL8710C_SUPPORT)84#define PHYDM_DC_CANCELLATION85#endif8687#if (RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8192F_SUPPORT)88#define CONFIG_ADAPTIVE_SOML89#endif9091#if (RTL8822B_SUPPORT)92/*#define CONFIG_DYNAMIC_RX_PATH*/93#endif9495#if (RTL8822B_SUPPORT == 1)96/* #define CONFIG_8822B_SPUR_CALIBRATION */97#endif9899#if (RTL8188E_SUPPORT || RTL8192E_SUPPORT)100#define CONFIG_RECEIVER_BLOCKING101#endif102103#ifdef CONFIG_SUPPORT_DYNAMIC_TXPWR104#define CONFIG_DYNAMIC_TX_TWR105#endif106#define PHYDM_SUPPORT_CCKPD107#define PHYDM_SUPPORT_ADAPTIVITY108109/*Antenna Diversity*/110#ifdef CONFIG_ANTENNA_DIVERSITY111#define CONFIG_PHYDM_ANTENNA_DIVERSITY112113#ifdef CONFIG_PHYDM_ANTENNA_DIVERSITY114115#if (RTL8723B_SUPPORT || RTL8821A_SUPPORT ||\116RTL8188F_SUPPORT || RTL8821C_SUPPORT)117#define CONFIG_S0S1_SW_ANTENNA_DIVERSITY118#endif119120#if (RTL8821A_SUPPORT)121/*#define CONFIG_HL_SMART_ANTENNA_TYPE1*/122#endif123124#if (RTL8822B_SUPPORT)125/*#define CONFIG_HL_SMART_ANTENNA_TYPE2*/126#endif127#endif128#endif129130/*[SmartAntenna]*/131/*#define CONFIG_SMART_ANTENNA*/132#ifdef CONFIG_SMART_ANTENNA133/*#define CONFIG_CUMITEK_SMART_ANTENNA*/134#endif135/* --------------------------------------------------*/136137#ifdef CONFIG_DFS_MASTER138#define CONFIG_PHYDM_DFS_MASTER139#endif140141#if (RTL8812A_SUPPORT || RTL8821A_SUPPORT || RTL8881A_SUPPORT ||\142RTL8192E_SUPPORT || RTL8723B_SUPPORT)143/*#define CONFIG_RA_FW_DBG_CODE*/144#endif145146#define CONFIG_PSD_TOOL147/*#define CONFIG_RA_DBG_CMD*/148/*#define CONFIG_ANT_DETECTION*/149/*#define CONFIG_PATH_DIVERSITY*/150/*#define CONFIG_RA_DYNAMIC_RTY_LIMIT*/151//#define CONFIG_BB_TXBF_API152#define CONFIG_PHYDM_DEBUG_FUNCTION153154#ifdef CONFIG_BT_COEXIST155#define ODM_CONFIG_BT_COEXIST156#endif157#define PHYDM_SUPPORT_RSSI_MONITOR158/*#define PHYDM_AUTO_DEGBUG*/159#define CFG_DIG_DAMPING_CHK160161#ifdef PHYDM_BEAMFORMING_SUPPORT162#if (RTL8192F_SUPPORT || RTL8195B_SUPPORT || RTL8821C_SUPPORT ||\163RTL8822B_SUPPORT || RTL8197F_SUPPORT || RTL8198F_SUPPORT ||\164RTL8822C_SUPPORT || RTL8814B_SUPPORT)165#define DRIVER_BEAMFORMING_VERSION2166#define CONFIG_BB_TXBF_API167#endif168#endif169170#endif171172173