]> git.baikalelectronics.ru Git - kernel.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)
commit0a86a97fad21b10f83a77302d97fd24ca1a45ee7
tree7d7a3089e56fca303eb6383bbf727efcf63dbc2d
parent06fea232f6929a278e0b2add4c5f97ea919eae07
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