summaryrefslogtreecommitdiff
path: root/nfc
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2018-02-27 11:17:44 -0800
committerRuchi Kandoi <kandoiruchi@google.com>2018-03-06 15:02:22 -0800
commit37e6f1025e01bdb385408ff6c5c8c824ebc78e2c (patch)
tree8390b73dc4269707672fc6aab324bd3d3d8a7ed0 /nfc
parentc390010a2e23ae8489fa5cd802e3c8cc9d46dd35 (diff)
NFC 1.1 and eSE bring up
Test: NFC initialization and eSE initialization successful Bug: 69643480 Change-Id: I50ddb7589e07a1a24cc3871db8403beed945f0f0
Diffstat (limited to 'nfc')
-rw-r--r--nfc/libese-nxp.conf38
-rw-r--r--nfc/libnfc-nxp.conf3
2 files changed, 40 insertions, 1 deletions
diff --git a/nfc/libese-nxp.conf b/nfc/libese-nxp.conf
new file mode 100644
index 00000000..c2d9ac46
--- /dev/null
+++ b/nfc/libese-nxp.conf
@@ -0,0 +1,38 @@
+##This file needs to be pushed into /vendor/etc/libese-nxp.conf
+
+###############################################################################
+# Application options
+SE_DEBUG_ENABLED=0
+
+
+#Timeout in secs
+NXP_SWP_RD_TAG_OP_TIMEOUT=0xFF
+
+#WTX Count in secs
+NXP_WTX_COUNT_VALUE=9000
+
+# PN67T_PWR_SCHEME 0x01
+# PN80T_LEGACY_PWR_SCHEME 0x02
+# PN80T_EXT_PMU_SCHEME 0x03
+NXP_POWER_SCHEME=0x02
+
+# For SOF = 0x5A 0x01
+# For SOF = 0x00 0x02
+NXP_SOF_WRITE=0x01
+
+#SPI Thorughput measurement log enabled(1)/disabled(0) in kernel
+NXP_TP_MEASUREMENT=0x00
+
+#Enable/Disable interface reset as part of SPI open
+NXP_SPI_INTF_RST_ENABLE=0x01
+
+###############################################################################
+# SPI WRITE TIMEOUT for RF event synchronization
+NXP_SPI_WRITE_TIMEOUT=0x14
+
+###############################################################################
+# SPI Device Node name
+NXP_ESE_DEV_NODE="/dev/pn81a"
+
+#MAX NO OF R_NACK RETRY ALLOWED IN CASE OF CRC FAILURE
+NXP_MAX_RNACK_RETRY=0x0A
diff --git a/nfc/libnfc-nxp.conf b/nfc/libnfc-nxp.conf
index 57e31bd0..07d7a359 100644
--- a/nfc/libnfc-nxp.conf
+++ b/nfc/libnfc-nxp.conf
@@ -8,6 +8,7 @@
# ANDROID_LOG_WARN 0x02
# ANDROID_LOG_ERROR 0x01
# ANDROID_LOG_SILENT 0x00
+NFC_DEBUG_ENABLED=0x00
NXPLOG_EXTNS_LOGLEVEL=0x01
NXPLOG_NCIHAL_LOGLEVEL=0x01
NXPLOG_NCIX_LOGLEVEL=0x01
@@ -29,7 +30,7 @@ VZW_FEATURE_ENABLE=0x01
###############################################################################
# File name for Firmware
-#NXP_FW_NAME="libpn553_fw.so"
+NXP_FW_NAME="libpn557_fw.so"
###############################################################################
# System clock source selection configuration