GNU Linux-libre 4.14.266-gnu1
[releases.git] / drivers / staging / rtlwifi / phydm / phydm_precomp.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2016  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 __ODM_PRECOMP_H__
27 #define __ODM_PRECOMP_H__
28
29 #include "phydm_types.h"
30
31 /* 2 Config Flags and Structs - defined by each ODM type */
32
33 #include "../wifi.h"
34 #include "rtl_phydm.h"
35
36 /* 2 OutSrc Header Files */
37
38 #include "phydm.h"
39 #include "phydm_hwconfig.h"
40 #include "phydm_debug.h"
41 #include "phydm_regdefine11ac.h"
42 #include "phydm_regdefine11n.h"
43 #include "phydm_interface.h"
44 #include "phydm_reg.h"
45
46 #include "phydm_adc_sampling.h"
47
48 /* JJ ADD 20161014 */
49
50 #include "../halmac/halmac_reg2.h"
51
52 #define LDPC_HT_ENABLE_RX BIT(0)
53 #define LDPC_HT_ENABLE_TX BIT(1)
54 #define LDPC_HT_TEST_TX_ENABLE BIT(2)
55 #define LDPC_HT_CAP_TX BIT(3)
56
57 #define STBC_HT_ENABLE_RX BIT(0)
58 #define STBC_HT_ENABLE_TX BIT(1)
59 #define STBC_HT_TEST_TX_ENABLE BIT(2)
60 #define STBC_HT_CAP_TX BIT(3)
61
62 #define LDPC_VHT_ENABLE_RX BIT(0)
63 #define LDPC_VHT_ENABLE_TX BIT(1)
64 #define LDPC_VHT_TEST_TX_ENABLE BIT(2)
65 #define LDPC_VHT_CAP_TX BIT(3)
66
67 #define STBC_VHT_ENABLE_RX BIT(0)
68 #define STBC_VHT_ENABLE_TX BIT(1)
69 #define STBC_VHT_TEST_TX_ENABLE BIT(2)
70 #define STBC_VHT_CAP_TX BIT(3)
71
72 #include "rtl8822b/halhwimg8822b_mac.h"
73 #include "rtl8822b/halhwimg8822b_rf.h"
74 #include "rtl8822b/halhwimg8822b_bb.h"
75 #include "rtl8822b/phydm_regconfig8822b.h"
76 #include "rtl8822b/halphyrf_8822b.h"
77 #include "rtl8822b/phydm_rtl8822b.h"
78 #include "rtl8822b/phydm_hal_api8822b.h"
79 #include "rtl8822b/version_rtl8822b.h"
80
81 #include "../halmac/halmac_reg_8822b.h"
82
83 /* JJ ADD 20161014 */
84
85 #endif /* __ODM_PRECOMP_H__ */