summaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/phLibNfc_Internal.h4
1 files changed, 2 insertions, 2 deletions
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;