]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFC: pn533: Target mode Tx fragmentation support
authorOlivier Guiter <olivier.guiter@linux.intel.com>
Mon, 23 Sep 2013 10:24:39 +0000 (12:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 25 Sep 2013 14:02:24 +0000 (16:02 +0200)
commit93ad42020c2d3fb4a277cc04c014e1ea0d8b0850
tree2268dfc0712d6d1c7149866f8b69613ade88e52c
parent3c13b244de968d88659b5aece0c0c4a6b97f220e
NFC: pn533: Target mode Tx fragmentation support

In target mode, when we want to send frames larger than the max length
(PN533_CMD_DATAEXCH_DATA_MAXLEN), we have to split the frame in smaller
chunks and send them, using a specific working queue, with the TgSetMetaData
command. TgSetMetaData sets his own MI bit in the PFB.
The last chunk is sent using the TgSetData command.

Signed-off-by: Olivier Guiter <olivier.guiter@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c