summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2011-11-07 12:38:02 -0800
committerNick Pelly <npelly@google.com>2011-11-07 12:57:26 -0800
commit6695fc6d669405f4f5b66f3101b331c12cc640c8 (patch)
tree014c1db949fec0ef5de5fe9a5f8eaa384e1520bc
parent13b768a757f0a49de427bb206eb582d00299f281 (diff)
downloaddevice_samsung_tuna-6695fc6d669405f4f5b66f3101b331c12cc640c8.zip
device_samsung_tuna-6695fc6d669405f4f5b66f3101b331c12cc640c8.tar.gz
device_samsung_tuna-6695fc6d669405f4f5b66f3101b331c12cc640c8.tar.bz2
Update EEPROM for FW 109.12, and enable low power polling retry mechanism.
4 retries. Bug: 5515083 Change-Id: I5602aab8313e4b790b2cabbfc44da7a0813a3bd9
-rw-r--r--nfc/nfc_hw.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/nfc/nfc_hw.c b/nfc/nfc_hw.c
index 4144218..b77a9b6 100644
--- a/nfc/nfc_hw.c
+++ b/nfc/nfc_hw.c
@@ -44,10 +44,16 @@ static uint8_t pn544_eedata_settings[][4] = {
,{0x00,0x99,0x23,0x00} // Default Value is 0x01
// Low-power polling
- ,{0x00,0x9E,0x74,0xC0} // Default Value is 0x00, bits 0->2: sensitivity (0==max, 6==min),
+ ,{0x00,0x9E,0x74,0xB0} // Default Value is 0x00, bits 0->2: sensitivity (0==max, 6==min),
// bit 3: RFU,
- // bits 4->6 hybrid low-power: # of low-power polls per regular poll
+ // bits 4,5 hybrid low-power: # of low-power polls per regular poll
+ // bit 6: RFU
// bit 7: (0 -> disabled, 1 -> enabled)
+ ,{0x00,0x9E,0x7D,0xB0} // bits 0->3: RFU,
+ // bits 4,5: # retries after low power detection
+ // 0=1 retry, 1=2 retry, 2=3 retry, 3=4 retry
+ // bit 6: RFU,
+ // bit 7: Enable or disable retry mechanism (0: disable, 1: enable)
,{0x00,0x9F,0x28,0x01} // bits 0->7: # of measurements per low-power poll
// Polling Loop - Card Emulation Timeout