Skip to content

Bluetooth 5.2 initial support

Luiz Augusto von Dentz linux-bluetooth oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Bluetooth: Add definitions for CIS connectionsinclude/net/bluetooth/hci.h+157 -00 replies
2/10Bluetooth: Add initial implementation of CIS connectionsinclude/net/bluetooth/bluetooth.h include/net/bluetooth/hci_core.h include/net/bluetooth/hci_sock.h +8 more+2115 -520 replies
3/10Bluetooth: L2CAP: Add definitions for Enhanced Credit Based Modeinclude/net/bluetooth/l2cap.h+45 -01 reply
4/10Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Modeinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c net/bluetooth/l2cap_sock.c+508 -320 replies
5/10Bluetooth: hci_vhci: Add support for ISO packetsdrivers/bluetooth/hci_vhci.c+1 -00 replies
6/10Bluetooth: monitor: Add support for ISO packetsinclude/net/bluetooth/hci_mon.h net/bluetooth/hci_sock.c+8 -00 replies
7/10Bluetooth: Make use of __check_timeout on hci_sched_lenet/bluetooth/hci_core.c+3 -80 replies
8/10Bluetooth: hci_h4: Add support for ISO packetsdrivers/bluetooth/hci_h4.c drivers/bluetooth/hci_uart.h+8 -02 replies
9/10Bluetooth: btusb: Add support for ISO packetsdrivers/bluetooth/btusb.c+14 -02 replies
10/10Bluetooth: btusb: Detect if an ACL packet is in fact an ISO packetdrivers/bluetooth/btusb.c+7 -02 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] Bluetooth 5.2 initial support

From: Luiz Augusto von Dentz <[email protected]>

This introduces the initial support for Bluetooth 5.2 features:

* ISO channels:
+ CIS/Unicast support
+ ISO socket family with QoS support
- BIS/Broadcast not yet supported

* L2CAP Enhanced Credit Based Flow Control Mode
+ Support all new procedures
+ New L2CAP socket mode
- Initiating multiple connections at once does not map to any existing socket APIs

* Monitor:
+ ISO packets support

* Drivers:
+ H4/USB ISO packets support

* Emulator:
+ CIS/Unicast emulation support
- BIS/Broadcast emulation not yet supported

* Userspace support to follow once Kernel changes are merged.

Bluetooth 5.2 spec:
https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=478726

Luiz Augusto von Dentz (10):
Bluetooth: Add definitions for CIS connections
Bluetooth: Add initial implementation of CIS connections
Bluetooth: L2CAP: Add definitions for Enhanced Credit Based Mode
Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Mode
Bluetooth: hci_vhci: Add support for ISO packets
Bluetooth: monitor: Add support for ISO packets
Bluetooth: Make use of __check_timeout on hci_sched_le
Bluetooth: hci_h4: Add support for ISO packets
Bluetooth: btusb: Add support for ISO packets
Bluetooth: btusb: Detect if an ACL packet is in fact an ISO packet

 drivers/bluetooth/btusb.c         |   21 +
 drivers/bluetooth/hci_h4.c        |    1 +
 drivers/bluetooth/hci_uart.h      |    7 +
 drivers/bluetooth/hci_vhci.c      |    1 +
 include/net/bluetooth/bluetooth.h |   24 +
 include/net/bluetooth/hci.h       |  157 ++++
 include/net/bluetooth/hci_core.h  |   56 +-
 include/net/bluetooth/hci_mon.h   |    2 +
 include/net/bluetooth/hci_sock.h  |    2 +
 include/net/bluetooth/iso.h       |   36 +
 include/net/bluetooth/l2cap.h     |   48 +
 net/bluetooth/Kconfig             |    1 +
 net/bluetooth/Makefile            |    1 +
 net/bluetooth/af_bluetooth.c      |   12 +-
 net/bluetooth/hci_conn.c          |  169 ++++
 net/bluetooth/hci_core.c          |  254 ++++--
 net/bluetooth/hci_event.c         |  230 +++++
 net/bluetooth/hci_sock.c          |    6 +
 net/bluetooth/iso.c               | 1393 +++++++++++++++++++++++++++++
 net/bluetooth/l2cap_core.c        |  498 ++++++++++-
 net/bluetooth/l2cap_sock.c        |   39 +-
 21 files changed, 2866 insertions(+), 92 deletions(-)
 create mode 100644 include/net/bluetooth/iso.h
 create mode 100644 net/bluetooth/iso.c
Signature · 1 line
2.21.0