]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Refactor L2CAP ERTM and streaming transmit segmentation
authorMat Martineau <mathewm@codeaurora.org>
Wed, 2 May 2012 16:42:02 +0000 (09:42 -0700)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:53 +0000 (01:40 -0300)
commit94122bbe9c8c4ad7ba9f02f9a30bfc95672c404e
tree7d7a3089e56fca303eb6383bbf727efcf63dbc2d
parentdaf6a78c161fccd058ca2f1b21e757ebaa2e9909
Bluetooth: Refactor L2CAP ERTM and streaming transmit segmentation

Use more common code for ERTM and streaming mode segmentation and
transmission, and begin using skb control block data for delaying
extended or enhanced header generation until just before the packet is
transmitted.  This code is also better suited for resegmentation,
which is needed when L2CAP links are reconfigured after an AMP channel
move.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Reviewed-by: Ulisses Furquim <ulisses@profusion.mobi>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c