• Home
  • History
  • Annotate
  • only in /external/libnfc-nci/src/nfa/
History log of /external/libnfc-nci/src/nfa/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c19fe79a280fb5451b9f7506222c8676dd91d12b 25-Sep-2014 Martijn Coenen <maco@google.com> Fix null pointer dereference.

Bug: 16517161
Change-Id: I0d19b7c9fa41e7643ab643d6f3e865cd3589dcb2
e/nfa_ce_act.c
58268861a9aee36b541b6534c341657fb221c2f2 02-Oct-2013 Sherry Smith <sherrys@broadcom.com> If wildcard AID is registered, always use NFA_CE_DEACTIVATED_EVT.

Fixes an issue where activation is done by an
NFA_CE_DEACTIVATED_EVT, but deactivation is done
by NFA_DEACTIVATED_EVT (no _CE_).

Bug: 16517161

Change-Id: Ic84b54b25e7487efc47bdeb31a290abfcc07634f
e/nfa_ce_act.c
e/nfa_ce_main.c
nt/nfa_ce_int.h
fab6ab84257e6abee4686e699cb6f632fa9d0997 29-Jul-2014 Sherry Smith <sherrys@broadcom.com> Handle adjustment of routing table during power-off-sleep mode.

Stack preserves the changes of the routing table
during power-off-sleep mode. Stack sends the changes to
the controller when entering full-power mode.

Change-Id: Idf9591f57c496a4ad793562609ed3a03d4cb9f91
m/nfa_dm_act.c
m/nfa_dm_main.c
e/nfa_ee_act.c
nt/nfa_dm_int.h
e09fd9c5ce2c1eaef0831d8699a01404bea14894 14-May-2014 Sherry Smith <sherrys@broadcom.com> Re-send discovery config parameters when waking from power-off-sleep.

Change-Id: Ie0291c461c458205949975ae42e325d07bdd98b3
e/nfa_ce_main.c
nt/nfa_ce_int.h
eb80fc88f43b81e457689da8cb357473a63190b4 19-Mar-2014 Paul Chaisson <chaisson@broadcom.com> Handle Transmission error during NDef Read operation.

Handle Transmission error during NDEF Read operation of
a T2t that we wake up from the HALT state.

Change-Id: I4494b75edda176baeb4745fb9ea6af81a15fdd7d
w/nfa_rw_act.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
m/nfa_dm_act.c
m/nfa_dm_discover.c
855ae32a422fe508c56a9d33f4f65cf6bf77cd9e 20-Nov-2013 Prasad Karuppasamy <prasadk@broadcom.com> Whitelist configuration.

Stack adds fields in tNFA_HCI_CFG structure to allow configuration
of a whitelist of HCI hosts.

Change-Id: I4d113f493a8dd44a210addef03d331a7cbf61e1f
m/nfa_dm_cfg.c
ci/nfa_hci_act.c
nclude/nfa_api.h
28724545afbe78a0d371d5e8ae2e95fb34f26d09 12-Feb-2014 Paul Chaisson <chaisson@broadcom.com> Updated version strings.
e/nfa_ee_act.c
c2ae26946b121d427431808ef4d9b515f739dc78 05-Feb-2014 Sherry Smith <sherrys@broadcom.com> Check maximum size of listen-mode routing table.

Change-Id: Id02e7057c6b5efd86ad9f835e189af616945d348
e/nfa_ee_act.c
nt/nfa_ee_int.h
40e67c9ec7191cbda00cde97e4f988d1d5737762 16-Jan-2014 Sherry Smith <sherrys@broadcom.com> When adjusting routing table, wait for completion event.

When JNI calls NFA_EeUpdateNow() to adjust the routing table,
JNI shall wait for NFA_EE_LMP_UPDATED_EVT completion event.

Change-Id: I28f6185fa725c9de8cb94e60725b7b5410a2e37b
m/nfa_dm_act.c
e/nfa_ee_act.c
e/nfa_ee_api.c
e/nfa_ee_main.c
nclude/nfa_ee_api.h
nt/nfa_ee_int.h
ca0bff46ca93ed18142e20f03db5174399e1de75 23-Jan-2014 Sherry Smith <sherrys@broadcom.com> Calculate free space in the listen-mode routing table.

Change-Id: I3de773da3ac994cb6cfcd71e50ba57d1831b2759
e/nfa_ee_act.c
e/nfa_ee_api.c
e/nfa_ee_main.c
nclude/nfa_ee_api.h
nt/nfa_ee_int.h
a96095b67de952a978390f2bfe5987e1c62d456b 18-Dec-2013 Sherry Smith <sherrys@broadcom.com> Allow the total routing entry size of an NFCEE to exceed the capacity of an NCI command.

Change-Id: If2892aec1a2f9c15ac3dd7bb4506ee7840758e73
e/nfa_ee_act.c
7b9f7f66cd23c68558a36c80b8fe1b24e6616ee2 13-Dec-2013 Sherry Smith <sherrys@broadcom.com> Enhance nfa-ee to handle bigger routing table.

Change-Id: I7affdce1d091863c377de07eed60b4434c4c83ff
e/nfa_ee_act.c
81ad4777853d75c3259ce5f71847866b4e41f358 15-Jan-2014 Sherry Smith <sherrys@broadcom.com> Allow NFA-EE API to be used to set up routing even if nfa_ee_max_ee_cfg is 0.

Change-Id: I327061a568a8910cb17714e194e1c50cb7869390
m/nfa_dm_api.c
e/nfa_ee_main.c
afb70e803afc203aa3480f2420a04a953e517e09 02-Jan-2014 Paul Chaisson <chaisson@broadcom.com> Handle UICC that takes a while to initialize.

The JNI layer is going to do a Set Mode on any Connected/Inactive
EE and we need to get and NFA_EE_DISCOVER_REQ_EVT event with the
EE info during initialization.

Change-Id: I4c185b1afdfe90b98f42bc9900729a57666b8f19
e/nfa_ee_act.c
43ef645f118877526ae57eebe35229eb52492211 03-Dec-2013 Sherry Smith <sherrys@broadcom.com> Verify the routing table can hold the new routing entry before adding it.

Change-Id: I5731b9426d0db11287a6da35784042be611a363e
e/nfa_ee_act.c
nt/nfa_ee_int.h
f23dcad2c02e3e8d08fe9bbef61776d579b5cb49 25-Nov-2013 Paul Chaisson <chaisson@broadcom.com> Increase routing table size and add checks.

Port changes from stack to add check for exceeding the number
of supported routing entries. Increased number of routing
entries to 32.

Change-Id: I6ffc72e186fa6ecd972cda821694ea36af6a912f
e/nfa_ee_act.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
e/nfa_ce_act.c
m/nfa_dm_act.c
m/nfa_dm_api.c
m/nfa_dm_cfg.c
m/nfa_dm_discover.c
e/nfa_ee_act.c
ci/nfa_hci_act.c
ci/nfa_hci_api.c
ci/nfa_hci_main.c
ci/nfa_hci_utils.c
nclude/nfa_api.h
nclude/nfa_ee_api.h
nclude/nfa_hci_api.h
nclude/nfa_hci_defs.h
nclude/nfa_nv_co.h
nclude/nfa_rw_api.h
nt/nfa_dm_int.h
nt/nfa_hci_int.h
nt/nfa_rw_int.h
w/nfa_rw_act.c
w/nfa_rw_api.c
w/nfa_rw_main.c
e9629bad30a9f478b336ab46b8e6e02f7f87af46 31-Jan-2014 Evan Chu <evanchu@broadcom.com> Adjust copyright year to 2014.

No code change.

Change-Id: Id868ad0356f9b5a43c887de7a3b596bb86be9026
e/nfa_ce_act.c
e/nfa_ce_api.c
e/nfa_ce_main.c
m/nfa_dm_act.c
m/nfa_dm_api.c
m/nfa_dm_cfg.c
m/nfa_dm_discover.c
m/nfa_dm_main.c
m/nfa_dm_ndef.c
e/nfa_ee_act.c
e/nfa_ee_api.c
e/nfa_ee_main.c
ci/nfa_hci_act.c
ci/nfa_hci_api.c
ci/nfa_hci_ci.c
ci/nfa_hci_main.c
ci/nfa_hci_utils.c
nclude/nfa_api.h
nclude/nfa_ce_api.h
nclude/nfa_cho_api.h
nclude/nfa_ee_api.h
nclude/nfa_hci_api.h
nclude/nfa_hci_defs.h
nclude/nfa_mem_co.h
nclude/nfa_nv_ci.h
nclude/nfa_nv_co.h
nclude/nfa_p2p_api.h
nclude/nfa_rw_api.h
nclude/nfa_snep_api.h
nt/nfa_ce_int.h
nt/nfa_cho_int.h
nt/nfa_dm_int.h
nt/nfa_dta_int.h
nt/nfa_ee_int.h
nt/nfa_hci_int.h
nt/nfa_p2p_int.h
nt/nfa_rw_int.h
nt/nfa_snep_int.h
nt/nfa_sys.h
nt/nfa_sys_int.h
nt/nfa_sys_ptim.h
2p/nfa_p2p_act.c
2p/nfa_p2p_api.c
2p/nfa_p2p_main.c
w/nfa_rw_act.c
w/nfa_rw_api.c
w/nfa_rw_main.c
ys/nfa_sys_cback.c
ys/nfa_sys_cfg.c
ys/nfa_sys_main.c
ys/nfa_sys_ptim.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
m/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
m/nfa_dm_act.c
m/nfa_dm_api.c
m/nfa_dm_discover.c
m/nfa_dm_main.c
nclude/nfa_api.h
nt/nfa_dm_int.h
2p/nfa_p2p_main.c
09de1b298ad4237ba50018d28086c0430da8c23e 24-Aug-2013 Martijn Coenen <maco@google.com> Enable/Disable listen mode API.

Bug: 10360259
Change-Id: I57160e7073b9d625c470feff311f305dec16cb5e
m/nfa_dm_act.c
m/nfa_dm_api.c
m/nfa_dm_discover.c
m/nfa_dm_main.c
nclude/nfa_api.h
nt/nfa_dm_int.h
b4b1c46fa5346651a3554c83eb5005f942f1af0f 05-Aug-2013 Martijn Coenen <maco@google.com> Don't call into HAL for determining max num EE.

Until we figure out how to deal with HAL binary
compatibility.

Also, do init the EE subsystem even if no SEs
are present; we still want to use the EE subsystem
on the host.

Change-Id: I17aad42e75508e2d04f53107527bce5bfe099ffe
m/nfa_dm_api.c
d23e0531b6835ab75b543dd51cfe5edec8edefe4 11-Jul-2013 Evan Chu <evanchu@broadcom.com> Allow HAL side to configure nfa_ee_max_ee_cfg.

Upgrade stack to allow JNI to control whether
to enable stack's secure element features.

Change-Id: Id4162d0a97a031fb1a0625f64faef90091282b3f
m/nfa_dm_act.c
m/nfa_dm_api.c
nt/nfa_dm_int.h
d05817f02d578becbf79b46f2599126404c7b413 26-Jun-2013 Evan Chu <evanchu@broadcom.com> Upgrade to new stack.

Improve reliability when creating NCI connection for HCP.
Improve firmware download during error condition.

Change-Id: I5655d4a66d04debd4a2a91c706393e8a45d6dc59
ci/nfa_hci_main.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
m/nfa_dm_cfg.c
m/nfa_dm_discover.c
nclude/nfa_api.h
nt/nfa_dm_int.h
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
m/nfa_dm_act.c
m/nfa_dm_discover.c
e/nfa_ee_main.c
ci/nfa_hci_act.c
ci/nfa_hci_main.c
ci/nfa_hci_utils.c
nclude/nfa_snep_api.h
nt/nfa_dm_int.h
nt/nfa_hci_int.h
7c69b2723b60a59df4aaa58b13985b3483b291bf 14-May-2013 Evan Chu <evanchu@broadcom.com> Upgrade stack to NFA_MI_1.03.60.

Change-Id: Ifc970a5b68cc962e5fdfa9af11e54e569d25ef1b
m/nfa_dm_act.c
m/nfa_dm_api.c
m/nfa_dm_discover.c
nt/nfa_dm_int.h
nt/nfa_dta_int.h
nt/nfa_rw_int.h
w/nfa_rw_act.c
w/nfa_rw_api.c
w/nfa_rw_main.c
86fd6a04f7f057d7e0b9f456e567a6e2385af153 16-Apr-2013 Evan Chu <evanchu@broadcom.com> Handle RF-interface-error during sleep-wake operation.

Take more changes from main_prasadk_2163714. Fix bug in the operation
that handles a NACK response from type-2 tag.

Change-Id: Iaea8fde94acf82c0f2d63f09378d9ee2818b159c
w/nfa_rw_act.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
m/nfa_dm_discover.c
nt/nfa_dm_int.h
nt/nfa_rw_int.h
w/nfa_rw_act.c
ddf6125afc5227bbc13b6280bb3f856635e2c3c6 16-Jul-2013 Martijn Coenen <maco@google.com> Don't start a timer to update the routing table.

The NFCC may have transitioned to a power-off
state when the timer is expired, causing a command
timeout. We'll control the routing table strictly
from the higher levels.

Change-Id: Ic5fa100d2a8ba16c5c911118f38ffef0268dff8f
e/nfa_ee_act.c
45e68232b8524aca5165dca28b994ec8c11593b1 01-May-2013 Evan Chu <evanchu@broadcom.com> Send config params on HAL_NfcPreDiscover().

Bug: 8776949
Change-Id: Idbfb9c77304ce0df8521b167f25004bfd18b59d8
e/nfa_ee_act.c
e/nfa_ee_main.c
ci/nfa_hci_main.c
nt/nfa_ee_int.h
dd682fab2cc1e32cc054b86b77606365b3f8f1ee 28-Mar-2013 Martijn Coenen <maco@google.com> Notify upper layers of first LLCP packet.

Bug: 8508568
Change-Id: I09d8827d96aba39f425ce73452aa22d7b61f6f56
nclude/nfa_api.h
2p/nfa_p2p_main.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
e/nfa_ce_act.c
e/nfa_ce_api.c
e/nfa_ce_main.c
ho/nfa_cho_api.c
ho/nfa_cho_main.c
ho/nfa_cho_sm.c
ho/nfa_cho_util.c
m/nfa_dm_act.c
m/nfa_dm_api.c
m/nfa_dm_cfg.c
m/nfa_dm_discover.c
m/nfa_dm_main.c
m/nfa_dm_ndef.c
e/nfa_ee_act.c
e/nfa_ee_api.c
e/nfa_ee_main.c
ci/nfa_hci_act.c
ci/nfa_hci_api.c
ci/nfa_hci_ci.c
ci/nfa_hci_main.c
ci/nfa_hci_utils.c
nclude/nfa_api.h
nclude/nfa_ce_api.h
nclude/nfa_cho_api.h
nclude/nfa_ee_api.h
nclude/nfa_hci_api.h
nclude/nfa_hci_defs.h
nclude/nfa_mem_co.h
nclude/nfa_nv_ci.h
nclude/nfa_nv_co.h
nclude/nfa_p2p_api.h
nclude/nfa_rw_api.h
nclude/nfa_snep_api.h
nt/nfa_ce_int.h
nt/nfa_cho_int.h
nt/nfa_dm_int.h
nt/nfa_dta_int.h
nt/nfa_ee_int.h
nt/nfa_hci_int.h
nt/nfa_p2p_int.h
nt/nfa_rw_int.h
nt/nfa_snep_int.h
nt/nfa_sys.h
nt/nfa_sys_int.h
nt/nfa_sys_ptim.h
2p/nfa_p2p_act.c
2p/nfa_p2p_api.c
2p/nfa_p2p_main.c
w/nfa_rw_act.c
w/nfa_rw_api.c
w/nfa_rw_main.c
nep/nfa_snep_act.c
nep/nfa_snep_api.c
nep/nfa_snep_default.c
nep/nfa_snep_main.c
ys/nfa_sys_cback.c
ys/nfa_sys_cfg.c
ys/nfa_sys_main.c
ys/nfa_sys_ptim.c
bf6bb391ed16bde3c9512fc69ab28b2d7060954b 04-Feb-2013 Martijn Coenen <maco@google.com> Don't use AFI in 15693 INVENTORY commands.

AFI is optional and not supported by all tags. We
gain nothing by including it in the inventory command,
so remove it for both the presence check and other
calls to inventory.

Change-Id: Ida2feade8510cfd1c06b68310ed86027b4c7e1a0
w/nfa_rw_act.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
m/nfa_dm_act.c
m/nfa_dm_discover.c
nt/nfa_rw_int.h
w/nfa_rw_act.c
e9df6ba5a8fcccf306a80b1670b423be8fe7746a 13-Dec-2012 The Android Open Source Project <initial-contribution@android.com> Snapshot 7ddd630e136a035ba463c427285c5c3e9f199ee0

Change-Id: If08c7b905da667dd9e5110231e4592842b634006
e/nfa_ce_act.c
e/nfa_ce_api.c
e/nfa_ce_main.c
ho/nfa_cho_api.c
ho/nfa_cho_main.c
ho/nfa_cho_sm.c
ho/nfa_cho_util.c
m/nfa_dm_act.c
m/nfa_dm_api.c
m/nfa_dm_cfg.c
m/nfa_dm_discover.c
m/nfa_dm_main.c
m/nfa_dm_ndef.c
e/nfa_ee_act.c
e/nfa_ee_api.c
e/nfa_ee_main.c
ci/nfa_hci_act.c
ci/nfa_hci_api.c
ci/nfa_hci_ci.c
ci/nfa_hci_main.c
ci/nfa_hci_utils.c
nclude/nfa_api.h
nclude/nfa_ce_api.h
nclude/nfa_cho_api.h
nclude/nfa_ee_api.h
nclude/nfa_hci_api.h
nclude/nfa_hci_defs.h
nclude/nfa_mem_co.h
nclude/nfa_nv_ci.h
nclude/nfa_nv_co.h
nclude/nfa_p2p_api.h
nclude/nfa_rw_api.h
nclude/nfa_snep_api.h
nt/nfa_ce_int.h
nt/nfa_cho_int.h
nt/nfa_dm_int.h
nt/nfa_dta_int.h
nt/nfa_ee_int.h
nt/nfa_hci_int.h
nt/nfa_p2p_int.h
nt/nfa_rw_int.h
nt/nfa_snep_int.h
nt/nfa_sys.h
nt/nfa_sys_int.h
nt/nfa_sys_ptim.h
2p/nfa_p2p_act.c
2p/nfa_p2p_api.c
2p/nfa_p2p_main.c
w/nfa_rw_act.c
w/nfa_rw_api.c
w/nfa_rw_main.c
nep/nfa_snep_act.c
nep/nfa_snep_api.c
nep/nfa_snep_default.c
nep/nfa_snep_main.c
ys/nfa_sys_cback.c
ys/nfa_sys_cfg.c
ys/nfa_sys_main.c
ys/nfa_sys_ptim.c