1. 05 Aug, 2013 22 commits
    • Paul Chaisson's avatar
      Revert the default Max EE constant to 3. · 8fa9bced
      Paul Chaisson authored
      After upgrading to NFA 1.3.62 we took the change to set the max
      number of EE to be 4 (to support 20795).  But the value must
      remain at 3 for the current set of chips.  We'll need to add
      dynamic support later (or .conf file entry can be used).
      
      Change-Id: If706e345b92a8e7630ad1cc4fdbfe908bceabae8
      8fa9bced
    • Evan Chu's avatar
      Upgrade to new stack. · d05817f0
      Evan Chu authored
      Improve reliability when creating NCI connection for HCP.
      Improve firmware download during error condition.
      
      Change-Id: I5655d4a66d04debd4a2a91c706393e8a45d6dc59
      d05817f0
    • Evan Chu's avatar
      Add support for BCM20795 using XTAL of 26khz. · f8de60cb
      Evan Chu authored
      Updated the HAL device init configuration to include and entry
      for 20795 to set the proper XTAL frequency/index.
      By Paul Chaisson
      
      Change-Id: I00c156822ccc9705a8a2ea670d65c204b05e5290
      f8de60cb
    • Evan Chu's avatar
      Fix deadlock in GKI_getbuf when out of buffer. · c2eeefe7
      Evan Chu authored
      By Kevin Park. GKI_getbuf is executed in critical section.
      Sometimes, when GKI getbuf fails due to low memory,
      code logic in GKI_getbuf just returns NULL without releasing lock.
      This introduces deadlock situation.
      So fixed the code to call GKI_enable before returning.
      
      Increasing GKI buf pool size for the
      specific condition like system very busy on first boot.
      
      Change-Id: I8c7de8d0f472f5dfa41a43c08c30025de4e073c4
      c2eeefe7
    • Evan Chu's avatar
      Ability to adjust RF discovery frequency for each technology. · 91ada91f
      Evan Chu authored
      Stack adds ability to adjust RF discovery frequencies.
      
      Change-Id: I3c9a843c83c3a86181e7c8726b95c9f6517d8706
      91ada91f
    • Paul Chaisson's avatar
      Fix device id for 43341 after stack update. · 45e4bfb9
      Paul Chaisson authored
      The stack modified the HAL to only compare the chip generation
      (e.g."43341") instead of including the chip revision, when trying
      to determine if the XTAL frequency needs to be updated.
      
      Change-Id: Iab31706f67d8bab7927ae3180aec8fc36a745b47
      45e4bfb9
    • Paul Chaisson's avatar
      Cleanup unused conf values. · 13ccf4eb
      Paul Chaisson authored
      Remove unused values from config.h:
      -ENABLE_BRCM_EXTRAS_API
      -LOG_TO_FILE
      -LOGCAT_FILTER
      -NFA_DM_ENABLE_SLEEP
      
      Change-Id: If850c16a3bdac22b9535b27d9a4f3e103442303f
      13ccf4eb
    • Evan Chu's avatar
      Upgrade stack to NFA_MI_1.03.62. · df5080d7
      Evan Chu authored
      .conf variable SPD_IGNORE_VERSION is removed.  Stack always download
      firmware if a difference is detected.
      
      Change-Id: I2a5e21254e6c0df7829506c1c3c2f6ffa44c0048
      df5080d7
    • Evan Chu's avatar
      Upgrade stack to NFA_MI_1.03.60. · 7c69b272
      Evan Chu authored
      Change-Id: Ifc970a5b68cc962e5fdfa9af11e54e569d25ef1b
      7c69b272
    • Evan Chu's avatar
      MPS Coverity 27471 fix. · c9e1e1ef
      Evan Chu authored
      Change-Id: Ifd54edaa0da38a637c2c010ed59f99974c0fc901
      c9e1e1ef
    • Evan Chu's avatar
      Remove UPIO_Set() each time userial writes to transport. · f3e98a5b
      Evan Chu authored
      This logic is no longer needed.
      
      Change-Id: I490e20ec599213f73aeddbaa9f99958854c08e8b
      f3e98a5b
    • Evan Chu's avatar
      MPS Coverity reports · d8f9332b
      Evan Chu authored
      Fix potential problems discovered by MPS team's Coverity static analyzer.
      CID 14304, 10630, 10626, 23660, 23655, 23654.
      
      Change-Id: Iec34fd793b44710fa971175cd058e87ab17c76cc
      d8f9332b
    • Evan Chu's avatar
      Adjust one or both TLV T=0xC2 configurations. · fca15e56
      Evan Chu authored
      The TLV with T=0xC2 can be sent from one or two locations in the code.
      Add ability to dynamically adjust the TLV's value at both locations.
      This adjustment is needed to disable one or both secure elements.
      
      Change-Id: I404c4afa350daf571542b83cf0a1b80fa1645073
      fca15e56
    • Evan Chu's avatar
      When preserving non-volatile storage files, detect corruption. · 5a7e857a
      Evan Chu authored
      When non-volatile storage files are preserved during cold boot,
      JNI must detect corruption in their contents by verifying their
      checksums.
      
      Change-Id: I191ac013f12dabda43e590449a80523bc42c0c90
      5a7e857a
    • Evan Chu's avatar
      Output software version strings. · 0976d370
      Evan Chu authored
      Change-Id: I4be1b5f970300bdf23400be678d802beba65a5d7
      0976d370
    • Evan Chu's avatar
      Handle RF-interface-error during sleep-wake operation. · 86fd6a04
      Evan Chu authored
      Take more changes from main_prasadk_2163714.  Fix bug in the operation
      that handles a NACK response from type-2 tag.
      
      Change-Id: Iaea8fde94acf82c0f2d63f09378d9ee2818b159c
      86fd6a04
    • Sheng-Hui J. Chu's avatar
      Do not need to check the return code from IOCTL. · 2c952b4d
      Sheng-Hui J. Chu authored
      It's always 0, moved change client address logic to USERIAL.
      
      Change-Id: If5e46c35a8dcb9c2007611043912815ca436137a
      2c952b4d
    • Evan Chu's avatar
      Upgrade to new stack NFA_MP_1.03.1 · c95c79cc
      Evan Chu authored
      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
      c95c79cc
    • Evan Chu's avatar
      Updated version files for NFCDROID_MI_422.10.0.6 · 4a97d925
      Evan Chu authored
      Change-Id: Ia9c970bdf761c776df99392e65c6ff4607746524
      4a97d925
    • Evan Chu's avatar
      Handle a corrupted firmware file. · ef9d04e0
      Evan Chu authored
      When encountering a corrupted firmware file, power-cycle the controller
      and tell stack not to download it during next initialization.
      Re-initialize HAL.
      
      Change-Id: I5d330da4f3666a53ac6336b2d6643e5bf6383ffd
      ef9d04e0
    • Evan Chu's avatar
      Store checksum in non-volatile store to detect corruption. · edbfba90
      Evan Chu authored
      Store 2-byte checksum in the first two bytes of the non-volatile store.
      If corruption is detected, delete all content in non-volatile store.
      
      Change-Id: I79ca57796da1950a430064e50752c4a9fae6d05e
      edbfba90
    • Evan Chu's avatar
      NAME_SNOOZE_MODE_CFG shall be chip-specific · a6652474
      Evan Chu authored
      The NAME_SNOOZE_MODE_CFG variable shall be defined in the
      chip-specific .conf.
      
      Change-Id: I17a86ede4b8bb365f811138d8e37219b52ae8cb7
      a6652474
  2. 23 Jul, 2013 2 commits
  3. 16 Jul, 2013 1 commit
    • Martijn Coenen's avatar
      Don't start a timer to update the routing table. · ddf6125a
      Martijn Coenen authored
      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
      ddf6125a
  4. 18 Jun, 2013 1 commit
  5. 02 May, 2013 3 commits
  6. 10 Apr, 2013 3 commits
  7. 07 Apr, 2013 1 commit
    • Martijn Coenen's avatar
      Reduce patch auth timeout to 6 seconds for BCM2079xB3. · 201c42e6
      Martijn Coenen authored
      Increasing this timeout lead to watchdog timeouts for
      B3-based products - most notably Manta's with bad
      firmware 92. Only increase to 30 seconds for newer
      revisions of the chip.
      
      Change-Id: I3c13d690ed29786c3458aefbe8b24732f8dd1b11
      201c42e6
  8. 06 Apr, 2013 1 commit
    • Paul Chaisson's avatar
      Allow for adjusting NFCC Enable Timeout · 0eb7353a
      Paul Chaisson authored
      Added NFCC_ENABLE_TIMEOUT which adjusts the time the HAL
      layer waits for a RESET NTF after setting REG_PU high
      before it allows the stack to start up.  The default is
      1000ms since newer chips should send the NTF sooner.  It
      can be adjusted to be lower on older chips to improve
      start-up time.
      
      Change-Id: Ic0a5b52ef7c9592ffea7a13eead234b68f3060c0
      0eb7353a
  9. 30 Mar, 2013 1 commit
  10. 27 Mar, 2013 1 commit
    • Martijn Coenen's avatar
      Latest NFC stack-drop from Broadcom. · 5c65c3a0
      Martijn Coenen authored
      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
      5c65c3a0
  11. 11 Mar, 2013 1 commit
  12. 04 Feb, 2013 2 commits
    • Martijn Coenen's avatar
      Don't use AFI in 15693 INVENTORY commands. · bf6bb391
      Martijn Coenen authored
      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
      bf6bb391
    • Evan Chu's avatar
      Do not require getSystemInfo() for ISO15693 tags. · 85b7e84f
      Evan Chu authored
      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
      85b7e84f
  13. 13 Dec, 2012 1 commit