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/nfa/dm/nfa_dm_discover.c
|
6c6e360bd24d846d6e928d657a9c69163e170fa1 |
|
04-Apr-2017 |
Love Khanna <love.khanna@nxp.com> |
Tag deselection in frame rf interface. As per NCI 2.0 in Frame RF interface changing from POLL_ACTIVE to SLEEP Mode Tag command is required to be sent by DH. Bug: 63146248 Test: compiles. Change-Id: I51244048f76be57dec07b8cf5eb3d9751bc8e454 (cherry picked from commit cdb435dff88ef4c9bd3a3c680d9c2b72dfd2b1a4)
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
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/nfa/dm/nfa_dm_discover.c
|
bb4bc8b8f02db4aab697dc7e196a1614a3bbddb8 |
|
04-Apr-2017 |
Love Khanna <love.khanna@nxp.com> |
P2P active standardization as per NCI2.0 As per NCI2.0 P2P active poll A & F and P2P active listena & F has been standardized to P2P Poll Active and P2P listen active. But: 63146248 Test: compiles. Change-Id: Ie742d2f6146e00578bc1ea0810886e47b1e9fbac (cherry picked from commit 78eae6df5f22153002588ac5220a419958f3b70a)
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
b56bc5290a71363b0ba877eb642239596a7e8f2d |
|
28-Mar-2017 |
Love Khanna <love.khanna@nxp.com> |
ISO15693 standardized implementation in NCI2.0 T5T protocol is standardized based on ISO15693 in NCI2.0.Functionally, working of both T5T and ISO15693 is same. Bug: 63146248 Test: compiles, T5T tag read/write work ok. Change-Id: I3636d8582fd2e05b3fb91504c751d9eb3051c4d4 (cherry picked from commit 57a3dfa388d16f35d4182782b3ee017164c933eb)
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
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/nfa/dm/nfa_dm_discover.c
|
552f2b745deddd35d9b75da9c9c09bd2f3f573a8 |
|
29-Jan-2017 |
Ruchi Kandoi <kandoiruchi@google.com> |
Fix comments which aren't accurately fixed by clang-format Test: compiles Change-Id: Ia3e7a4007b096d57ae082f8474649b17144a2a86 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/nfa/dm/nfa_dm_discover.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/src/nfa/dm/nfa_dm_discover.c
|
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/nfa/dm/nfa_dm_discover.c
|
4c888f85f62bb59ce8a3d268a61a98536e0dd36e |
|
03-Feb-2016 |
Martijn Coenen <maco@google.com> |
Set RC=1 when only polling for T3T. According to the NFC Forum Activity spec, controllers must: 1) Poll with RC=0 and SC=FFFF to find NFC-DEP targets 2) Poll with RC=1 and SC=FFFF to find T3T targets Many controllers don't do this yet, and seem to be activating NFC-DEP by default. We can at least fix the scenario where we're not interested in NFC-DEP, by setting RC=1 in that case. Otherwise, keep the default of RC=0. Change-Id: Icc27950c38bf0b0a10fc1325e85e4a526557b641
/system/nfc/src/nfa/dm/nfa_dm_discover.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/src/nfa/dm/nfa_dm_discover.c
|
acf1ec0cfce2d61dcab8560cad5072fa30afeb82 |
|
30-Jun-2015 |
Jizhou Liao <Jizhou.Liao@nxp.com> |
Fix conflict vendor proprietary Protocol and Discovery technology definitions A new configuration option is added. Vendor should provide their own definition in libnfc-brcm.conf file. Change-Id: I8204fbb97bcb59ecf7b450b701546646e1952a78
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
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/nfa/dm/nfa_dm_discover.c
|
8adba7675549bb507514c4f602723aa7d8e43f67 |
|
31-Jan-2014 |
Sherry Smith <sherrys@broadcom.com> |
Work-around for Mifare Desfire tag. When a Mifare Desfire tag is identified, perform RF-deactivate to sleep, then RF-select ISO-DEP interface to re-activate the tag, even the current interface is already ISO-DEP. The above operation puts the tag in the right mode to accept native Desfire commands, not just NFC Forum commands. This patch fixes a problem where data from the tag is received by the stack, but the stack does not emit NFA_DATA_EVT. Change-Id: If347353cdd03902a2faf9bad404eece90e1e32c0
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
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/nfa/dm/nfa_dm_discover.c
|
e9629bad30a9f478b336ab46b8e6e02f7f87af46 |
|
31-Jan-2014 |
Evan Chu <evanchu@broadcom.com> |
Adjust copyright year to 2014. No code change. Change-Id: Id868ad0356f9b5a43c887de7a3b596bb86be9026
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
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/nfa/dm/nfa_dm_discover.c
|
67aef6c6c6f6bc7b8364b97949e874b9dc7175bc |
|
29-Aug-2013 |
Evan Chu <evanchu@broadcom.com> |
Stack supports enable/disable listen modes and pause/resume P2P. New API's include: NFA_EnableListening NFA_DisableListening NFA_PauseP2p NFA_ResumeP2p Bug: 10360259 Change-Id: I7759c17fe1f83c2af251431e1dc56116a9fc78fd
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
09de1b298ad4237ba50018d28086c0430da8c23e |
|
24-Aug-2013 |
Martijn Coenen <maco@google.com> |
Enable/Disable listen mode API. Bug: 10360259 Change-Id: I57160e7073b9d625c470feff311f305dec16cb5e
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
91ada91fa991b4df5372a19a2cf81f074b298712 |
|
21-Jun-2013 |
Evan Chu <evanchu@broadcom.com> |
Ability to adjust RF discovery frequency for each technology. Stack adds ability to adjust RF discovery frequencies. Change-Id: I3c9a843c83c3a86181e7c8726b95c9f6517d8706
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
df5080d7feca9827fd0306471c54f52ecf185c22 |
|
14-Jun-2013 |
Evan Chu <evanchu@broadcom.com> |
Upgrade stack to NFA_MI_1.03.62. .conf variable SPD_IGNORE_VERSION is removed. Stack always download firmware if a difference is detected. Change-Id: I2a5e21254e6c0df7829506c1c3c2f6ffa44c0048
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
7c69b2723b60a59df4aaa58b13985b3483b291bf |
|
14-May-2013 |
Evan Chu <evanchu@broadcom.com> |
Upgrade stack to NFA_MI_1.03.60. Change-Id: Ifc970a5b68cc962e5fdfa9af11e54e569d25ef1b
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
c95c79ccb65d82a65b960919077d5c359cf28ced |
|
12-Apr-2013 |
Evan Chu <evanchu@broadcom.com> |
Upgrade to new stack NFA_MP_1.03.1 A tag from Korea is Mifare Ultralight C. When the stack performs presence-check, the tag responds with NACK and enters HALT state. This patch properly performs presence-check for this tag. Change-Id: Ia19e6216628bd74e8367f21d90ac806751eacfda
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
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/nfa/dm/nfa_dm_discover.c
|
85b7e84f6cc61506c94e98844cac9ce50bbbe9dc |
|
18-Jan-2013 |
Evan Chu <evanchu@broadcom.com> |
Do not require getSystemInfo() for ISO15693 tags. ISO15693 tags that do not respond to the getSystemInfo() command should still be reported to the upper stack, as getSystemInfo is not mandatory. This also adds some code to deal with specifc ST tag configurations, that require the prot ext bit to be set when executing some commands. Change-Id: I64dd9234750ea503ba5b14b2a22a46c106f61f76
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|
e9df6ba5a8fcccf306a80b1670b423be8fe7746a |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot 7ddd630e136a035ba463c427285c5c3e9f199ee0 Change-Id: If08c7b905da667dd9e5110231e4592842b634006
/system/nfc/src/nfa/dm/nfa_dm_discover.c
|