History log of /system/nfc/src/nfc/int/nfc_int.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
75ec928cdd9e1e66c616578b8305be6b84dd602a 02-Jun-2017 Love Khanna <love.khanna@nxp.com> DTA support added for NFC Forum certification.

Bug: 63903843
Test: compiles.
Change-Id: I1ab62d0db29c7f9dd09828a3dac0494279cc0ab7
/system/nfc/src/nfc/int/nfc_int.h
3016ff6d432224b3fa0dd9e0089df6e8977591ae 02-Jun-2017 Love Khanna <love.khanna@nxp.com> NCI2.0 T2T Tag read improvement.

NCI2.0 Status_OK_n_bit should only be translated
to Status_OK for frame rf interface.

Test: compiles.

Change-Id: I552082389360753cbbc079f2d550ee94ebe1098f
(cherry picked from commit 67a3e862e52db4005d930d98df5c981c68ddb982)
/system/nfc/src/nfc/int/nfc_int.h
e5062d1b7e05845c891bf1e4ebe93236a9af4794 06-Apr-2017 Love Khanna <love.khanna@nxp.com> NFC init response and discovery map command updated.

For NCI2.0 CORE_INIT_RSP has additional parameters which have to be parsed.
The rf interface list is updated and rf interfaces may have additional
extensions.

Bug: 63146248
Test: complies.
Change-Id: I4a5d6cb9e708525fef179e93570a49f0b8e34d34
(cherry picked from commit f928d73c8c23ab10ee3ad794094da3e52c730967)
/system/nfc/src/nfc/int/nfc_int.h
9c2e466d3459fd9cba47dae3575f31e5030390c0 06-Apr-2017 Love Khanna <love.khanna@nxp.com> Add ISO-DEP presence check nak command in NCI2.0

when T4T tag is detected, T4T NAK command is sent for presence check.
The response is sent which indicates command is sent successfully.
When the ntf is received, if card is present in field the status is
NFA_STATUS_Ok otherwise the status is NFA_STATUS_FAILED.
It can be configured from libnfc-brcm file.

Bug: 63146248
Test: compiles.
Change-Id: I58abff57a5a2514c78046f4a736246568382099f
(cherry picked from commit d09d4bf1d5335cba9858a1e526ed095dcdb76676)
/system/nfc/src/nfc/int/nfc_int.h
5d7a437aeda5444883ccdd3045fdb4e528a03799 04-Apr-2017 Love Khanna <love.khanna@nxp.com> RF Deactivation: new reason code added.

In case RF_DEACTIVATE_NTF deactivation reason is DH request failed due
to error, retry maximum 3 times before sending a deactivate with type
discovery.

Bug: 63146248
Test: compiles.
Change-Id: Ie88feef1fb95e734c1bd550ae3f7ec10c9ccb38b
(cherry picked from commit 13c476001290c544cad3f1c4bc71f8d79ca8b47f)
/system/nfc/src/nfc/int/nfc_int.h
4043078bdcf2071ae4c7236c8316d07e838390ec 07-Mar-2017 Love Khanna <love.khanna@nxp.com> 4-bit ACK/NACK response handling for T2T as per NCI2.0

As per NCI2.0 when the RF Frame is a Short Frame in NFC-A. In that
particular case, the NFCC SHALL set the Status Field to a value of
STATUS_OK_n_BIT, where ā€˜nā€™ is the number of bits in the Short Frame
(between 1 and 7, as defined in [DIGITAL]).

Bug: 63146248
Test: T2T tag write works ok.
Change-Id: I9f6d0463454d436fabf6c976c709cbbd01bc8ca3
(cherry picked from commit febfb87e33c24bd02cb0cb5ffe46b9a77742c396)
/system/nfc/src/nfc/int/nfc_int.h
7885eb7a2f949d968e808358e4d4395db5c63010 28-Mar-2017 Ruchi Kandoi <kandoiruchi@google.com> NCI2.0: Add init and core reset functionality for NCI 2.0

The commands for CORE_INIT and CORE_RESET have changed. The stack will
try and initialize the NFCC assuming it supports NCI 2.0, if in case the
responses aren't as per specification, it will try with NCI 1.0
commands.

Bug: 63146248
Test: Enabling sequence with NCI 2.0 works.
Change-Id: I5ef19757590173a1bd33b2d67eeca40131136d3b
(cherry picked from commit 3f64b002fc7bea3004fcce63a1a503f67d69ba9b)
/system/nfc/src/nfc/int/nfc_int.h
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/src/nfc/int/nfc_int.h
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/src/nfc/int/nfc_int.h
4182dab9b5de4222ffd4a539fa084cb2b56bc6a1 10-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Remove exported api symbols and other windows related defines

Test: compiles
Change-Id: Ied99d7c80aa600091c105c3af478eee7af79f352
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/nfc/int/nfc_int.h
0a73688fae255d6c4730747caefaa134bd29b1d6 10-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Use NFC_HDR/_SIZE instead of BT_HDR/_SIZE

Test: Compiles
Change-Id: Icd64463dd10c1af9642d2d0bb3d8fa3ebe1bdd7e
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/nfc/int/nfc_int.h
303fec1d79b7ac30a09713e5db9fff299f7227fb 14-Dec-2016 Ruchi Kandoi <kandoiruchi@google.com> nfc: Remove defined(MACRO) and define undefined macros

Test: compiles
Change-Id: I5ea9a8f38cfc41e8a71eeb1c11f96755474b4121
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/nfc/int/nfc_int.h
512ee63c7cc8feb016863e507a5d33cd0f4242bf 03-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Changes data types to standard types.

platform/system/bt/tools/scripts/change_types.sh was used to convert:
UINT8->uint8_t
UINT32->uint32_t
UINT16->uint16_t
INT8->int8_t
INT32->int32_t
INT16->int16_t

Test: Compiles
Change-Id: I7fce2cbff75a2087db46cda7527437a46a627c46
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/nfc/int/nfc_int.h
6a3a3dd32f2a2ffb5cddc8457ad30e6d4181a3b0 18-Oct-2016 Andre Eisenbach <eisenbach@google.com> Remove btu_api.h

Empty file is empty.

Test: compiles
Change-Id: Ie6fda095a7b740a5f8e00f68da52a608d0b6d5fe
/system/nfc/src/nfc/int/nfc_int.h
a4d43ca913ec4ffaa9df95ad2ce820498f7a52b9 18-Oct-2016 Andre Eisenbach <eisenbach@google.com> Remove DYNAMIC_MEMORY_* compile flags

Unused and adding unecessary complexity. Also step 1 in removing GKI*.

Test: compiles
Change-Id: I338ce3041f5c928924a9dcc8ad4e73bc1c914163
/system/nfc/src/nfc/int/nfc_int.h
2ef0896fb71d2a3bcde1fff34a8d24c2e74340c2 09-Jun-2015 Jizhou Liao <Jizhou.Liao@nxp.com> Add Peer-To-Peer priority mechanism

Most of NFC devices support card emulation now, there is a chance
that the remote NFC device is detected as a card not peer device.
This peer-to-peer priority mechanism will always try to establish
peer-to-peer connection than card emulation

Peer-To-Peer priority mechanism works only if NFCC is running in
bail out mode. The configuration option NFA_POLL_BAIL_OUT_MODE is to
define the mode of NFCC.

Change-Id: I45a099efa77fab132189ea92da97a90240cfba1d
/system/nfc/src/nfc/int/nfc_int.h
a24be4f06674b2707b57904deaa0dff5a95823bd 13-Nov-2013 Evan Chu <evanchu@broadcom.com> Upgrade stack to NFA_PI_1.03.66+

Take code from NFCA_MI_430.10.00.07.
Additional changes include:
* Adjust copyright.
* Clean up stack and HAL diagnostic tracing.
* Fix ce_t4t_data_cback() in src/nfc/tags/ce_t4t.c in order to let HCE payment to work.
* Reduce compilation warnings.

Change-Id: I7b174229029d4a4955ff7750623e78c9a8c856f6
/system/nfc/src/nfc/int/nfc_int.h
e9629bad30a9f478b336ab46b8e6e02f7f87af46 31-Jan-2014 Evan Chu <evanchu@broadcom.com> Adjust copyright year to 2014.

No code change.

Change-Id: Id868ad0356f9b5a43c887de7a3b596bb86be9026
/system/nfc/src/nfc/int/nfc_int.h
1ba9dcccf5b342bd74a2f8213b7ed3be78b9db44 10-Sep-2013 Evan Chu <evanchu@broadcom.com> Fix memory leak.

Found when using reader mode APIs: control is accidentally
granted to the HAL, causing us to leak command buffers.

Also:
- Prevent multiple calls to NFC_Deactivate()
- Proper handling of congestion in P2P

Bug: 10360259
Change-Id: Ia52a948f46f8668cde5b135bd073f175cdd434f5
/system/nfc/src/nfc/int/nfc_int.h
5c65c3a0f42e174e47fecd4e569606003217ff4e 27-Mar-2013 Martijn Coenen <maco@google.com> Latest NFC stack-drop from Broadcom.

Patches provided by Evan Chu <evanchu@broadcom.com> and
Paul Chaisson <pchaisson@broadcom.com>.

Most important changes:
- Support for BCM20793B4 and BCM20793B5 revisions in the HAL.
- Remove connection handover and SNEP implementations, since
we already have them in java-land.
- Fix issue where the NFCC is not woken for HCI writes.
- Remove a lot of duplicated code in the HAL.
- Various small fixes.

Change-Id: I00f7457fe7ec23602071532a15bf2be9d7706b37
/system/nfc/src/nfc/int/nfc_int.h
e9df6ba5a8fcccf306a80b1670b423be8fe7746a 13-Dec-2012 The Android Open Source Project <initial-contribution@android.com> Snapshot 7ddd630e136a035ba463c427285c5c3e9f199ee0

Change-Id: If08c7b905da667dd9e5110231e4592842b634006
/system/nfc/src/nfc/int/nfc_int.h