Home | History | Annotate | Download | only in include
      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 <memory.h>
     21 #include <stdio.h>
     22 #include <string.h>
     23 #include "data_types.h"
     24 
     25 #ifndef NFC_CONTORLLER_ID
     26 #define NFC_CONTORLLER_ID (1)
     27 #endif
     28 
     29 #define GKI_BUF1_MAX 0
     30 // 2 is in use
     31 #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
     38 
     39 #define GKI_BUF2_SIZE 660
     40 #define GKI_BUF2_MAX 50
     41 
     42 #define GKI_BUF0_SIZE 268
     43 #define GKI_BUF0_MAX 40
     44 
     45 #define GKI_NUM_FIXED_BUF_POOLS 4
     46 
     47 extern void DispNci(uint8_t* p, uint16_t len, bool is_recv);
     48 
     49 void ProtoDispAdapterDisplayNciPacket(uint8_t* nciPacket, uint16_t nciPacketLen,
     50                                       bool is_recv);
     51 #define DISP_NCI ProtoDispAdapterDisplayNciPacket
     52 #endif
     53