summaryrefslogtreecommitdiff
path: root/nfc
diff options
context:
space:
mode:
authorGeorge Chang <georgekgchang@google.com>2020-01-07 22:10:15 +0800
committerGeorge Chang <georgekgchang@google.com>2020-01-07 22:11:46 +0800
commit65d38b9c035337b81a0134f0ba5f513ed4ca3a30 (patch)
treedc5be1ef5ddaba3622100b56b7a93c0d9857a3c8 /nfc
parentf853a8a615ae0d4280c700fd8f09486819d0360e (diff)
Update flags for switching to NXP MIFARE HAL
Bug: 142625833 Test: Mifare Classic Tag Read/Write/Format
Diffstat (limited to 'nfc')
-rw-r--r--nfc/libnfc-nci.conf6
-rw-r--r--nfc/libnfc-nxp.bonito.conf6
-rw-r--r--nfc/libnfc-nxp.sargo.conf6
3 files changed, 18 insertions, 0 deletions
diff --git a/nfc/libnfc-nci.conf b/nfc/libnfc-nci.conf
index 2dea7b6a..e17401a6 100644
--- a/nfc/libnfc-nci.conf
+++ b/nfc/libnfc-nci.conf
@@ -90,3 +90,9 @@ NFA_AID_BLOCK_ROUTE=1
###############################################################################
# Power state for off host AID routing
OFFHOST_AID_ROUTE_PWR_STATE=0x3B
+
+###############################################################################
+# Mifare Tag implementation
+# 0: General implementation
+# 1: Legacy implementation
+LEGACY_MIFARE_READER=0
diff --git a/nfc/libnfc-nxp.bonito.conf b/nfc/libnfc-nxp.bonito.conf
index 3286d5f9..f8af636f 100644
--- a/nfc/libnfc-nxp.bonito.conf
+++ b/nfc/libnfc-nxp.bonito.conf
@@ -25,6 +25,12 @@ NXP_NFC_DEV_NODE="/dev/nq-nci"
MIFARE_READER_ENABLE=0x01
###############################################################################
+# Mifare Reader implementation
+# 0: General implementation
+# 1: Legacy implementation
+LEGACY_MIFARE_READER=0
+
+###############################################################################
# Firmware file type
#.so file 0x01
#.bin file 0x02
diff --git a/nfc/libnfc-nxp.sargo.conf b/nfc/libnfc-nxp.sargo.conf
index 1f35e63a..93850994 100644
--- a/nfc/libnfc-nxp.sargo.conf
+++ b/nfc/libnfc-nxp.sargo.conf
@@ -25,6 +25,12 @@ NXP_NFC_DEV_NODE="/dev/nq-nci"
MIFARE_READER_ENABLE=0x01
###############################################################################
+# Mifare Reader implementation
+# 0: General implementation
+# 1: Legacy implementation
+LEGACY_MIFARE_READER=0
+
+###############################################################################
# Firmware file type
#.so file 0x01
#.bin file 0x02