]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/nfc/digital_technology.c
NFC Digital: Add target NFC-DEP support
authorThierry Escande <thierry.escande@linux.intel.com>
Thu, 19 Sep 2013 15:55:30 +0000 (17:55 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 25 Sep 2013 00:02:28 +0000 (02:02 +0200)
commit1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8
treed8115482922f1d4b5c7da4a6aa76faca7f77c032
parent7d0911c02fa2a448a28d7844d2a0c439ff8397b1
NFC Digital: Add target NFC-DEP support

This adds support for NFC-DEP target mode for NFC-A and NFC-F
technologies.

If the driver provides it, the stack uses an automatic mode for
technology detection and automatic anti-collision. Otherwise the stack
tries to use non-automatic synchronization and listens for SENS_REQ and
SENSF_REQ commands.

The detection, activation, and data exchange procedures work exactly
the same way as in initiator mode, as described in the previous
commits, except that the digital stack waits for commands and sends
responses back to the peer device.

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital.h
net/nfc/digital_core.c
net/nfc/digital_dep.c
net/nfc/digital_technology.c