Skip to content

RFC ERTM state machine changes, part 2

Mat Martineau linux-bluetooth 2 versions – Applied

Status from this message: Applied to bluetooth-next. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest8 patches 9 repliesApplied
  2. v1 RFC8 patches 17 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8Bluetooth: Initialize new l2cap_chan structure membersnet/bluetooth/l2cap_core.c+17 -80 replies
2/8Bluetooth: Remove unused functionnet/bluetooth/l2cap_core.c+0 -110 replies
3/8Bluetooth: Make better use of l2cap_chan reference countingnet/bluetooth/l2cap_core.c net/bluetooth/l2cap_sock.c+9 -01 reply
4/8Bluetooth: Fix a redundant and problematic incoming MTU checknet/bluetooth/l2cap_core.c+0 -203 replies
5/8Bluetooth: Restore locking semantics when looking up L2CAP channelsnet/bluetooth/l2cap_core.c+3 -72 replies
6/8Bluetooth: Lock the L2CAP channel when sendinginclude/net/bluetooth/bluetooth.h net/bluetooth/l2cap_sock.c+8 -92 replies
7/8Bluetooth: Refactor L2CAP ERTM and streaming transmit segmentationinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+92 -630 replies
8/8Bluetooth: Add Code Aurora Forum copyrightnet/bluetooth/l2cap_core.c+1 -01 reply

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchMarcel Holtmann
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFCv2 0/8] ERTM state machine changes, part 2

Note: Please do not merge **any** of these RFC patches to bluetooth-next yet. The patches that were merged from the RFCv1 set were ok. There are several changes to locking code in this series that need thorough testing and there are some non-obvious dependencies between certain patches that require them to be merged in order. I will repost with [PATCH] headers after further review and testing.

This is the second patch series reworking the ERTM state machine and closely related streaming mode code. These patches include bug fixes and segmentation of outgoing L2CAP data.

RFCv1: Four of eight patches were merged already.
RFCv2: Fixed the send lock patch, found and fixed a few more issues
with locking, reference counting, and unused code.

Mat Martineau (8):
Bluetooth: Initialize new l2cap_chan structure members
Bluetooth: Remove unused function
Bluetooth: Make better use of l2cap_chan reference counting
Bluetooth: Fix a redundant and problematic incoming MTU check
Bluetooth: Restore locking semantics when looking up L2CAP channels
Bluetooth: Lock the L2CAP channel when sending
Bluetooth: Refactor L2CAP ERTM and streaming transmit segmentation
Bluetooth: Add Code Aurora Forum copyright

 include/net/bluetooth/bluetooth.h |    2 -
 include/net/bluetooth/l2cap.h     |    1 +
 net/bluetooth/l2cap_core.c        |  227 +++++++++++++++++++------------------
 net/bluetooth/l2cap_sock.c        |   18 +--
 4 files changed, 130 insertions(+), 118 deletions(-)
Signature · 6 lines
1.7.10

--
Mat Martineau
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum