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
8484 * @NFC_EVENT_SE_TRANSACTION: This event is sent when an application running on
8585 * a specific SE notifies us about the end of a transaction. The parameter
8686 * for this event is the application ID (AID).
87+ * @NFC_CMD_GET_SE: Dump all discovered secure elements from an NFC controller.
8788 */
8889 enum nfc_commands {
8990 NFC_CMD_UNSPEC,
@@ -112,6 +113,7 @@ enum nfc_commands { · 22 unmodified lines
112113 NFC_EVENT_SE_REMOVED,
113114 NFC_EVENT_SE_CONNECTIVITY,
114115 NFC_EVENT_SE_TRANSACTION,
116+ NFC_CMD_GET_SE,
115117 /* private: internal use only */
116118 __NFC_CMD_AFTER_LAST
117119 };