1. 24 9月, 2014 1 次提交
  2. 08 9月, 2014 6 次提交
  3. 23 7月, 2014 2 次提交
    • C
      NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode · 1892bf84
      Christophe Ricard 提交于
      Support for Initiator and Target mode with ISO18092 commands support:
      - ATR_REQ/ATR_RES
      - PSL_REQ/PSL_RES
      - DEP_REQ/DEP_RES
      
      Work based on net/nfc/digital_dep.c.
      st21nfca is using:
      - Gate reader F for P2P in initiator mode.
      - Gate card F for P2P in target mode.
      
      Felica tag and p2p are differentiated with NFCID2.
      When starting with 01FE it is acting in p2p mode.
      
      On complete_target_discovered on ST21NFCA_RF_READER_F_GATE
      supported_protocols is set to NFC_PROTO_NFC_DEP_MASK
      for P2P.
      
      Tested against: Nexus S, Galaxy S2, Galaxy S3, Galaxy S3 Mini,
      Nexus 4 & Nexus 5.
      Signed-off-by: NChristophe Ricard <christophe-h.ricard@st.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      1892bf84
    • C
      NFC: st21nfca: Implement stop_poll HCI hook · d57d74eb
      Christophe Ricard 提交于
      Send DM_DISCONNECT command to disconnect Terminal Host from the HCI network.
      
      - The persistent states of the terminal host pipes, including registry values,
      are not modifies. Therefore, there is no NVRAM update to disconnect the
      terminal host.
      - The terminal host RF card gates are disabled which means that there will be no event
      related to card RF gates until communication has been restored.
      - The terminal host RF reader request is reset so the RF reader polling for terminal
      host is disabled.
      
      To restore the communication, the terminal host can send any HCI command or event.
      Signed-off-by: NChristophe Ricard <christophe-h.ricard@st.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      d57d74eb
  4. 20 5月, 2014 2 次提交
  5. 05 5月, 2014 1 次提交
  6. 22 4月, 2014 5 次提交