linux/net/nfc/nci
Eric Lapuyade 22d4aae589 NFC: NCI: nci_spi_recv_frame() now returns (not forward) the read frame
Previously, nci_spi_recv_frame() would directly transmit incoming frames
to the NCI Core. However, it turns out that some NFC NCI Chips will add
additional proprietary headers that must be handled/removed before NCI
Core gets a chance to handle the frame. With this modification, the chip
phy or driver are now responsible to transmit incoming frames to NCI
Core after proper treatment, and NCI SPI becomes a driver helper instead
of sitting between the NFC driver and NCI Core.

As a general rule in NFC, *_recv_frame() APIs are used to deliver an
incoming frame to an upper layer. To better suit the actual purpose of
nci_spi_recv_frame(), and go along with its nci_spi_send()
counterpart, the function is renamed to nci_spi_read()

The skb is returned as the function result

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-09-25 14:25:41 +02:00
..
core.c NFC: Extend and fix the internal secure element API 2013-06-14 13:44:53 +02:00
data.c NFC: NCI: Fix skb->dev usage 2013-06-14 00:25:53 +02:00
Kconfig NFC: Fix NCI over SPI build 2013-07-19 16:55:26 +02:00
lib.c
Makefile NFC: Add basic NCI over SPI 2013-06-14 13:44:03 +02:00
ntf.c NFC: Implement NCI dep_link_up and dep_link_down 2012-09-25 00:17:23 +02:00
rsp.c
spi.c NFC: NCI: nci_spi_recv_frame() now returns (not forward) the read frame 2013-09-25 14:25:41 +02:00