• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #define PHYDM_FW_API_ENABLE_8723F 1
61 #define PHYDM_FW_API_FUNC_ENABLE_8723F 1
62 
63 #define CONFIG_POWERSAVING 0
64 
65 #ifdef BEAMFORMING_SUPPORT
66 #if (BEAMFORMING_SUPPORT)
67 	#define PHYDM_BEAMFORMING_SUPPORT
68 #endif
69 #endif
70 
71 #if (DM_ODM_SUPPORT_TYPE == ODM_WIN)
72 	#include	"phydm_features_win.h"
73 #elif (DM_ODM_SUPPORT_TYPE == ODM_CE)
74 	#include	"phydm_features_ce.h"
75 	/*@#include	"phydm_features_ce2_kernel.h"*/
76 #elif (DM_ODM_SUPPORT_TYPE == ODM_AP)
77 	#include	"phydm_features_ap.h"
78 #elif (DM_ODM_SUPPORT_TYPE == ODM_IOT)
79 	#include	"phydm_features_iot.h"
80 #endif
81 
82 #endif
83