Bluetooth: Add support for Segmentation and Reassembly of SDUs
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Fri, 21 Aug 2009 01:25:58 +0000 (22:25 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:53:58 +0000 (14:53 -0700)
commitc74e560cd0101455f1889515e1527e4c2e266113
treea828b646b60578c1e90580da0d92e5d1ee7e7981
parent1c2acffb76d4bc5fd27c4ea55cc27ad8ead10f9a
Bluetooth: Add support for Segmentation and Reassembly of SDUs

ERTM should use Segmentation and Reassembly to break down a SDU in many
PDUs on sending data to the other side.

On sending packets we queue all 'segments' until end of segmentation and
just the add them to the queue for sending. On receiving we create a new
SKB with the SDU reassembled.

Initially based on a patch from Nathan Holstein <nathan@lampreynetworks.com>

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c