linux_dsm_epyc7002/net/nfc/nci
Frederic Danis ee9596d467 NFC: Add NCI over SPI send
Before any operation, driver interruption is de-asserted to prevent
race condition between TX and RX.

The NCI over SPI header is added in front of NCI packet.
If acknowledged mode is set, CRC-16-CCITT is added to the packet.
Then the packet is forwarded to SPI module to be sent.

A delay after the transaction is added.
This delay is determined by the driver during nci_spi_allocate_device()
call and can be 0.

After data has been sent, driver interruption is re-asserted.

If acknowledged mode is set, nci_spi_send will block until
acknowledgment is received.

Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-06-14 13:44:15 +02:00
..
core.c NFC: NCI: Fix skb->dev usage 2013-06-14 00:25:53 +02:00
data.c NFC: NCI: Fix skb->dev usage 2013-06-14 00:25:53 +02:00
Kconfig NFC: Add basic NCI over SPI 2013-06-14 13:44:03 +02:00
lib.c NFC: Include nci_core.h to nci/lib.c 2012-05-15 17:30:29 -04:00
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 NFC: Set local general bytes in nci_start_poll 2012-09-25 00:17:23 +02:00
spi.c NFC: Add NCI over SPI send 2013-06-14 13:44:15 +02:00