summaryrefslogtreecommitdiff
path: root/net/nfc/nfc.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-02-08 09:22:25 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-08 09:22:25 +0300
commit3c09e92fb6b94b7597442c1f232a260c35b30698 (patch)
treed26115f0e99cb8e5529e0fd37596b0d4592511b2 /net/nfc/nfc.h
parent020219a69d40a205dad12b0ea1e6a46153793368 (diff)
parentfa00e8fed457841cb24219dbe3cfba7d56de6317 (diff)
downloadlinux-3c09e92fb6b94b7597442c1f232a260c35b30698.tar.xz
Merge tag 'nfc-next-3.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/nfc-next
NFC: 3.20 second pull request This is the second NFC pull request for 3.20. It brings: - NCI NFCEE (NFC Execution Environment, typically an embedded or external secure element) discovery and enabling/disabling support. In order to communicate with an NFCEE, we also added NCI's logical connections support to the NCI stack. - HCI over NCI protocol support. Some secure elements only understand HCI and thus we need to send them HCI frames when they're part of an NCI chipset. - NFC_EVT_TRANSACTION userspace API addition. Whenever an application running on a secure element needs to notify its host counterpart, we send an NFC_EVENT_SE_TRANSACTION event to userspace through the NFC netlink socket. - Secure element and HCI transaction event support for the st21nfcb chipset. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc/nfc.h')
-rw-r--r--net/nfc/nfc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h
index 88d60064890e..a8ce80b47720 100644
--- a/net/nfc/nfc.h
+++ b/net/nfc/nfc.h
@@ -100,6 +100,8 @@ int nfc_genl_llc_send_sdres(struct nfc_dev *dev, struct hlist_head *sdres_list);
int nfc_genl_se_added(struct nfc_dev *dev, u32 se_idx, u16 type);
int nfc_genl_se_removed(struct nfc_dev *dev, u32 se_idx);
+int nfc_genl_se_transaction(struct nfc_dev *dev, u8 se_idx,
+ struct nfc_evt_transaction *evt_transaction);
struct nfc_dev *nfc_get_device(unsigned int idx);