aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@linux.intel.com>2013-07-19 08:57:55 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-08-13 19:12:58 -0400
commit352a5f5fb3ad8f829cfd4248fe6119895bda881f (patch)
tree48cb511da5f44e083d2773ce1b1d62100c01cf49 /include/uapi
parenteab10b71a7d62d7cc6db631dba448f1d84df9b53 (diff)
NFC: netlink: Add result of firmware operation to completion event
Result is added as an NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS attribute containing the standard errno positive value of the completion result. This event will be sent when the firmare download operation is done and will contain the operation result. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nfc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h
index 029921b067fd..29bed72a4ac4 100644
--- a/include/uapi/linux/nfc.h
+++ b/include/uapi/linux/nfc.h
@@ -146,6 +146,7 @@ enum nfc_commands {
146 * @NFC_ATTR_FIRMWARE_NAME: Free format firmware version 146 * @NFC_ATTR_FIRMWARE_NAME: Free format firmware version
147 * @NFC_ATTR_SE_INDEX: Secure element index 147 * @NFC_ATTR_SE_INDEX: Secure element index
148 * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED) 148 * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED)
149 * @NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS: Firmware download operation status
149 */ 150 */
150enum nfc_attrs { 151enum nfc_attrs {
151 NFC_ATTR_UNSPEC, 152 NFC_ATTR_UNSPEC,
@@ -172,6 +173,7 @@ enum nfc_attrs {
172 NFC_ATTR_SE_INDEX, 173 NFC_ATTR_SE_INDEX,
173 NFC_ATTR_SE_TYPE, 174 NFC_ATTR_SE_TYPE,
174 NFC_ATTR_SE_AID, 175 NFC_ATTR_SE_AID,
176 NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS,
175/* private: internal use only */ 177/* private: internal use only */
176 __NFC_ATTR_AFTER_LAST 178 __NFC_ATTR_AFTER_LAST
177}; 179};