blob: 53f7aa2a8eac6482531ddab297b308a822808fc1 [file] [log] [blame]
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -08001/******************************************************************************
2 *
3 * Copyright (C) 1999-2012 Broadcom Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at:
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 ******************************************************************************/
18#ifndef __BUILDCFG_H
19#define __BUILDCFG_H
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080020#include <memory.h>
21#include <stdio.h>
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080022#include <string.h>
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080023#include "data_types.h"
24
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080025#ifndef NFC_CONTORLLER_ID
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080026#define NFC_CONTORLLER_ID (1)
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080027#endif
28
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080029#define GKI_BUF1_MAX 0
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080030// 2 is in use
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080031#define GKI_BUF3_MAX 30
32#define GKI_BUF4_SIZE 2400
33#define GKI_BUF4_MAX 30
34#define GKI_BUF5_MAX 0
35#define GKI_BUF6_MAX 0
36#define GKI_BUF7_MAX 0
37#define GKI_BUF8_MAX 0
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080038
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080039#define GKI_BUF2_SIZE 660
40#define GKI_BUF2_MAX 50
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080041
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080042#define GKI_BUF0_SIZE 268
43#define GKI_BUF0_MAX 40
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080044
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080045#define GKI_NUM_FIXED_BUF_POOLS 4
46
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080047extern void DispNci(uint8_t* p, uint16_t len, bool is_recv);
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080048
Ruchi Kandoi6fca02d2017-01-30 14:28:16 -080049void ProtoDispAdapterDisplayNciPacket(uint8_t* nciPacket, uint16_t nciPacketLen,
50 bool is_recv);
Evan Chua24be4f2013-11-13 15:30:16 -050051#define DISP_NCI ProtoDispAdapterDisplayNciPacket
The Android Open Source Projecte9df6ba2012-12-13 14:55:37 -080052#endif