Skip to content

L2CAP signaling for AMP channel create/move

Mat Martineau linux-bluetooth 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest18 patches 4 repliesIn review
  2. v418 patches 3 repliesSuperseded
  3. v318 patches 19 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v219 patches13 repliesSuperseded
v119 patches25 repliesSuperseded

Changes from the cover letter

* PATCHv5 - Additional style updates to patch 10. Refactored l2cap_move_channel_req in patch 5 to remove conditional unlock. Everything has been acked by Marcel except patch 10.
* PATCHv4 - More acks, several code organization fixups to patch 10. send_move_chan_* helper functions are now more helpful.
* PATCHv3 - Dropped patch 17, fixed style issues in 5, 7, and 9. Split up a large function in patch 10.
* PATCHv2 - Fixed formatting and style issues, added acks
* PATCHv1 - Rebased after AMP physical link patch set, incorporated mailing list feedback.
* RFCv1 - Finished commit messages, fixed formatting/style issues
* RFCv0 - Initial post

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18Bluetooth: Add new l2cap_chan struct members for high speed channelsinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+34 -00 replies
2/18Bluetooth: Add L2CAP create channel request handlingnet/bluetooth/l2cap_core.c+48 -150 replies
3/18Bluetooth: Remove unnecessary intermediate functionnet/bluetooth/l2cap_core.c+2 -110 replies
4/18Bluetooth: Lookup channel structure based on DCIDnet/bluetooth/l2cap_core.c+17 -00 replies
5/18Bluetooth: Channel move request handlingnet/bluetooth/l2cap_core.c+112 -10 replies
6/18Bluetooth: Add new ERTM receive states for channel movenet/bluetooth/l2cap_core.c+102 -00 replies
7/18Bluetooth: Add move channel confirm handlingnet/bluetooth/l2cap_core.c+55 -30 replies
8/18Bluetooth: Add state to hci_chaninclude/net/bluetooth/hci_core.h net/bluetooth/hci_conn.c+2 -00 replies
9/18Bluetooth: Move channel responseinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+170 -150 replies
10/18Bluetooth: Add logical link confirmnet/bluetooth/l2cap_core.c+123 -111 reply
11/18Bluetooth: Add move confirm response handlingnet/bluetooth/l2cap_core.c+18 -00 replies
12/18Bluetooth: Handle physical link completionnet/bluetooth/l2cap_core.c+164 -00 replies
13/18Bluetooth: Flag ACL frames as complete for AMP controllersnet/bluetooth/l2cap_core.c+9 -00 replies
14/18Bluetooth: Do not send data during channel movenet/bluetooth/l2cap_core.c+12 -00 replies
15/18Bluetooth: Configure appropriate timeouts for AMP controllersnet/bluetooth/l2cap_core.c+41 -60 replies
16/18Bluetooth: Ignore BR/EDR packet size constraints when fragmenting for AMPnet/bluetooth/l2cap_core.c+3 -10 replies
17/18Bluetooth: Do not retransmit data during a channel movenet/bluetooth/l2cap_core.c+2 -20 replies
18/18Bluetooth: Start channel move when socket option is changedinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c net/bluetooth/l2cap_sock.c+25 -01 reply

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by.

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

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

Read the v5 thread

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

Changes:
* PATCHv5 - Additional style updates to patch 10. Refactored l2cap_move_channel_req in patch 5 to remove conditional unlock. Everything has been acked by Marcel except patch 10.
* PATCHv4 - More acks, several code organization fixups to patch 10. send_move_chan_* helper functions are now more helpful.
* PATCHv3 - Dropped patch 17, fixed style issues in 5, 7, and 9. Split up a large function in patch 10.
* PATCHv2 - Fixed formatting and style issues, added acks
* PATCHv1 - Rebased after AMP physical link patch set, incorporated mailing list feedback.
* RFCv1 - Finished commit messages, fixed formatting/style issues
* RFCv0 - Initial post

Mat Martineau (18):
Bluetooth: Add new l2cap_chan struct members for high speed channels
Bluetooth: Add L2CAP create channel request handling
Bluetooth: Remove unnecessary intermediate function
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: Do not retransmit data during a channel move
Bluetooth: Start channel move when socket option is changed

 include/net/bluetooth/hci_core.h |   1 +
 include/net/bluetooth/l2cap.h    |  32 ++
 net/bluetooth/hci_conn.c         |   1 +
 net/bluetooth/l2cap_core.c       | 947 ++++++++++++++++++++++++++++++++++++---
 net/bluetooth/l2cap_sock.c       |   5 +
 5 files changed, 930 insertions(+), 56 deletions(-)
Signature · 7 lines
1.8.0

--
Mat Martineau

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