Bluetooth: Add LE L2CAP segmentation support for outgoing data
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 31 May 2013 14:54:51 +0000 (17:54 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:35 +0000 (07:05 -0800)
commit177f8f2b1259a1292a09a1b7563ebb90675f88ff
tree652b44c896a77522d8357b72c629221f2384d3ce
parent837776f7904024df451422f32b09c67e88ae2aa2
Bluetooth: Add LE L2CAP segmentation support for outgoing data

This patch adds segmentation support for outgoing data packets. Packets
are segmented based on the MTU and MPS values. The l2cap_chan struct
already contains many helpful variables from BR/EDR Enhanced L2CAP which
can be used for this.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c