summaryrefslogtreecommitdiff
path: root/net/nfc/nfc.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-05-10 18:15:32 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-14 15:45:01 +0400
commitc531c9ec2969860c98a8a47f501c4874278388d3 (patch)
tree34aaa44a59a07980ac9f615381924221f110cf59 /net/nfc/nfc.h
parentee656e9d0993144f4e4ad261aefeeaab9554cd3f (diff)
downloadlinux-c531c9ec2969860c98a8a47f501c4874278388d3.tar.xz
NFC: Add secure element enablement internal API
Called via netlink, this API will enable or disable a specific secure element. When a secure element is enabled, it will handle card emulation and more generically ISO-DEP target mode, i.e. all target mode cases except for p2p target mode. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/nfc.h')
-rw-r--r--net/nfc/nfc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h
index a6aeee094aa4..ee85a1fc1b24 100644
--- a/net/nfc/nfc.h
+++ b/net/nfc/nfc.h
@@ -147,4 +147,7 @@ int nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx);
int nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb,
data_exchange_cb_t cb, void *cb_context);
+int nfc_enable_se(struct nfc_dev *dev, u32 se_idx);
+int nfc_disable_se(struct nfc_dev *dev, u32 se_idx);
+
#endif /* __LOCAL_NFC_H */