c67f72f38f9c22b8a3c217a0807b40f2eda78f08 |
|
09-Mar-2012 |
Ramanan Rajeswaran <ramanan@google.com> |
Replace loge with aloge. Change-Id: Ie2a90be2152c28029990f5e4db5dffd5928fd030
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
eee41c4238e2a6101d2b701184ba7a6b4ea60339 |
|
09-Mar-2012 |
Rakesh Goyal <rgoyal@nvidia.com> |
am da7d267e: am 3f791036: nfc-hal: generalize error handling in Reader thread. * commit 'da7d267e855affe83c0bc5958292fe74d6e27d7e': nfc-hal: generalize error handling in Reader thread.
|
3f791036276b6f535ad253dd25650fad60c72695 |
|
27-Jan-2012 |
Rakesh Goyal <rgoyal@nvidia.com> |
nfc-hal: generalize error handling in Reader thread. If host runs faster than the nfc chip, it tries to read response immediately. In this scenario nfc chip responds back with it's read address and software should ignore this data and retry. This patch generalizes the retry mechanism to accomodate other versions of the nfc chip. Change-Id: I3e18e34fd3edf6ed0a7f302a6be9321ab8ed7875
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
a12acb119fa8cda91ca23d191b41b9438402e4d1 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I935ee4450e2e62ced1537bafb787ad402cfcb69c
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
b99be65c277b0cc65a00a33e784ed49461531737 |
|
02-Nov-2011 |
Martijn Coenen <maco@google.com> |
Use NFC HAL for some libnfc settings. The NFC HAL in libhardware allows us to store and retrieve product-specific settings. This patch moves two product-specific settings to the HAL: the device port, and the usage of the i2c workaround we had for crespo. This means configuring the port no longer needs to be done from JNI land. Change-Id: I2e19b6f188f808bc2f2a1f1abc28f2a6c47e6a4c
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
5ea62ad25e2050f543d8e2104f5ffc1bb2c1ef28 |
|
20-Oct-2011 |
Nick Pelly <npelly@google.com> |
Fixes to LLC and DAL to handle unreliable UART. Use a 100ms timeout in uart_read() when reading LLC payload only. Allow 200 retries on host. Note that we use pn544 timeout retransmit instead of an explicit REJ (do not use CRC_ERROR_REJ). The reason is that after a dropped frame, a host timeout on read() is the only reliable way to recover frame alignment, but if we send an immediate REJ then we are constantly reading and can never regain frame alignment. Also note that the pn544 timeout (200ms) is higher than the host (100ms). This allows the host to abort a partial read and return to known state before the pn544 re-transmits. We have to turn off timeout for FW mode. Typical read time is ~100ms, but some are 1 second+ Modify DAL & LLC layer to more reliably handle partial frames by searching for a LLC length byte again, and log the various error paths. Also introduce debugging tools: debug.nfc.LOW_LEVEL_TRACES 2 Will enable LLC header decoding in the trace output. Only read at NFC init time, use /data/local.prop to enable. debug.nfc.UART_ERROR_RATE X Will randomly inject errors at the uart transport, with a probability of X/1000 for every byte. 50% of those errors will be a dropped byte, 50% will be corrupted. Recommend X=10. FW mode can't handle any errors. Can be enabled after boot. adb shell dumpsys nfc Will now print the number of errors detected at the LLC layer. Change-Id: I739ed193e3d4caa563a866b6a9d834c154917962
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
71b688d07db1e7fd32a1e02f29b9779f0d0db377 |
|
13-Sep-2011 |
Jeff Hamilton <jham@android.com> |
Merge commit 'df34eb0e' into manualmerge Change-Id: I9807e540bad19933452f4a9f86b74021265f29cf
|
df82c4dd7c6d5ad232b5628edf73aa9ea3f8c2c0 |
|
01-Sep-2011 |
Daniel TOMAS <dtomas.nxp@gmail.com> |
Patch to add an API to load a FW image in the libnfc This new API permit to load the PN544 FW image when a download is needed at boot time. Change-Id: I2b3406d7ae0f0211123bd680ef914e9948c81eef
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
fafed3cea5231f76bcebbe95b9d3b7c2ca69483d |
|
24-Jun-2011 |
Nick Pelly <npelly@google.com> |
Improve LOW_LEVEL_TRACES logging. Log ALL buffers (including size 1 and long buffers). Use a more concise format. This is helpful for debugging FW download failures. Change-Id: I97370e8daf93ce851a036274ffa2856af05b6941
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
34ff48f6cd6595a899e05fbd56f4c84891840d3f |
|
27-Jun-2011 |
Nick Pelly <npelly@google.com> |
libnfc spring cleaning o Fix most libnfc warnings, from 360 to 18 o Make DAL_DEBUG much less verbose and more useful o Clean up Android.mk Done with minimal textual diff to minimize merge conflicts. Change-Id: I918645500723ff7bb092ad9959628fcabac45bec
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
d4cb91ee6f74f187cc0e7ba9dc073b0a77c27dfa |
|
23-Jun-2011 |
Nick Pelly <npelly@google.com> |
Implement power control and firmware download for UART. Also clean up some UART and I2C DAL functions. o Re-enable FW download o Use /system/vendor/firmware for pn544 firmware now o Clean up read() and write() paths for both I2C and UART o Use new sysfs entry for power and FW control on I2C platforms o Remove userspace sleep()'s on power control toggle. They are now done in the kernel as they should be. Change-Id: I39956d36e02c1eb526a5c546bd3cb74edce4ff18
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
23482d091c046310ef4c57f625c67e0d0e776500 |
|
18-Jun-2011 |
Nick Pelly <npelly@google.com> |
Do not allow run-time LOW_LEVEL_TRACES on user builds. Change-Id: Ie78432b46ded168c72b5f00dd05ea72287ab155d
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
4b276c94d7a3286d8b73fdbd975053651b4cf989 |
|
15-Jun-2011 |
Nick Pelly <npelly@google.com> |
Misc changes for Nexus Prime bringup. o Fix uart read() implementation o Temporarily disable firmware update o Rename ttySx to ttyOx (this should be properly abstracted later) o Bug fix in #ifdef code o Update verbose logging arguments Change-Id: I87814e2be9ddbf5036d5586a2fd82311d56ec47f
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
d66c8b1a1229874700976e4d1c583519ec58fa45 |
|
09-Jun-2011 |
Nick Pelly <npelly@google.com> |
am 252aedb3: am 6a7a2870: am 99141cdd: Sleep 500us between i2c writes, as per latest advice from NXP. * commit '252aedb3edd2c04adedeb5c9f8369af504411dad': Sleep 500us between i2c writes, as per latest advice from NXP.
|
4812a72ceaada294477b4c2015c42cb8bcbe93a4 |
|
07-Jun-2011 |
Nick Pelly <npelly@google.com> |
Patch to dynamically enable NFC LOW_LEVEL_TRACES low level traces can be enabled at run-time with: adb shell setprop debug.nfc.LOW_LEVEL_TRACES 1 and disabled with adb shell setprop debug.nfc.LOW_LEVEL_TRACES 0 NFC must be turned off and on again for this change to take affect. Change-Id: Iefdc4873b3ee5bc697f34b307c22c06a6eda0667 Signed-off-by: Nick Pelly <npelly@google.com>
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
99141cdd942973bc0cb8ef208ef717b14eb73b8e |
|
08-Jun-2011 |
Nick Pelly <npelly@google.com> |
Sleep 500us between i2c writes, as per latest advice from NXP. This should fix pn544 lock-ups seen during wired-mode stress tests. Change-Id: I606b5909338dc889a475ad880df8646546b9ba40
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
ffef684400a6420e365efeb77f5fffb747045c35 |
|
25-May-2011 |
Nick Pelly <npelly@google.com> |
Merge "Guard some code by LOW_LEVEL_TRACES; see c1f33130d9d2100e6232f8f3c782949c75205be6" into gingerbread
|
8a89297a74530b7fcea8fdc41ddf6ba01e2ccd9f |
|
25-May-2011 |
Robert Tsai <robtsai@google.com> |
Guard some code by LOW_LEVEL_TRACES; see c1f33130d9d2100e6232f8f3c782949c75205be6 Change-Id: I8c2bd923d9dedf89c784199f03fba0e2cfc12009
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
74decc93d868ec1a8f3975a4ce3d1548c6ec6d8f |
|
23-May-2011 |
Nick Pelly <npelly@google.com> |
Do not wait 3ms before each write. NXP have confirmed that 3ms delay is only needed for writes destined for SWP. Change-Id: I90a5229dbb738e1f00d37a052c7ac55e0e9d215c
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
c1f33130d9d2100e6232f8f3c782949c75205be6 |
|
21-Apr-2011 |
Daniel Tomas <dtomas.nxp@gmail.com> |
Patch to enable low level traces. This patch permit to display the NFC frames exchanged through the I2C line. To enable that, you just need to enable LOW_LEVEL_TRACES macro. Change-Id: Ica2ff2e6d111b76c056161ec557346f23d21ada0
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
92c7e0144b84a27b4573043fef718a8ba458d062 |
|
08-May-2011 |
Nick Pelly <npelly@google.com> |
Retry i2c read 5 times on i2c read error. Change-Id: I9fd0291bfd8ba9d26a0c93bc14d7184a9a188b90
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
e5201c1575b080d023a36ed36edd8017f5c4ce28 |
|
21-Apr-2011 |
Daniel Tomas <dtomas.nxp@gmail.com> |
Patch to perform a recover in case of a transaction failure This patch permit to perform a recovery when a transaction failure is detected. To detect this exception, we are filtering the Ox57 bytes because this means that the IRQ line is high but no data is available from PN544. Change-Id: Ibb55ea3db2bc6cdff2c5b28bbe2127250c5637a8
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
5e97605ca8d83414b122bae72e65ea388b66718a |
|
09-Dec-2010 |
daniel_Tomas <daniel.tomas@trusted-logic.com> |
Download feature added in the libnfc Change-Id: Idfed8c90453a0acc7fa632f62a1e20617b4ae7f6
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
73fcd52e49db49449613035a3bce8b04d9890f72 |
|
03-Dec-2010 |
daniel_Tomas <daniel.tomas@trusted-logic.com> |
Fix to increase the stability of the Init/Deint action Change-Id: I89e08ab079a6c0a83cd5a128ecfee2026411af15
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
e7f38d39c75da44b181ef924d215411e048a5848 |
|
28-Oct-2010 |
Jeff Hamilton <jham@android.com> |
Patch from NXP. New Dal implementation Change-Id: Ib9fe02224daa65a59a87fcd7b5cd8506fca0f3ab
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
3e98767aaf73b4779a2bb39601806045b2ba1739 |
|
28-Oct-2010 |
Jeff Hamilton <jham@android.com> |
Patch from NXP. Libnfc - Download,Reset mode management and driver workaround with delay Change-Id: I736e5f50db749c9570b24194fe3963efbacc5c52
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
8763a1998eee9b43169bf0824a77b00b3b88a938 |
|
27-Oct-2010 |
Nick Pelly <npelly@google.com> |
Assign names to reader and writer thread so its easier to debug them. Change-Id: I2580675e2002546ac28a6a3a5ced7683af9448d9 Signed-off-by: Nick Pelly <npelly@google.com>
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
0fb8aa8edcde194a1ac5e6116a6ce7ee374122b6 |
|
10-Oct-2010 |
goodsc.lee <goodsc.lee@samsung.com> |
STANDBY mode and Polling loop Change-Id: Ib6563a94b29c7eb9de6615881eadbdf0e94994c8 S5PC11X: NFC: Enable the STANDBY mode and add enableDiscovery and disableDiscovery for polling loop.
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|
5d9927ba30ba449badb9f6df0fbeb4d6aedc6e2a |
|
23-Sep-2010 |
Nick Pelly <npelly@google.com> |
Initial libnfc checkin Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010) Change-Id: Ie47f18423f949a8d3e0815d13f55c814312add24 Signed-off-by: Nick Pelly <npelly@google.com>
/external/libnfc-nxp/Linux_x86/phDal4Nfc.c
|