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_H__ 27 #define __PHYDM_FEATURES_H__ 28 29 #define CONFIG_RUN_IN_DRV 30 #define ODM_DC_CANCELLATION_SUPPORT (ODM_RTL8188F | \ 31 ODM_RTL8710B | \ 32 ODM_RTL8192F | \ 33 ODM_RTL8821C | \ 34 ODM_RTL8822B | \ 35 ODM_RTL8721D | \ 36 ODM_RTL8723D | \ 37 ODM_RTL8710C) 38 #define ODM_RECEIVER_BLOCKING_SUPPORT (ODM_RTL8188E | ODM_RTL8192E) 39 #define ODM_DYM_BW_INDICATION_SUPPORT (ODM_RTL8821C | \ 40 ODM_RTL8822B | \ 41 ODM_RTL8822C) 42 43 /*@20170103 YuChen add for FW API*/ 44 #define PHYDM_FW_API_ENABLE_8822B 1 45 #define PHYDM_FW_API_FUNC_ENABLE_8822B 1 46 #define PHYDM_FW_API_ENABLE_8821C 1 47 #define PHYDM_FW_API_FUNC_ENABLE_8821C 1 48 #define PHYDM_FW_API_ENABLE_8195B 1 49 #define PHYDM_FW_API_FUNC_ENABLE_8195B 1 50 #define PHYDM_FW_API_ENABLE_8198F 1 51 #define PHYDM_FW_API_FUNC_ENABLE_8198F 1 52 #define PHYDM_FW_API_ENABLE_8822C 1 53 #define PHYDM_FW_API_FUNC_ENABLE_8822C 1 54 #define PHYDM_FW_API_ENABLE_8814B 1 55 #define PHYDM_FW_API_FUNC_ENABLE_8814B 1 56 #define PHYDM_FW_API_ENABLE_8812F 1 57 #define PHYDM_FW_API_FUNC_ENABLE_8812F 1 58 #define PHYDM_FW_API_ENABLE_8197G 1 59 #define PHYDM_FW_API_FUNC_ENABLE_8197G 1 60 61 #define CONFIG_POWERSAVING 0 62 63 #ifdef BEAMFORMING_SUPPORT 64 #if (BEAMFORMING_SUPPORT) 65 #define PHYDM_BEAMFORMING_SUPPORT 66 #endif 67 #endif 68 69 #if (DM_ODM_SUPPORT_TYPE == ODM_WIN) 70 #include "phydm_features_win.h" 71 #elif (DM_ODM_SUPPORT_TYPE == ODM_CE) 72 #include "phydm_features_ce.h" 73 /*@#include "phydm_features_ce2_kernel.h"*/ 74 #elif (DM_ODM_SUPPORT_TYPE == ODM_AP) 75 #include "phydm_features_ap.h" 76 #elif (DM_ODM_SUPPORT_TYPE == ODM_IOT) 77 #include "phydm_features_iot.h" 78 #endif 79 80 #endif 81