1. 10 Sep, 2013 1 commit
    • Evan Chu's avatar
      Fix memory leak. · 1ba9dccc
      Evan Chu authored
      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
      1ba9dccc
  2. 29 Aug, 2013 1 commit
  3. 27 Aug, 2013 1 commit
  4. 14 Aug, 2013 1 commit
  5. 05 Aug, 2013 27 commits
    • Martijn Coenen's avatar
      Don't call into HAL for determining max num EE. · b4b1c46f
      Martijn Coenen authored
      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
      b4b1c46f
    • Evan Chu's avatar
      nfca_version_string = NFCDROID_MI_422.10.0.15 · b12873e7
      Evan Chu authored
      Change-Id: I513ff28608bfbdc3725af9a6e705669c3e693cc7
      b12873e7
    • Paul Chaisson's avatar
      Support chip-specific max EE setting and configuring 0 EE. · b20cbf35
      Paul Chaisson authored
      Added 'get_max_ee' to the HAL interface to allow the NFC stack to
      inquire the HAL layer of the maximum number of EE on the platform.
      
      Added the necessary HAL interface to allow the stack to get the maximum
      number of EE on the system.  This allows the system to dynamically set
      this value at run-time in order to support chip-specific differences
      in the number of EE on the platform.
      
      Change-Id: I3ff00d117d715b1f46636501932ff92accc39483
      b20cbf35
    • Evan Chu's avatar
      Allow HAL side to configure nfa_ee_max_ee_cfg. · d23e0531
      Evan Chu authored
      Upgrade stack to allow JNI to control whether
      to enable stack's secure element features.
      
      Change-Id: Id4162d0a97a031fb1a0625f64faef90091282b3f
      d23e0531
    • Evan Chu's avatar
      Presence-check times out for Mifare Ultralight 64-byte tag. · e75b11bf
      Evan Chu authored
      Sometimes presence-check times out when reading the tag.  Therefore, use
      a longer timeout.
      
      Change-Id: I905b36b64fc076adaf94418fc0ce121991c21866
      e75b11bf
    • 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
  6. 23 Jul, 2013 2 commits
  7. 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
  8. 18 Jun, 2013 1 commit
  9. 02 May, 2013 3 commits
  10. 10 Apr, 2013 2 commits