2 ** $Id: //Department/DaVinci/TRUNK/WiFi_P2P_Driver/include/p2p_precomp.h#1 $
5 /*! \file p2p_precomp.h
6 \brief Collection of most compiler flags for p2p driver are described here.
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.
12 /*******************************************************************************
13 * Copyright (c) 2007 MediaTek Inc.
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
19 ********************************************************************************
22 /*******************************************************************************
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.
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.
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
51 ********************************************************************************
54 #ifndef _P2P_PRECOMP_H
55 #define _P2P_PRECOMP_H
57 /*******************************************************************************
58 * C O M P I L E R F L A G S
59 ********************************************************************************
62 /*******************************************************************************
63 * E X T E R N A L R E F E R E N C E S
64 ********************************************************************************
66 #include "gl_os.h" // Include "config.h"
68 #include "gl_p2p_os.h"
76 /*------------------------------------------------------------------------------
78 *------------------------------------------------------------------------------
80 #include "wlan_typedef.h"
85 /* Dependency: mac.h (MAC_ADDR_LEN) */
88 #include "roaming_fsm.h"
91 /*------------------------------------------------------------------------------
93 *------------------------------------------------------------------------------
95 /* Dependency: wlan_def.h (ENUM_NETWORK_TYPE_T) */
99 /* Dependency: mac.h (MAC_ADDR_LEN) */
100 #include "nic_cmd_event.h"
103 /* Dependency: nic_cmd_event.h (P_EVENT_CONNECTION_STATUS) */
106 #include "nic_init_cmd_event.h"
113 /* Dependency: hif_rx.h (P_HIF_RX_HEADER_T) */
118 #if CFG_ENABLE_WIFI_DIRECT
119 #include "p2p_typedef.h"
120 #include "p2p_cmd_buf.h"
121 #include "p2p_nic_cmd_event.h"
127 /*------------------------------------------------------------------------------
129 *------------------------------------------------------------------------------
132 #include "hem_mbox.h"
137 #include "wlan_lib.h"
138 #include "wlan_oid.h"
139 #include "wlan_bow.h"
141 #include "wlan_p2p.h"
149 #include "mt6620_reg.h"
150 #elif defined(MT5931)
151 #include "mt5931_reg.h"
155 #include "rlm_domain.h"
156 #include "rlm_protection.h"
157 #include "rlm_obss.h"
163 #include "cnm_timer.h"
165 #if CFG_ENABLE_BT_OVER_WIFI
174 /* Dependency: aa_fsm.h (ENUM_AA_STATE_T), p2p_fsm.h (WPS_ATTRI_MAX_LEN_DEVICE_NAME) */
176 #include "cnm_scan.h"
178 #include "p2p_rlm_obss.h"
181 /* Dependency: cnm_timer.h (TIMER_T) */
183 #include "p2p_scan.h"
184 #include "p2p_state.h"
185 #include "p2p_func.h"
187 #include "p2p_assoc.h"
209 #if CFG_RSN_MIGRATION
218 /*------------------------------------------------------------------------------
220 *------------------------------------------------------------------------------
222 #include "CFG_Wifi_File.h"
224 #include "gl_p2p_kal.h"
227 /*******************************************************************************
229 ********************************************************************************
232 /*******************************************************************************
234 ********************************************************************************
237 /*******************************************************************************
238 * P U B L I C D A T A
239 ********************************************************************************
242 /*******************************************************************************
243 * P R I V A T E D A T A
244 ********************************************************************************
247 /*******************************************************************************
249 ********************************************************************************
252 /*******************************************************************************
253 * F U N C T I O N D E C L A R A T I O N S
254 ********************************************************************************
257 /*******************************************************************************
259 ********************************************************************************
262 #endif /*_P2P_PRECOMP_H */