linux/include/net/nfc
Mark A. Greer b08147cbc4 NFC: digital: Implement NFC-DEP max payload lengths
The maximum payload for NFC-DEP exchanges (i.e., the
number of bytes between SoD and EoD) is negotiated
using the ATR_REQ, ATR_RES, and PSL_REQ commands.
The valid maximum lengths are 64, 128, 192, and 254
bytes.

Currently, NFC-DEP code assumes that both sides are
always using 254 byte maximums and ignores attempts
by the peer to change it.  Instead, implement the
negotiation code, enforce the local maximum when
receiving data from the peer, and don't send payloads
that exceed the remote's maximum.  The default local
maximum is 254 bytes.

Reviewed-by: Thierry Escande <thierry.escande@linux.intel.com>
Tested-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2014-11-28 12:38:59 +01:00
..
digital.h NFC: digital: Implement NFC-DEP max payload lengths 2014-11-28 12:38:59 +01:00
hci.h NFC: hci: Add stop_poll HCI operand. 2014-07-23 01:04:31 +02:00
llc.h include/net/: Fix FSF address in file headers 2013-12-06 12:37:56 -05:00
nci_core.h NFC: nci: Add support for proprietary RF Protocols 2014-09-24 02:02:24 +02:00
nci.h NFC: NCI: Add support of ISO15693 2014-09-01 14:40:31 +02:00
nfc.h NFC: Add RAW socket type support for SOCKPROTO_RAW 2014-05-20 00:06:04 +02:00