aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/uapi/linux/nfc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h
index 40ada984cb78..539d60494c04 100644
--- a/include/uapi/linux/nfc.h
+++ b/include/uapi/linux/nfc.h
@@ -76,6 +76,14 @@
76 * an embedded SE or an UICC one connected to it through SWP. 76 * an embedded SE or an UICC one connected to it through SWP.
77 * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from 77 * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from
78 * the system, as a consequence of e.g. an NFC controller being unplugged. 78 * the system, as a consequence of e.g. an NFC controller being unplugged.
79 * @NFC_EVENT_SE_CONNECTIVITY: This event is emitted whenever a secure element
80 * is requesting connectivity access. For example a UICC SE may need to
81 * talk with a sleeping modem and will notify this need by sending this
82 * event. It is then up to userspace to decide if it will wake the modem
83 * up or not.
84 * @NFC_EVENT_SE_TRANSACTION: This event is sent when an application running on
85 * a specific SE notifies us about the end of a transaction. The parameter
86 * for this event is the application ID (AID).
79 */ 87 */
80enum nfc_commands { 88enum nfc_commands {
81 NFC_CMD_UNSPEC, 89 NFC_CMD_UNSPEC,
@@ -102,6 +110,8 @@ enum nfc_commands {
102 NFC_CMD_FW_DOWNLOAD, 110 NFC_CMD_FW_DOWNLOAD,
103 NFC_EVENT_SE_ADDED, 111 NFC_EVENT_SE_ADDED,
104 NFC_EVENT_SE_REMOVED, 112 NFC_EVENT_SE_REMOVED,
113 NFC_EVENT_SE_CONNECTIVITY,
114 NFC_EVENT_SE_TRANSACTION,
105/* private: internal use only */ 115/* private: internal use only */
106 __NFC_CMD_AFTER_LAST 116 __NFC_CMD_AFTER_LAST
107}; 117};
@@ -159,6 +169,7 @@ enum nfc_attrs {
159 NFC_ATTR_FIRMWARE_NAME, 169 NFC_ATTR_FIRMWARE_NAME,
160 NFC_ATTR_SE_INDEX, 170 NFC_ATTR_SE_INDEX,
161 NFC_ATTR_SE_TYPE, 171 NFC_ATTR_SE_TYPE,
172 NFC_ATTR_SE_AID,
162/* private: internal use only */ 173/* private: internal use only */
163 __NFC_ATTR_AFTER_LAST 174 __NFC_ATTR_AFTER_LAST
164}; 175};