summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorSunil Jogi <sunil.jogi@nxp.com>2012-01-27 10:06:03 -0800
committerMartijn Coenen <maco@google.com>2012-01-27 15:34:45 -0800
commit4bbf618b661ce7787efab168dd106115268fd539 (patch)
tree168a9cc51e193400f1bb49ccbc4e7156f1abc1df /inc
parentffdbd5c4c6574af205d7bb657c9aec025db6e8ac (diff)
downloadexternal_libnfc-nxp-4bbf618b661ce7787efab168dd106115268fd539.zip
external_libnfc-nxp-4bbf618b661ce7787efab168dd106115268fd539.tar.gz
external_libnfc-nxp-4bbf618b661ce7787efab168dd106115268fd539.tar.bz2
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
Diffstat (limited to 'inc')
-rw-r--r--inc/phNfcLlcpTypes.h2
1 files changed, 2 insertions, 0 deletions
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).*/
/*@}*/