History log of /system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6fca02d5010de7bd31d83b853c32138021da5f29 30-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Apply clang-format

find * | grep "\.[ch]" | xargs clang-format --style=file -i

Test: compiles
Change-Id: Id9b790d9685f7ba5ba1bcec1149619b63c2e679a
signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
46e6e28414b5e37ffad65353916520fc56ea3a86 30-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Fix comments with #defines which exceed 80 characters

Before:
- #define <directive> <value> /* <comment> */
After:
/* <comment> */
- #define <directive> <calue>

Test: compiles
Change-Id: Id4ea0e820563eb98bc731aee9bfb6599ae7d7af8
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
4a179646f6d5567830a0383050aee7610a0222a6 04-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Replace TRUE/FALSE directives with standard true/false

@@
expression E;
@@

(
-E = TRUE
+E = true
|
-E == TRUE
+E == true
|
-E != TRUE
+E != true
|
-E ? TRUE : FALSE
+E ? true : false
)

@@
@@

(
-return TRUE;
+return true;
)

@@
identifier fn;
@@

fn (...,
-TRUE,
+true,
...)

type T1;
identifier i1;
@@

T1 i1 = {
- TRUE,
+ true,
...};

Test: Compiles
Change-Id: I633924fe6bc6a4c3f50634c5e1c6d75fb1d3258f
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
36d7231ec9344bed2996be1293e97d082fa22294 01-Mar-2016 Jizhou Liao <Jizhou.Liao@nxp.com> Support NXP PN551 NFC controller

The changes to support PN551 controller:
- New firmware download sequence
- New build option&configuration file
- Remove all warnings
- Bug fix

Change-Id: Ic7cedf067d2f3c7fa554c93a07bbc1c056ec44cc
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
b98e5975e665aedf5e786133cbf88986d03ac501 01-Mar-2016 Jizhou Liao <Jizhou.Liao@nxp.com> Abort NFC initialization if chip type doesn't match to HAL implemetation.

Compare firmware versions on chip and HAL implemetation,
if mismatch, abort nfc initialization.

Change-Id: I3594e7a94ee927155d92a4b56bf4c732a6aff70a
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
07adce3e1ad4f3c9aa86025b7bbeb16fe5fda8dd 17-Feb-2016 Jizhou Liao <Jizhou.Liao@nxp.com> Swap LF_T3T_FLAGS bytes for PN548

PN548 firmware implements LF_T3T_FLAGS in big endian.
As NCI spec required, it should present as little endian.
This patch is a workaround to swap LF_T3T_FLAGS byte from little endian
to big endian.

Bug: 22379408
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
ae2234d1cdd7c35543a795dcb51a6537ffce2007 22-Aug-2015 Jizhou Liao <Jizhou.Liao@nxp.com> add recovery mechanism on CORE_RESET_NTF

The recovery re-init NFC by keeping configuration.
This recovers P2P issue while CORE_RESET_NTF is received.

Bug: 23520630
Change-Id: If2296558064029972b61823861d47e47400cc8dc
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
5cbce03e4a73a6950873b1a2b55cd09997b67a96 17-Jun-2015 Jizhou Liao <Jizhou.Liao@nxp.com> Add Mifare Classic support.

This patch is to support NXP Mifare Classic tag.

Bug: 23618022
Change-Id: I36009fdf3614043a32beca4aaf2f320ba17fb40c
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
7b6b94cbca2aaf93afc4bb32094d143e46daf4ad 12-Aug-2015 Jizhou Liao <Jizhou.Liao@nxp.com> Fix stuck issue on Kovio barcode

Fix stack stuck issue if disabling Nfc when kovio barcode is just detecting.

Change-Id: I5e77e1772c3211436fea5279233f26c139e8313f
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
ef4a29a0b35d6979efcbb1d62c33395a10c2d411 12-Aug-2015 Jizhou Liao <Jizhou.Liao@nxp.com> Fix ISO15693 tag crash issue

Set error flag to indicate there is an error on ISO15693 transaction.

Change-Id: I5bb5d8449d095c98055d990867da945786d9254f
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
f8d9e72203f193c7d110e1437ab33c0ff8376f9d 30-Jul-2015 Jizhou Liao <Jizhou.Liao@nxp.com> ISO-DEP presence check workaround

Not all ISO-DEP tags will response empty I-Block as presence check
command. This workaround replaces empty I-Block command to
NXP proprietay presence check command.

Change-Id: Ie1625f323840ab92b508cc2a1521365517c7a4a3
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c
121096a3511ea4ac559dea3ef7d39f0df00c97a6 19-May-2015 Jizhou Liao <Jizhou.Liao@nxp.com> Adding NXP NCI Hal implementation (DO NOT MERGE.)

This patch includes Hal implementation
of NXP's NCI based NFC controller.

Change-Id: I6ee7fac309aebb52ae3d7c197685df729751ee52
/system/nfc/halimpl/pn54x/hal/phNxpNciHal_ext.c