diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-07-24 12:10:50 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-08-13 18:35:19 -0400 |
commit | ac22ac466a659f1b2e02a2e2ee23fc5c42da2c95 (patch) | |
tree | cba9976efbda3c184719e23004552061711c5f44 /include/uapi | |
parent | 369f4d503ac12363f5d11b91f849377875d57598 (diff) |
NFC: Add a GET_SE netlink API
In order to fetch the discovered secure elements from an NFC controller,
we need to send a netlink command that will dump the list of available
SEs from NFC.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h index 539d60494c04..029921b067fd 100644 --- a/include/uapi/linux/nfc.h +++ b/include/uapi/linux/nfc.h | |||
@@ -84,6 +84,7 @@ | |||
84 | * @NFC_EVENT_SE_TRANSACTION: This event is sent when an application running on | 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 | 85 | * a specific SE notifies us about the end of a transaction. The parameter |
86 | * for this event is the application ID (AID). | 86 | * for this event is the application ID (AID). |
87 | * @NFC_CMD_GET_SE: Dump all discovered secure elements from an NFC controller. | ||
87 | */ | 88 | */ |
88 | enum nfc_commands { | 89 | enum nfc_commands { |
89 | NFC_CMD_UNSPEC, | 90 | NFC_CMD_UNSPEC, |
@@ -112,6 +113,7 @@ enum nfc_commands { | |||
112 | NFC_EVENT_SE_REMOVED, | 113 | NFC_EVENT_SE_REMOVED, |
113 | NFC_EVENT_SE_CONNECTIVITY, | 114 | NFC_EVENT_SE_CONNECTIVITY, |
114 | NFC_EVENT_SE_TRANSACTION, | 115 | NFC_EVENT_SE_TRANSACTION, |
116 | NFC_CMD_GET_SE, | ||
115 | /* private: internal use only */ | 117 | /* private: internal use only */ |
116 | __NFC_CMD_AFTER_LAST | 118 | __NFC_CMD_AFTER_LAST |
117 | }; | 119 | }; |