]> git.karo-electronics.de Git - linux-beck.git/commit
NFC: nci: Support all destinations type when creating a connection
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 3 Feb 2015 18:48:05 +0000 (19:48 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 4 Feb 2015 08:10:50 +0000 (09:10 +0100)
commitb16ae7160a836c4a1e443ea6efca31421e86bae1
tree8d4185e4b41b0d71f5abe293c3183068a129a86c
parent12bdf27d46c9d5e490fa164551642e065105db78
NFC: nci: Support all destinations type when creating a connection

The current implementation limits nci_core_conn_create_req()
to only manage NCI_DESTINATION_NFCEE.
Add new parameters to nci_core_conn_create() to support all
destination types described in the NCI specification.
Because there are some parameters with variable size dynamic
buffer allocation is needed.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/st21nfcb_se.c
include/net/nfc/nci.h
include/net/nfc/nci_core.h
net/nfc/nci/core.c