1 /****************************************************************************** 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 20 #include <cutils/memory.h> 21 #include <memory.h> 22 #include <stdio.h> 23 #include <string.h> 24 25 #include "data_types.h" 26 27 #ifndef NFC_CONTORLLER_ID 28 #define NFC_CONTORLLER_ID (1) 29 #endif 30 31 #define GKI_BUF1_MAX 0 32 // 2 is in use 33 #define GKI_BUF3_MAX 30 34 #define GKI_BUF4_SIZE 2400 35 #define GKI_BUF4_MAX 30 36 #define GKI_BUF5_MAX 0 37 #define GKI_BUF6_MAX 0 38 #define GKI_BUF7_MAX 0 39 #define GKI_BUF8_MAX 0 40 41 #define GKI_BUF2_SIZE 660 42 #define GKI_BUF2_MAX 50 43 44 #define GKI_BUF0_SIZE 268 45 #define GKI_BUF0_MAX 40 46 47 #ifdef DYN_ALLOC 48 #define GKI_NUM_FIXED_BUF_POOLS 0 49 #else 50 #define GKI_NUM_FIXED_BUF_POOLS 4 51 #endif 52 53 #endif 54