diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2016-04-30 09:12:52 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2016-05-04 01:48:16 +0200 |
commit | 1c53855f6be2e7da270e86cae381745ee6105eab (patch) | |
tree | f857a95fd3af940d51015654efe64f360b94d753 /include/net | |
parent | 9b8d1a4cf2aa819d606b4e423a6523fc0d4460a2 (diff) | |
download | linux-1c53855f6be2e7da270e86cae381745ee6105eab.tar.gz linux-1c53855f6be2e7da270e86cae381745ee6105eab.tar.bz2 linux-1c53855f6be2e7da270e86cae381745ee6105eab.zip |
nfc: nci: Add nci_nfcc_loopback to the nci core
For test purpose, provide the generic nci loopback function.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/nfc/nci_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h index ebb50d286ef6..87499b6b35d6 100644 --- a/include/net/nfc/nci_core.h +++ b/include/net/nfc/nci_core.h @@ -306,6 +306,8 @@ int nci_core_conn_create(struct nci_dev *ndev, u8 destination_type, size_t params_len, struct core_conn_create_dest_spec_params *params); int nci_core_conn_close(struct nci_dev *ndev, u8 conn_id); +int nci_nfcc_loopback(struct nci_dev *ndev, void *data, size_t data_len, + struct sk_buff **resp); struct nci_hci_dev *nci_hci_allocate(struct nci_dev *ndev); int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, |