1 /******************************************************************************
3 * Copyright(c) 2007 - 2016 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
26 #ifndef __ODM_PRECOMP_H__
27 #define __ODM_PRECOMP_H__
29 #include "phydm_types.h"
31 /* 2 Config Flags and Structs - defined by each ODM type */
34 #include "rtl_phydm.h"
36 /* 2 OutSrc Header Files */
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"
46 #include "phydm_adc_sampling.h"
50 #include "../halmac/halmac_reg2.h"
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)
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)
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)
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)
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"
81 #include "../halmac/halmac_reg_8822b.h"
85 #endif /* __ODM_PRECOMP_H__ */