diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-05-10 15:28:38 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-14 13:44:58 +0200 |
commit | fed7c25ec0d4894edfc36bbe5c5231e52f45483a (patch) | |
tree | f481af4d3a05bd2f1b707a074cc49cf2d4a9f93b /include/uapi/linux/nfc.h | |
parent | 0a946301c2d3eac8673e556df820c0b6023ac6c3 (diff) | |
download | op-kernel-dev-fed7c25ec0d4894edfc36bbe5c5231e52f45483a.zip op-kernel-dev-fed7c25ec0d4894edfc36bbe5c5231e52f45483a.tar.gz |
NFC: Add secure elements addition and removal API
This API will allow NFC drivers to add and remove the secure elements
they know about or detect. Typically this should be called (asynchronously
or not) from the driver or the host interface stack detect_se hook.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/uapi/linux/nfc.h')
-rw-r--r-- | include/uapi/linux/nfc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h index fb304fb..3a57cef 100644 --- a/include/uapi/linux/nfc.h +++ b/include/uapi/linux/nfc.h @@ -199,10 +199,12 @@ enum nfc_sdp_attr { #define NFC_PROTO_ISO14443_B_MASK (1 << NFC_PROTO_ISO14443_B) /* NFC Secure Elements */ -#define NFC_SE_NONE 0x0 #define NFC_SE_UICC 0x1 #define NFC_SE_EMBEDDED 0x2 +#define NFC_SE_DISABLED 0x0 +#define NFC_SE_ENABLED 0x1 + struct sockaddr_nfc { sa_family_t sa_family; __u32 dev_idx; |