support different wifi bt chip auto compatible
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / combo_mt66xx / mt6628 / wlan / include / p2p_precomp.h
1 /*
2 ** $Id: //Department/DaVinci/TRUNK/WiFi_P2P_Driver/include/p2p_precomp.h#1 $
3 */
4
5 /*! \file   p2p_precomp.h
6     \brief  Collection of most compiler flags for p2p driver are described here.
7
8     In this file we collect all compiler flags and detail the p2p driver behavior if
9     enable/disable such switch or adjust numeric parameters.
10 */
11
12
13
14 #ifndef _P2P_PRECOMP_H
15 #define _P2P_PRECOMP_H
16
17 /*******************************************************************************
18 *                         C O M P I L E R   F L A G S
19 ********************************************************************************
20 */
21
22 /*******************************************************************************
23 *                    E X T E R N A L   R E F E R E N C E S
24 ********************************************************************************
25 */
26 #include "gl_os.h" // Include "config.h"
27
28 #include "gl_p2p_os.h"
29
30 #include "debug.h"
31
32 #include "link.h"
33 #include "queue.h"
34
35
36 /*------------------------------------------------------------------------------
37  * .\include\mgmt
38  *------------------------------------------------------------------------------
39  */
40 #include "wlan_typedef.h"
41
42
43 #include "mac.h"
44
45 /* Dependency:  mac.h (MAC_ADDR_LEN) */
46 #include "wlan_def.h"
47
48 #include "roaming_fsm.h"
49
50
51 /*------------------------------------------------------------------------------
52  * .\include\nic
53  *------------------------------------------------------------------------------
54  */
55 /* Dependency:  wlan_def.h (ENUM_NETWORK_TYPE_T) */
56 #include "cmd_buf.h"
57
58
59 /* Dependency:  mac.h (MAC_ADDR_LEN) */
60 #include "nic_cmd_event.h"
61
62
63 /* Dependency:  nic_cmd_event.h (P_EVENT_CONNECTION_STATUS) */
64 #include "nic.h"
65
66 #include "nic_init_cmd_event.h"
67
68 #include "hif_rx.h"
69 #include "hif_tx.h"
70
71 #include "nic_tx.h"
72
73 /* Dependency:  hif_rx.h (P_HIF_RX_HEADER_T) */
74 #include "nic_rx.h"
75
76 #include "que_mgt.h"
77
78 #if CFG_ENABLE_WIFI_DIRECT
79 #include "p2p_typedef.h"
80 #include "p2p_cmd_buf.h"
81 #include "p2p_nic_cmd_event.h"
82 #include "p2p_mac.h"
83 #include "p2p_nic.h"
84 #endif
85
86
87 /*------------------------------------------------------------------------------
88  * .\include\mgmt
89  *------------------------------------------------------------------------------
90  */
91
92 #include "hem_mbox.h"
93
94 #include "scan.h"
95 #include "bss.h"
96
97 #include "wlan_lib.h"
98 #include "wlan_oid.h"
99 #include "wlan_bow.h"
100
101 #include "wlan_p2p.h"
102
103
104
105
106 #include "hal.h"
107
108 #if defined(MT6620)
109     #include "mt6620_reg.h"
110 #elif defined(MT5931)
111     #include "mt5931_reg.h"
112 #endif
113
114 #include "rlm.h"
115 #include "rlm_domain.h"
116 #include "rlm_protection.h"
117 #include "rlm_obss.h"
118 #include "rate.h"
119
120
121 #include "aa_fsm.h"
122
123 #include "cnm_timer.h"
124
125 #if CFG_ENABLE_BT_OVER_WIFI
126 #include "bow.h"
127 #include "bow_fsm.h"
128 #endif
129
130 #include "pwr_mgt.h"
131
132
133 #include "cnm.h"
134 /* Dependency:  aa_fsm.h (ENUM_AA_STATE_T), p2p_fsm.h (WPS_ATTRI_MAX_LEN_DEVICE_NAME) */
135 #include "cnm_mem.h"
136 #include "cnm_scan.h"
137
138 #include "p2p_rlm_obss.h"
139 #include "p2p_bss.h"
140 #include "p2p.h"
141 /* Dependency:  cnm_timer.h (TIMER_T) */
142 #include "p2p_fsm.h"
143 #include "p2p_scan.h"
144 #include "p2p_state.h"
145 #include "p2p_func.h"
146 #include "p2p_rlm.h"
147 #include "p2p_assoc.h"
148 #include "p2p_ie.h"
149
150
151 #include "privacy.h"
152
153 #include "mib.h"
154
155 #include "auth.h"
156 #include "assoc.h"
157
158
159 #include "ais_fsm.h"
160
161
162 #include "adapter.h"
163
164
165 #include "que_mgt.h"
166 #include "rftest.h"
167
168
169 #if CFG_RSN_MIGRATION
170 #include "rsn.h"
171 #include "sec_fsm.h"
172 #endif
173
174 #if CFG_SUPPORT_WAPI
175 #include "wapi.h"
176 #endif
177
178 /*------------------------------------------------------------------------------
179  * NVRAM structure
180  *------------------------------------------------------------------------------
181  */
182 #include "CFG_Wifi_File.h"
183
184 #include "gl_p2p_kal.h"
185
186
187 /*******************************************************************************
188 *                              C O N S T A N T S
189 ********************************************************************************
190 */
191
192 /*******************************************************************************
193 *                             D A T A   T Y P E S
194 ********************************************************************************
195 */
196
197 /*******************************************************************************
198 *                            P U B L I C   D A T A
199 ********************************************************************************
200 */
201
202 /*******************************************************************************
203 *                           P R I V A T E   D A T A
204 ********************************************************************************
205 */
206
207 /*******************************************************************************
208 *                                 M A C R O S
209 ********************************************************************************
210 */
211
212 /*******************************************************************************
213 *                  F U N C T I O N   D E C L A R A T I O N S
214 ********************************************************************************
215 */
216
217 /*******************************************************************************
218 *                              F U N C T I O N S
219 ********************************************************************************
220 */
221
222 #endif /*_P2P_PRECOMP_H */
223
224
225