blob: 3149e06d3dfbf9cb7ae24e6d0227a508ff0937f7 [file] [log] [blame]
/******************************************************************************
*
* Copyright (C) 1999-2012 Broadcom Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
#ifndef __BUILDCFG_H
#define __BUILDCFG_H
#include <memory.h>
#include <stdio.h>
#include <string.h>
#include "data_types.h"
#ifndef NFC_CONTORLLER_ID
#define NFC_CONTORLLER_ID (1)
#endif
#define BTE_APPL_MAX_USERIAL_DEV_NAME (256)
#ifdef BT_TRACE_VERBOSE
#undef BT_TRACE_VERBOSE
#endif
#define BT_TRACE_VERBOSE TRUE
#define TRACE_TASK_INCLUDED TRUE
#define GKI_BUF1_MAX 0
// 2 is in use
#define GKI_BUF3_MAX 30
#define GKI_BUF4_SIZE 2400
#define GKI_BUF4_MAX 30
#define GKI_BUF5_MAX 0
#define GKI_BUF6_MAX 0
#define GKI_BUF7_MAX 0
#define GKI_BUF8_MAX 0
#define GKI_BUF2_SIZE 660
#define GKI_BUF2_MAX 50
#define GKI_BUF0_SIZE 268
#define GKI_BUF0_MAX 40
#define NCI_BUF_POOL_ID GKI_POOL_ID_0
#define GKI_NUM_FIXED_BUF_POOLS 4
extern uint8_t* scru_dump_hex(uint8_t* p, char* p_title, uint32_t len,
uint32_t trace_layer, uint32_t trace_type);
extern void ScrLog(uint32_t trace_set_mask, const char* fmt_str, ...);
extern void DispNci(uint8_t* p, uint16_t len, bool is_recv);
extern void downloadFirmwarePatchFile(uint32_t brcm_hw_id);
void ProtoDispAdapterDisplayNciPacket(uint8_t* nciPacket, uint16_t nciPacketLen,
bool is_recv);
#define DISP_NCI ProtoDispAdapterDisplayNciPacket
#define LOGMSG_TAG_NAME "BrcmNfcNfa"
#ifndef _TIMEB
#define _TIMEB
struct _timeb {
long time;
short millitm;
short timezone;
short dstflag;
};
void _ftime(struct _timeb*);
#endif
#endif