diff options
Diffstat (limited to 'include/linux/nfc.h')
| -rw-r--r-- | include/linux/nfc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nfc.h b/include/linux/nfc.h index 01d4e5d60325..b4999abcb2a2 100644 --- a/include/linux/nfc.h +++ b/include/linux/nfc.h | |||
| @@ -89,6 +89,8 @@ enum nfc_commands { | |||
| 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_TARGET_NFCID1: NFC-A targets identifier, max 10 bytes |
| 92 | * @NFC_ATTR_TARGET_SENSB_RES: NFC-B targets extra information, max 12 bytes | ||
| 93 | * @NFC_ATTR_TARGET_SENSF_RES: NFC-F targets extra information, max 18 bytes | ||
| 92 | * @NFC_ATTR_COMM_MODE: Passive or active mode | 94 | * @NFC_ATTR_COMM_MODE: Passive or active mode |
| 93 | * @NFC_ATTR_RF_MODE: Initiator or target | 95 | * @NFC_ATTR_RF_MODE: Initiator or target |
| 94 | */ | 96 | */ |
| @@ -101,6 +103,8 @@ enum nfc_attrs { | |||
| 101 | NFC_ATTR_TARGET_SENS_RES, | 103 | NFC_ATTR_TARGET_SENS_RES, |
| 102 | NFC_ATTR_TARGET_SEL_RES, | 104 | NFC_ATTR_TARGET_SEL_RES, |
| 103 | NFC_ATTR_TARGET_NFCID1, | 105 | NFC_ATTR_TARGET_NFCID1, |
| 106 | NFC_ATTR_TARGET_SENSB_RES, | ||
| 107 | NFC_ATTR_TARGET_SENSF_RES, | ||
| 104 | NFC_ATTR_COMM_MODE, | 108 | NFC_ATTR_COMM_MODE, |
| 105 | NFC_ATTR_RF_MODE, | 109 | NFC_ATTR_RF_MODE, |
| 106 | /* private: internal use only */ | 110 | /* private: internal use only */ |
| @@ -109,6 +113,9 @@ enum nfc_attrs { | |||
| 109 | #define NFC_ATTR_MAX (__NFC_ATTR_AFTER_LAST - 1) | 113 | #define NFC_ATTR_MAX (__NFC_ATTR_AFTER_LAST - 1) |
| 110 | 114 | ||
| 111 | #define NFC_DEVICE_NAME_MAXSIZE 8 | 115 | #define NFC_DEVICE_NAME_MAXSIZE 8 |
| 116 | #define NFC_NFCID1_MAXSIZE 10 | ||
| 117 | #define NFC_SENSB_RES_MAXSIZE 12 | ||
| 118 | #define NFC_SENSF_RES_MAXSIZE 18 | ||
| 112 | 119 | ||
| 113 | /* NFC protocols */ | 120 | /* NFC protocols */ |
| 114 | #define NFC_PROTO_JEWEL 1 | 121 | #define NFC_PROTO_JEWEL 1 |
