When using NFC-F we should copy the NFCID2 buffer that we got from SENSF_RES through the ATR_REQ NFCID3 buffer. Not doing so violates NFC Forum digital requirement #189.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -164,6 +164,8 @@ enum nfc_sdp_attr { · 163 unmodified lines | ||
| 164 | 164 | |
| 165 | 165 | #define NFC_DEVICE_NAME_MAXSIZE 8 |
| 166 | 166 | #define NFC_NFCID1_MAXSIZE 10 |
| 167 | +#define NFC_NFCID2_MAXSIZE 8 | |
| 168 | +#define NFC_NFCID3_MAXSIZE 10 | |
| 167 | 169 | #define NFC_SENSB_RES_MAXSIZE 12 |
| 168 | 170 | #define NFC_SENSF_RES_MAXSIZE 18 |
| 169 | 171 | #define NFC_GB_MAXSIZE 48 |