History

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.

Samuel Ortiz committed 13 years ago

Commit ac22ac41 parent 369f4d52 files · +93 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nfc.h+2−0
@@ -84,6 +84,7 @@ · 83 unmodified lines
84 * @NFC_EVENT_SE_TRANSACTION: This event is sent when an application running on84 * @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 parameter85 * 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 */
88enum nfc_commands {89enum nfc_commands {
89 NFC_CMD_UNSPEC,90 NFC_CMD_UNSPEC,
@@ -112,6 +113,7 @@ enum nfc_commands { · 22 unmodified lines
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_LAST118 __NFC_CMD_AFTER_LAST
117};119};