]> git.openfabrics.org - ~emulex/infiniband.git/commit
NFC: pn533 Rx chaining support
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 10 Apr 2012 17:43:18 +0000 (19:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Apr 2012 19:10:44 +0000 (15:10 -0400)
commit6ff73fd239ff5d6f1ebfe5b5f7f560d9fad7d749
tree8c66777743df9ff8521c22bbe5efa73f26c65d6b
parent4849f85ee36db94033a7c8b32689458d6f435e80
NFC: pn533 Rx chaining support

When buffers on the receiption path exceed 262 bytes, the pn533 uses
a chaining mechanism where the initiator has to send NULL data frames
to fetch the remaining frames.
We do that from a workqueue context while holding the cmd lock. Once the
MI bit is gone, we aggregate the queued received skbs.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/nfc/pn533.c