GNU Linux-libre 4.19.245-gnu1
[releases.git] / drivers / staging / rtlwifi / phydm / phydm_precomp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2016  Realtek Corporation.
5  *
6  * Contact Information:
7  * wlanfae <wlanfae@realtek.com>
8  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
9  * Hsinchu 300, Taiwan.
10  *
11  * Larry Finger <Larry.Finger@lwfinger.net>
12  *
13  *****************************************************************************/
14
15 #ifndef __ODM_PRECOMP_H__
16 #define __ODM_PRECOMP_H__
17
18 #include "phydm_types.h"
19
20 /* 2 Config Flags and Structs - defined by each ODM type */
21
22 #include "../wifi.h"
23 #include "rtl_phydm.h"
24
25 /* 2 OutSrc Header Files */
26
27 #include "phydm.h"
28 #include "phydm_hwconfig.h"
29 #include "phydm_debug.h"
30 #include "phydm_regdefine11ac.h"
31 #include "phydm_regdefine11n.h"
32 #include "phydm_interface.h"
33 #include "phydm_reg.h"
34
35 #include "phydm_adc_sampling.h"
36
37 /* JJ ADD 20161014 */
38
39 #include "../halmac/halmac_reg2.h"
40
41 #define LDPC_HT_ENABLE_RX BIT(0)
42 #define LDPC_HT_ENABLE_TX BIT(1)
43 #define LDPC_HT_TEST_TX_ENABLE BIT(2)
44 #define LDPC_HT_CAP_TX BIT(3)
45
46 #define STBC_HT_ENABLE_RX BIT(0)
47 #define STBC_HT_ENABLE_TX BIT(1)
48 #define STBC_HT_TEST_TX_ENABLE BIT(2)
49 #define STBC_HT_CAP_TX BIT(3)
50
51 #define LDPC_VHT_ENABLE_RX BIT(0)
52 #define LDPC_VHT_ENABLE_TX BIT(1)
53 #define LDPC_VHT_TEST_TX_ENABLE BIT(2)
54 #define LDPC_VHT_CAP_TX BIT(3)
55
56 #define STBC_VHT_ENABLE_RX BIT(0)
57 #define STBC_VHT_ENABLE_TX BIT(1)
58 #define STBC_VHT_TEST_TX_ENABLE BIT(2)
59 #define STBC_VHT_CAP_TX BIT(3)
60
61 #include "rtl8822b/halhwimg8822b_mac.h"
62 #include "rtl8822b/halhwimg8822b_rf.h"
63 #include "rtl8822b/halhwimg8822b_bb.h"
64 #include "rtl8822b/phydm_regconfig8822b.h"
65 #include "rtl8822b/halphyrf_8822b.h"
66 #include "rtl8822b/phydm_rtl8822b.h"
67 #include "rtl8822b/phydm_hal_api8822b.h"
68 #include "rtl8822b/version_rtl8822b.h"
69
70 #include "../halmac/halmac_reg_8822b.h"
71
72 /* JJ ADD 20161014 */
73
74 #endif /* __ODM_PRECOMP_H__ */