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)
commit7cbe0ff3e475b7268ad9b55057048b2299fd60e0
treead3616b39db5418225be61ce7110795367cef860
parentf1b79dc8915ebf176d6f1fcfc4fee001b6d5ca46
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]