]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Add a nfc hardware simulation driver
authorThierry Escande <thierry.escande@linux.intel.com>
Thu, 6 Jun 2013 14:23:23 +0000 (16:23 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:45:06 +0000 (13:45 +0200)
commit446e2c694ed857a264e3561bdd2834d370914e1f
treead3616b39db5418225be61ce7110795367cef860
parent57e1403bbcedd578ffe793fae4442de5529f57fd
NFC: Add a nfc hardware simulation driver

This driver declares two virtual NFC devices supporting NFC-DEP protocol.
An LLCP connection can be established between them and all packets sent
from one device is sent back to the other, acting as loopback devices.

Once established, the LLCP link can be disconnected by disabling the target
device (with rfkill, nfctool, or neard disable-adapter test script).

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/Kconfig
drivers/nfc/Makefile
drivers/nfc/nfcsim.c [new file with mode: 0644]