From 4bbf618b661ce7787efab168dd106115268fd539 Mon Sep 17 00:00:00 2001 From: Sunil Jogi Date: Fri, 27 Jan 2012 10:06:03 -0800 Subject: Increase internal LLCP buffers to fit max MIU Interal buffer increased to 2178 = 3 (max LLCP header size) + 128 (default MIU) + 2047 (max MIU) Change-Id: I3cc2ff705e74ae657d93b5e50a577b0e7e5ebfcf --- src/phLibNfc_Internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/phLibNfc_Internal.h b/src/phLibNfc_Internal.h index f791b02..c136032 100644 --- a/src/phLibNfc_Internal.h +++ b/src/phLibNfc_Internal.h @@ -196,10 +196,10 @@ typedef struct phLibNfc_LlcpInfo phFriNfc_Llcp_t sLlcpContext; /* LLC Rx buffer */ - uint8_t pRxBuffer[1024]; + uint8_t pRxBuffer[PHFRINFC_LLCP_PDU_HEADER_MAX + PHFRINFC_LLCP_MIU_DEFAULT + PHFRINFC_LLCP_MIUX_MAX]; /* LLC Tx buffer */ - uint8_t pTxBuffer[1024]; + uint8_t pTxBuffer[PHFRINFC_LLCP_PDU_HEADER_MAX + PHFRINFC_LLCP_MIU_DEFAULT + PHFRINFC_LLCP_MIUX_MAX]; } phLibNfc_LlcpInfo_t; -- cgit v1.1