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. v1 RFC Latest20 patches 8 repliesIn review

Changes from the cover letter

* RFCv1 - Finished commit messages, fixed formatting/style issues
* RFCv0 - Initial post

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20Bluetooth: Add new l2cap_chan struct members for high speed channelsinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+34 -02 replies
2/20Bluetooth: Factor out common L2CAP connection codenet/bluetooth/l2cap_core.c+8 -21 reply
3/20Bluetooth: Add L2CAP create channel request handlingnet/bluetooth/l2cap_core.c+54 -163 replies
4/20Bluetooth: Process create response and connect response identicallynet/bluetooth/l2cap_core.c+4 -141 reply
5/20Bluetooth: Lookup channel structure based on DCIDnet/bluetooth/l2cap_core.c+22 -00 replies
6/20Bluetooth: Channel move request handlingnet/bluetooth/l2cap_core.c+97 -10 replies
7/20Bluetooth: Add new ERTM receive states for channel movenet/bluetooth/l2cap_core.c+106 -00 replies
8/20Bluetooth: Add move channel confirm handlingnet/bluetooth/l2cap_core.c+67 -30 replies
9/20Bluetooth: Add state to hci_chaninclude/net/bluetooth/hci_core.h net/bluetooth/hci_conn.c+2 -00 replies
10/20Bluetooth: Move channel responseinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+137 -20 replies
11/20Bluetooth: Add logical link confirmnet/bluetooth/l2cap_core.c+115 -20 replies
12/20Bluetooth: Add move confirm response handlingnet/bluetooth/l2cap_core.c+26 -00 replies
13/20Bluetooth: Handle physical link completionnet/bluetooth/l2cap_core.c+166 -00 replies
14/20Bluetooth: Flag ACL frames as complete for AMP controllersinclude/net/bluetooth/hci.h net/bluetooth/l2cap_core.c+13 -20 replies
15/20Bluetooth: Do not send data during channel movenet/bluetooth/l2cap_core.c+16 -00 replies
16/20Bluetooth: Configure appropriate timeouts for AMP controllersnet/bluetooth/l2cap_core.c+41 -60 replies
17/20Bluetooth: Ignore BR/EDR packet size constraints when fragmenting for AMPnet/bluetooth/l2cap_core.c+3 -11 reply
18/20Bluetooth: Send create channel request instead of connect for AMPnet/bluetooth/l2cap_core.c+78 -60 replies
19/20Bluetooth: Do not retransmit data during a channel movenet/bluetooth/l2cap_core.c+3 -20 replies
20/20Bluetooth: 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

4 of 20 patches have a Reviewed-by or Acked-by.

PatchAndrei Emeltchenko
1/20A-b
2/20A-b
3/20
4/20A-b
5/20
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20
14/20
15/20
16/20
17/20A-b
18/20
19/20
20/20

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

Read the v1 thread

Cover letter [RFCv1 00/20] 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).

This patch set has some minor conflicts with Andrei's "Create AMP physical link" patch set, and will need to be rebased after that is merged.

Changes:
* RFCv1 - Finished commit messages, fixed formatting/style issues
* RFCv0 - Initial post

Mat Martineau (20):
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 structure based on DCID
Bluetooth: Channel move request handling
Bluetooth: Add new ERTM receive states for channel move
Bluetooth: Add move channel confirm handling
Bluetooth: Add state to hci_chan
Bluetooth: Move channel response
Bluetooth: Add logical link confirm
Bluetooth: Add move confirm response handling
Bluetooth: Handle physical link completion
Bluetooth: Flag ACL frames as complete for AMP controllers
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: Send create channel request instead of connect for AMP
Bluetooth: Do not retransmit data during a channel move
Bluetooth: Start channel move when socket option is changed

 include/net/bluetooth/hci.h      |    1 +
 include/net/bluetooth/hci_core.h |    1 +
 include/net/bluetooth/l2cap.h    |   32 ++
 net/bluetooth/hci_conn.c         |    1 +
 net/bluetooth/l2cap_core.c       | 1019 ++++++++++++++++++++++++++++++++++++--
 net/bluetooth/l2cap_sock.c       |    5 +
 6 files changed, 1010 insertions(+), 49 deletions(-)
Signature · 7 lines
1.7.12

--
Mat Martineau

The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation