1 /******************************************************************************
3 * Copyright(c) 2013 Realtek Corporation. All rights reserved.
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 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 ******************************************************************************/
20 #ifndef __MP_PRECOMP_H__
21 #define __MP_PRECOMP_H__
23 #include <drv_types.h>
26 #define BT_TMP_BUF_SIZE 100
29 #define rsprintf snprintf
30 #elif defined(PLATFORM_WINDOWS)
31 #define rsprintf sprintf_s
34 #define DCMD_Printf DBG_BT_INFO
36 #define delay_ms(ms) rtw_mdelay_os(ms)
42 #define WPP_SOFTWARE_TRACE 0
44 typedef enum _BTC_MSG_COMP_TYPE{
48 extern u4Byte GLBtcDbgType[];
60 #define RT_TRACE(dbgtype, dbgflag, printstr)\
62 if (GLBtcDbgType[dbgtype] & BIT(dbgflag))\
69 //#define RT_TRACE(dbgtype, dbgflag, printstr)
72 #include "HalBtcOutSrc.h"
73 #include "HalBtc8188c2Ant.h"
74 #include "HalBtc8192d2Ant.h"
75 #include "HalBtc8192e1Ant.h"
76 #include "HalBtc8192e2Ant.h"
77 #include "HalBtc8723a1Ant.h"
78 #include "HalBtc8723a2Ant.h"
79 #include "HalBtc8723b1Ant.h"
80 #include "HalBtc8723b2Ant.h"
81 #include "HalBtc8812a1Ant.h"
82 #include "HalBtc8812a2Ant.h"
83 #include "HalBtc8821a1Ant.h"
84 #include "HalBtc8821a2Ant.h"
85 #include "HalBtc8821aCsr2Ant.h"
87 #endif // __MP_PRECOMP_H__