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 --- inc/phNfcLlcpTypes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inc/phNfcLlcpTypes.h') diff --git a/inc/phNfcLlcpTypes.h b/inc/phNfcLlcpTypes.h index fe25b7d..84c58cd 100644 --- a/inc/phNfcLlcpTypes.h +++ b/inc/phNfcLlcpTypes.h @@ -44,6 +44,8 @@ #define PHFRINFC_LLCP_RW_DEFAULT 1 /**< Default RW value (in frames).*/ #define PHFRINFC_LLCP_OPTION_DEFAULT 0 /**< Default OPTION value (in frames).*/ #define PHFRINFC_LLCP_MIUX_DEFAULT 0 /**< Default MIUX value (in bytes) */ +#define PHFRINFC_LLCP_MIUX_MAX 0x7FF /**< Max MIUX value (in bytes) */ +#define PHFRINFC_LLCP_PDU_HEADER_MAX 3 /**< Max size of PDU header (in bytes) */ #define PHFRINFC_LLCP_SN_MAX_LENGTH 255 /**< Max length value for the Service Name */ #define PHFRINFC_LLCP_RW_MAX 15 /**< Max RW value (in frames).*/ /*@}*/ -- cgit v1.1