Skip to content

RFC L2CAP signaling for AMP channel create/move

Mat Martineau linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 RFC Latest21 patches 22 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21Bluetooth: Add new l2cap_chan struct members for high speed channelsinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+36 -00 replies
2/21Bluetooth: Factor out common L2CAP connection codenet/bluetooth/l2cap_core.c+8 -20 replies
3/21Bluetooth: Add L2CAP create channel request handling.net/bluetooth/l2cap_core.c+53 -163 replies
4/21Bluetooth: Process create response and connect response identicallynet/bluetooth/l2cap_core.c+1 -122 replies
5/21Bluetooth: Lookup channel id for channel movenet/bluetooth/l2cap_core.c+21 -02 replies
6/21Bluetooth: Channel move request handlingnet/bluetooth/l2cap_core.c+92 -15 replies
7/21Bluetooth: Add new ERTM receive states for channel movenet/bluetooth/l2cap_core.c+107 -00 replies
8/21Bluetooth: Add move channel confirm handlingnet/bluetooth/l2cap_core.c+68 -32 replies
9/21Bluetooth: Move channel responseinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+138 -20 replies
10/21Bluetooth: Add logical link confirminclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+119 -22 replies
11/21Bluetooth: Add move confirm response handlingnet/bluetooth/l2cap_core.c+27 -02 replies
12/21Bluetooth: Add state to hci_chaninclude/net/bluetooth/hci_core.h net/bluetooth/hci_conn.c+5 -31 reply
13/21Bluetooth: Indentation fixesnet/bluetooth/l2cap_core.c+2 -20 replies
14/21Bluetooth: Handle physical link completionnet/bluetooth/l2cap_core.c+147 -03 replies
15/21Bluetooth: Enable data sends on AMP controllerinclude/net/bluetooth/hci.h net/bluetooth/l2cap_core.c+13 -20 replies
16/21Bluetooth: Do not send data during channel movenet/bluetooth/l2cap_core.c+16 -00 replies
17/21Bluetooth: Configure appropriate timeouts for AMP controllersnet/bluetooth/l2cap_core.c+41 -60 replies
18/21Bluetooth: Ignore BR/EDR packet size constraints when fragmenting for AMPnet/bluetooth/l2cap_core.c+3 -10 replies
19/21Bluetooth: Tie AMP link setup to connect/disconnectnet/bluetooth/l2cap_core.c+77 -60 replies
20/21Bluetooth: Do not process ERTM reject during movenet/bluetooth/l2cap_core.c+3 -20 replies
21/21Bluetooth: Start channel move when socket option is changedinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c net/bluetooth/l2cap_sock.c+26 -00 replies

Reviews trailers per patch

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

Read the v0 thread

Cover letter [RFCv0 00/21] L2CAP signaling for AMP channel create/move

Here are the changes that process commands on the L2CAP signaling channel for setting up AMP channels. There's still a lot of integration to do as other AMP functionality is implemented. I've marked places that require this integration with "Placeholder" comments (look for that string).

Many of the commit messages are still too short, I will expand on those before changing this series from RFC to PATCH. I didn't want to delay Andrei's AMP work any further while I worked on commit messages.

Mat Martineau (21):
Bluetooth: Add new l2cap_chan struct members for high speed channels
Bluetooth: Factor out common L2CAP connection code
Bluetooth: Add L2CAP create channel request handling.
Bluetooth: Process create response and connect response identically
Bluetooth: Lookup channel id for channel move
Bluetooth: Channel move request handling
Bluetooth: Add new ERTM receive states for channel move
Bluetooth: Add move channel confirm handling
Bluetooth: Move channel response
Bluetooth: Add logical link confirm
Bluetooth: Add move confirm response handling
Bluetooth: Add state to hci_chan
Bluetooth: Indentation fixes
Bluetooth: Handle physical link completion
Bluetooth: Enable data sends on AMP controller
Bluetooth: Do not send data during channel move
Bluetooth: Configure appropriate timeouts for AMP controllers
Bluetooth: Ignore BR/EDR packet size constraints when fragmenting for
AMP
Bluetooth: Tie AMP link setup to connect/disconnect
Bluetooth: Do not process ERTM reject during move
Bluetooth: Start channel move when socket option is changed

 include/net/bluetooth/hci.h      |   1 +
 include/net/bluetooth/hci_core.h |   7 +-
 include/net/bluetooth/l2cap.h    |  34 ++
 net/bluetooth/hci_conn.c         |   1 +
 net/bluetooth/l2cap_core.c       | 999 +++++++++++++++++++++++++++++++++++++--
 net/bluetooth/l2cap_sock.c       |   5 +
 6 files changed, 995 insertions(+), 52 deletions(-)
Signature · 6 lines
1.7.11.2

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