]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/nfc/digital_technology.c
NFC Digital: Add NFC-F technology support
authorThierry Escande <thierry.escande@linux.intel.com>
Thu, 19 Sep 2013 15:55:28 +0000 (17:55 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 25 Sep 2013 00:02:25 +0000 (02:02 +0200)
commit8c0695e4998dd268ff2a05951961247b7e015651
tree86087518d7435dbe788647ee04be2b460bab0ee8
parent2c66daecc4092e6049673c281b2e6f0d5e59a94c
NFC Digital: Add NFC-F technology support

This adds polling support for NFC-F technology at 212 kbits/s and 424
kbits/s. A user space application like neard can send type 3 tag
commands through the NFC core.

Process flow for NFC-F detection is as follow:

1 - The digital stack sends the SENSF_REQ command to the NFC device.
2 - A peer device replies with a SENSF_RES response.
3   - The digital stack notifies the NFC core of the presence of a
      target in the operation field and passes the target NFCID2.

This also adds support for CRC calculation of type CRC-F. The CRC
calculation is handled by the digital stack if the NFC device doesn't
support it.

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