Skip to content

ERTM state machine changes, part 2

Mat Martineau linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Bluetooth: Fix a redundant and problematic incoming MTU checknet/bluetooth/l2cap_core.c+0 -203 replies
2/4Bluetooth: Restore locking semantics when looking up L2CAP channelsnet/bluetooth/l2cap_core.c+3 -71 reply
3/4Bluetooth: Lock the L2CAP channel when sendinginclude/net/bluetooth/bluetooth.h net/bluetooth/l2cap_sock.c+8 -93 replies
4/4Bluetooth: Refactor L2CAP ERTM and streaming transmit segmentationinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+92 -634 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ERTM state machine changes, part 2

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.
RFCv2:   Fixed the send lock patch, found and fixed a few more issues

with locking, reference counting, and unused code. Four of eight patches were merged.
PATCHv1: Confirmed ERTM operation with locking and segmentation updates

Mat Martineau (4):
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

 include/net/bluetooth/bluetooth.h |    2 -
 include/net/bluetooth/l2cap.h     |    1 +
 net/bluetooth/l2cap_core.c        |  184 +++++++++++++++++++------------------
 net/bluetooth/l2cap_sock.c        |   15 +--
 4 files changed, 103 insertions(+), 99 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