diff options
author | Ilan Elias <ilane@ti.com> | 2011-12-22 04:51:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-04 14:30:43 -0500 |
commit | 288e0713f469c03dbc412153b5341d6dfc2c9907 (patch) | |
tree | 1155f2d96309acb17a23d4a384417c5de3940647 /include/linux/nfc.h | |
parent | 9931df2692ddb7db092550ce063e674730176ecf (diff) |
NFC: Export a new attribute nfcid1 in target info
The nfcid1 is the NFC-A identifier.
It is exported as an attribute of the target info
(returned as a response to NFC_CMD_GET_TARGET).
Signed-off-by: Ilan Elias <ilane@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nfc.h')
-rw-r--r-- | include/linux/nfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfc.h b/include/linux/nfc.h index 89fee4ab1904..01d4e5d60325 100644 --- a/include/linux/nfc.h +++ b/include/linux/nfc.h | |||
@@ -88,6 +88,7 @@ enum nfc_commands { | |||
88 | * @NFC_ATTR_TARGET_SENS_RES: NFC-A targets extra information such as NFCID | 88 | * @NFC_ATTR_TARGET_SENS_RES: NFC-A targets extra information such as NFCID |
89 | * @NFC_ATTR_TARGET_SEL_RES: NFC-A targets extra information (useful if the | 89 | * @NFC_ATTR_TARGET_SEL_RES: NFC-A targets extra information (useful if the |
90 | * target is not NFC-Forum compliant) | 90 | * target is not NFC-Forum compliant) |
91 | * @NFC_ATTR_TARGET_NFCID1: NFC-A targets identifier, max 10 bytes | ||
91 | * @NFC_ATTR_COMM_MODE: Passive or active mode | 92 | * @NFC_ATTR_COMM_MODE: Passive or active mode |
92 | * @NFC_ATTR_RF_MODE: Initiator or target | 93 | * @NFC_ATTR_RF_MODE: Initiator or target |
93 | */ | 94 | */ |
@@ -99,6 +100,7 @@ enum nfc_attrs { | |||
99 | NFC_ATTR_TARGET_INDEX, | 100 | NFC_ATTR_TARGET_INDEX, |
100 | NFC_ATTR_TARGET_SENS_RES, | 101 | NFC_ATTR_TARGET_SENS_RES, |
101 | NFC_ATTR_TARGET_SEL_RES, | 102 | NFC_ATTR_TARGET_SEL_RES, |
103 | NFC_ATTR_TARGET_NFCID1, | ||
102 | NFC_ATTR_COMM_MODE, | 104 | NFC_ATTR_COMM_MODE, |
103 | NFC_ATTR_RF_MODE, | 105 | NFC_ATTR_RF_MODE, |
104 | /* private: internal use only */ | 106 | /* private: internal use only */ |