OpenCloudOS-Kernel/include/net/nfc
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
..
digital.h NFC Digital: Add NFC-A technology support 2013-09-25 02:02:23 +02:00
hci.h NFC: Move struct nfc_phy_ops out of HCI up to nfc core level 2013-09-25 01:35:40 +02:00
llc.h NFC: Add an shdlc llc module to llc core 2012-09-25 00:17:25 +02:00
nci.h NFC: NCI: Simplify NCI SPI to become a simple framing/checking layer 2013-09-25 01:35:41 +02:00
nci_core.h NFC: NCI: nci_spi_recv_frame() now returns (not forward) the read frame 2013-09-25 14:25:41 +02:00
nfc.h NFC: Define secure element IO API and commands 2013-09-25 02:30:47 +02:00