add rk3288 pinctrl dts code
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / mt5931_kk / drv_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 * Copyright (c) 2007 MediaTek Inc.
14 *
15 * All rights reserved. Copying, compilation, modification, distribution
16 * or any other use whatsoever of this material is strictly prohibited
17 * except in accordance with a Software License Agreement with
18 * MediaTek Inc.
19 ********************************************************************************
20 */
21
22 /*******************************************************************************
23 * LEGAL DISCLAIMER
24 *
25 * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND
26 * AGREES THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK
27 * SOFTWARE") RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE
28 * PROVIDED TO BUYER ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY
29 * DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
30 * LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
31 * PARTICULAR PURPOSE OR NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE
32 * ANY WARRANTY WHATSOEVER WITH RESPECT TO THE SOFTWARE OF ANY THIRD PARTY
33 * WHICH MAY BE USED BY, INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK
34 * SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY
35 * WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE
36 * FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S SPECIFICATION OR TO
37 * CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
38 *
39 * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
40 * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL
41 * BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT
42 * ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY
43 * BUYER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
44 *
45 * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
46 * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT
47 * OF LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING
48 * THEREOF AND RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN
49 * FRANCISCO, CA, UNDER THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE
50 * (ICC).
51 ********************************************************************************
52 */
53
54 #ifndef _P2P_PRECOMP_H
55 #define _P2P_PRECOMP_H
56
57 /*******************************************************************************
58 *                         C O M P I L E R   F L A G S
59 ********************************************************************************
60 */
61
62 /*******************************************************************************
63 *                    E X T E R N A L   R E F E R E N C E S
64 ********************************************************************************
65 */
66 #include "gl_os.h" // Include "config.h"
67
68 #include "gl_p2p_os.h"
69
70 #include "debug.h"
71
72 #include "link.h"
73 #include "queue.h"
74
75
76 /*------------------------------------------------------------------------------
77  * .\include\mgmt
78  *------------------------------------------------------------------------------
79  */
80 #include "wlan_typedef.h"
81
82
83 #include "mac.h"
84
85 /* Dependency:  mac.h (MAC_ADDR_LEN) */
86 #include "wlan_def.h"
87
88 #include "roaming_fsm.h"
89
90
91 /*------------------------------------------------------------------------------
92  * .\include\nic
93  *------------------------------------------------------------------------------
94  */
95 /* Dependency:  wlan_def.h (ENUM_NETWORK_TYPE_T) */
96 #include "cmd_buf.h"
97
98
99 /* Dependency:  mac.h (MAC_ADDR_LEN) */
100 #include "nic_cmd_event.h"
101
102
103 /* Dependency:  nic_cmd_event.h (P_EVENT_CONNECTION_STATUS) */
104 #include "nic.h"
105
106 #include "nic_init_cmd_event.h"
107
108 #include "hif_rx.h"
109 #include "hif_tx.h"
110
111 #include "nic_tx.h"
112
113 /* Dependency:  hif_rx.h (P_HIF_RX_HEADER_T) */
114 #include "nic_rx.h"
115
116 #include "que_mgt.h"
117
118 #if CFG_ENABLE_WIFI_DIRECT
119 #include "p2p_typedef.h"
120 #include "p2p_cmd_buf.h"
121 #include "p2p_nic_cmd_event.h"
122 #include "p2p_mac.h"
123 #include "p2p_nic.h"
124 #endif
125
126
127 /*------------------------------------------------------------------------------
128  * .\include\mgmt
129  *------------------------------------------------------------------------------
130  */
131
132 #include "hem_mbox.h"
133
134 #include "scan.h"
135 #include "bss.h"
136
137 #include "wlan_lib.h"
138 #include "wlan_oid.h"
139 #include "wlan_bow.h"
140
141 #include "wlan_p2p.h"
142
143
144
145
146 #include "hal.h"
147
148 #if defined(MT6620)
149     #include "mt6620_reg.h"
150 #elif defined(MT5931)
151     #include "mt5931_reg.h"
152 #endif
153
154 #include "rlm.h"
155 #include "rlm_domain.h"
156 #include "rlm_protection.h"
157 #include "rlm_obss.h"
158 #include "rate.h"
159
160
161 #include "aa_fsm.h"
162
163 #include "cnm_timer.h"
164
165 #if CFG_ENABLE_BT_OVER_WIFI
166 #include "bow.h"
167 #include "bow_fsm.h"
168 #endif
169
170 #include "pwr_mgt.h"
171
172
173 #include "cnm.h"
174 /* Dependency:  aa_fsm.h (ENUM_AA_STATE_T), p2p_fsm.h (WPS_ATTRI_MAX_LEN_DEVICE_NAME) */
175 #include "cnm_mem.h"
176 #include "cnm_scan.h"
177
178 #include "p2p_rlm_obss.h"
179 #include "p2p_bss.h"
180 #include "p2p.h"
181 /* Dependency:  cnm_timer.h (TIMER_T) */
182 #include "p2p_fsm.h"
183 #include "p2p_scan.h"
184 #include "p2p_state.h"
185 #include "p2p_func.h"
186 #include "p2p_rlm.h"
187 #include "p2p_assoc.h"
188 #include "p2p_ie.h"
189
190
191 #include "privacy.h"
192
193 #include "mib.h"
194
195 #include "auth.h"
196 #include "assoc.h"
197
198
199 #include "ais_fsm.h"
200
201
202 #include "adapter.h"
203
204
205 #include "que_mgt.h"
206 #include "rftest.h"
207
208
209 #if CFG_RSN_MIGRATION
210 #include "rsn.h"
211 #include "sec_fsm.h"
212 #endif
213
214 #if CFG_SUPPORT_WAPI
215 #include "wapi.h"
216 #endif
217
218 /*------------------------------------------------------------------------------
219  * NVRAM structure
220  *------------------------------------------------------------------------------
221  */
222 #include "CFG_Wifi_File.h"
223
224 #include "gl_p2p_kal.h"
225
226
227 /*******************************************************************************
228 *                              C O N S T A N T S
229 ********************************************************************************
230 */
231
232 /*******************************************************************************
233 *                             D A T A   T Y P E S
234 ********************************************************************************
235 */
236
237 /*******************************************************************************
238 *                            P U B L I C   D A T A
239 ********************************************************************************
240 */
241
242 /*******************************************************************************
243 *                           P R I V A T E   D A T A
244 ********************************************************************************
245 */
246
247 /*******************************************************************************
248 *                                 M A C R O S
249 ********************************************************************************
250 */
251
252 /*******************************************************************************
253 *                  F U N C T I O N   D E C L A R A T I O N S
254 ********************************************************************************
255 */
256
257 /*******************************************************************************
258 *                              F U N C T I O N S
259 ********************************************************************************
260 */
261
262 #endif /*_P2P_PRECOMP_H */
263
264
265