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)
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]

Simple merge
Simple merge
Simple merge