diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-05-10 16:15:32 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-14 13:45:01 +0200 |
commit | c531c9ec2969860c98a8a47f501c4874278388d3 (patch) | |
tree | 34aaa44a59a07980ac9f615381924221f110cf59 /net/nfc/nfc.h | |
parent | ee656e9d0993144f4e4ad261aefeeaab9554cd3f (diff) | |
download | linux-c531c9ec2969860c98a8a47f501c4874278388d3.tar.gz linux-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.h | 3 |
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 */ |