NFC: NCI: Simplify NCI SPI to become a simple framing/checking layer
authorEric Lapuyade <eric.lapuyade@linux.intel.com>
Thu, 5 Sep 2013 09:02:21 +0000 (11:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 24 Sep 2013 23:35:41 +0000 (01:35 +0200)
commitfa544fff62aeeb0cf8008c61077aae10fb1407a9
tree42e24efbcaca24ad48bde91259696649388483d3
parent08f13acff960d6c95a371f67ab98785aa9969179
NFC: NCI: Simplify NCI SPI to become a simple framing/checking layer

NCI SPI layer should not manage the nci dev, this is the job of the nci
chipset driver. This layer should be limited to frame/deframe nci
packets, and optionnaly check integrity (crc) and manage the ack/nak
protocol.

The NCI SPI must not be mixed up with an NCI dev. spi_[dev|device] are
therefore renamed to a simple spi for more clarity.
The header and crc sizes are moved to nci.h so that drivers can use
them to reserve space in outgoing skbs.
nci_spi_send() is exported to be accessible by drivers.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nci.h
include/net/nfc/nci_core.h
net/nfc/nci/spi.c
This page took 0.026069 seconds and 5 git commands to generate.