summaryrefslogtreecommitdiffstats
path: root/src/phHal4Nfc_Internal.h
diff options
context:
space:
mode:
authordaniel_Tomas <daniel.tomas@trusted-logic.com>2010-11-25 15:48:33 +0100
committerNick Pelly <npelly@google.com>2010-12-05 18:33:31 -0800
commit143acf0b768ce3c2f61de2add5ca339479defd57 (patch)
treef14a2cc2cf6576907db79ee77864ca635d3959a0 /src/phHal4Nfc_Internal.h
parentbf52196cdecd0decc2f8deabb19bf5877794bc31 (diff)
downloadexternal_libnfc-nxp-143acf0b768ce3c2f61de2add5ca339479defd57.zip
external_libnfc-nxp-143acf0b768ce3c2f61de2add5ca339479defd57.tar.gz
external_libnfc-nxp-143acf0b768ce3c2f61de2add5ca339479defd57.tar.bz2
Fix for LLCP concurence access with ConfigureDiscovery, NDEF read/write and Presence Check
Change-Id: Ie6fc7e26dde98ece2738dcad26f020833b4c0e93
Diffstat (limited to 'src/phHal4Nfc_Internal.h')
-rw-r--r--src/phHal4Nfc_Internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phHal4Nfc_Internal.h b/src/phHal4Nfc_Internal.h
index 70f7b16..8675c55 100644
--- a/src/phHal4Nfc_Internal.h
+++ b/src/phHal4Nfc_Internal.h
@@ -52,6 +52,7 @@
/* -----------------Include files ---------------------------------------*/
/* ---------------- Macros ----------------------------------------------*/
+#define LLCP_DISCON_CHANGES
#define PH_HAL4NFC_TRANSCEIVE_TIMEOUT 30000 /**<Transceive operation
on any target should be
completed within this
@@ -176,6 +177,9 @@ typedef struct phHal4Nfc_UpperLayerInfo{
pphHal4Nfc_GenCallback_t pConfigCallback;
void *psUpperLayerCtxt;
void *psUpperLayerDisconnectCtxt;
+#ifdef LLCP_DISCON_CHANGES
+ void *psUpperLayerCfgDiscCtxt;
+#endif /* #ifdef LLCP_DISCON_CHANGES */
/**Upper layer's Open Callback registry*/
pphHal4Nfc_GenCallback_t pUpperOpenCb;
/**Upper layer's Close Callback registry */