2019-04-22 11:31:01 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/* Copyright(c) 2007 - 2016 Realtek Corporation. All rights reserved. */
|
|
|
|
|
2021-07-23 00:04:09 +00:00
|
|
|
#ifndef __MP_PRECOMP_H__
|
|
|
|
#define __MP_PRECOMP_H__
|
|
|
|
|
|
|
|
#include <drv_types.h>
|
|
|
|
#include <hal_data.h>
|
|
|
|
|
|
|
|
#define BT_TMP_BUF_SIZE 100
|
|
|
|
|
|
|
|
#define rsprintf snprintf
|
|
|
|
|
|
|
|
#define DCMD_Printf DBG_BT_INFO
|
|
|
|
|
|
|
|
#define delay_ms(ms) rtw_mdelay_os(ms)
|
|
|
|
|
|
|
|
#ifdef bEnable
|
|
|
|
#undef bEnable
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define WPP_SOFTWARE_TRACE 0
|
|
|
|
|
|
|
|
typedef enum _BTC_MSG_COMP_TYPE {
|
|
|
|
COMP_COEX = 0,
|
|
|
|
COMP_MAX
|
|
|
|
} BTC_MSG_COMP_TYPE;
|
|
|
|
extern u32 GLBtcDbgType[];
|
|
|
|
|
|
|
|
#define DBG_OFF 0
|
|
|
|
#define DBG_SEC 1
|
|
|
|
#define DBG_SERIOUS 2
|
|
|
|
#define DBG_WARNING 3
|
|
|
|
#define DBG_LOUD 4
|
|
|
|
#define DBG_TRACE 5
|
|
|
|
|
|
|
|
#ifdef CONFIG_BT_COEXIST
|
|
|
|
#define BT_SUPPORT 1
|
|
|
|
#define COEX_SUPPORT 1
|
|
|
|
#define HS_SUPPORT 1
|
|
|
|
#else
|
|
|
|
#define BT_SUPPORT 0
|
|
|
|
#define COEX_SUPPORT 0
|
|
|
|
#define HS_SUPPORT 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "halbtcoutsrc.h"
|
|
|
|
|
|
|
|
#endif /* __MP_PRECOMP_H__ */
|