mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 01:46:51 +07:00
8c0695e499
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>
35 lines
805 B
Plaintext
35 lines
805 B
Plaintext
#
|
|
# NFC sybsystem configuration
|
|
#
|
|
|
|
menuconfig NFC
|
|
depends on NET
|
|
depends on RFKILL || !RFKILL
|
|
tristate "NFC subsystem support"
|
|
default n
|
|
help
|
|
Say Y here if you want to build support for NFC (Near field
|
|
communication) devices.
|
|
|
|
To compile this support as a module, choose M here: the module will
|
|
be called nfc.
|
|
|
|
config NFC_DIGITAL
|
|
depends on NFC
|
|
select CRC_CCITT
|
|
select CRC_ITU_T
|
|
tristate "NFC Digital Protocol stack support"
|
|
default n
|
|
help
|
|
Say Y if you want to build NFC digital protocol stack support.
|
|
This is needed by NFC chipsets whose firmware only implement
|
|
the NFC analog layer.
|
|
|
|
To compile this support as a module, choose M here: the module will
|
|
be called nfc_digital.
|
|
|
|
source "net/nfc/nci/Kconfig"
|
|
source "net/nfc/hci/Kconfig"
|
|
|
|
source "drivers/nfc/Kconfig"
|