diff options
| author | Mark A. Greer <[email protected]> | 2014-09-23 16:38:05 -0700 |
|---|---|---|
| committer | Samuel Ortiz <[email protected]> | 2014-11-28 12:38:24 +0100 |
| commit | 05afedcb89189df5cea30a13b2a5b4aa70572749 (patch) | |
| tree | d0ab0bfc4cbe440f44a049724871c5cd90fb048b /include/linux/debugobjects.h | |
| parent | 3bc3f88af5328d369ff399d90f13c566d925c245 (diff) | |
NFC: digital: Add Target-mode NFC-DEP DID Support
When in Target mode, the Initiator specifies whether
subsequent DEP_REQ and DEP_RES frames will include
a DID byte by the value passed in the ATR_REQ. If
the DID value in the ATR_REQ is '0' then no DID
byte will be included. If the DID value is between
'1' and '14' then a DID byte containing the same
value must be included in subsequent DEP_REQ and
DEP_RES frames. Any other DID value is invalid.
This is specified in sections 14.8.1.2 and 14.8.2.2
of the NFC Digital Protocol Spec.
Checking the DID value (if it should be there at all),
is not currently supported by the digital layer's
NFC-DEP code. Add this support by remembering the
DID value in the ATR_REQ, checking the DID value of
received DEP_REQ frames (if it should be there at all),
and including the remembered DID value in DEP_RES
frames when appropriate.
Reviewed-by: Thierry Escande <[email protected]>
Tested-by: Thierry Escande <[email protected]>
Signed-off-by: Mark A. Greer <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions