OSDN Git Service

NFC: nci: Add HCI over NCI protocol support
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 1 Feb 2015 21:26:14 +0000 (22:26 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 2 Feb 2015 20:50:40 +0000 (21:50 +0100)
commit11f54f228643d0248ec00ce8c9fb8d872f87e7b8
tree5cf467e89367c99bff3565669ee777dc8d5cad8f
parent736bb9577407d3556d81c3c3cd57581cd3ae10ea
NFC: nci: Add HCI over NCI protocol support

According to the NCI specification, one can use HCI over NCI
to talk with specific NFCEE. The HCI network is viewed as one
logical NFCEE.
This is needed to support secure element running HCI only
firmwares embedded on an NCI capable chipset, like e.g. the
st21nfcb.
There is some duplication between this piece of code and the
HCI core code, but the latter would need to be abstracted even
more to be able to use NCI as a logical transport for HCP packets.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nci_core.h
net/nfc/nci/Makefile
net/nfc/nci/core.c
net/nfc/nci/hci.c [new file with mode: 0644]
net/nfc/nci/ntf.c