From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH v5 00/11] Bluetooth 5.2 initial support
Date: Wed, 15 Jan 2020 13:02:10 -0800 [thread overview]
Message-ID: <20200115210221.13096-1-luiz.dentz@gmail.com> (raw)
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
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,H5,sdio 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
ChangeLog:
- v2: Only attempt to fix up packet type when an ISO connection exists, remove
L2CAP_ECRED_MASK.
- v3: Dropped USB changes since that has not clear way to support ISO packets
with existing endpoints. Renamed ECRED to EXT_FLOWCTL.
- v4: Fix not using __le16 for HCI PDU definitions, renamed
FLAG_LE_CONN_REQ_SENT to FLAG_LE_FLOWCTL_CONN_REQ_SENT.
- v5: Fix spacing and use of __attribute (packed).
Luiz Augusto von Dentz (11):
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: L2CAP: Rename FLAG_LE_CONN_REQ_SENT to
FLAG_LE_FLOWCTL_CONN_REQ_SENT
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: hci_h5: Add support for ISO packets
Bluetooth: btsdio: Check for valid packet type
drivers/bluetooth/btsdio.c | 19 +-
drivers/bluetooth/hci_h4.c | 1 +
drivers/bluetooth/hci_h5.c | 3 +
drivers/bluetooth/hci_uart.h | 7 +
drivers/bluetooth/hci_vhci.c | 1 +
include/net/bluetooth/bluetooth.h | 35 +
include/net/bluetooth/hci.h | 159 +++-
include/net/bluetooth/hci_core.h | 68 +-
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 | 47 +-
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 | 514 ++++++++++-
net/bluetooth/l2cap_sock.c | 39 +-
22 files changed, 2898 insertions(+), 101 deletions(-)
create mode 100644 include/net/bluetooth/iso.h
create mode 100644 net/bluetooth/iso.c
--
2.21.0
next reply other threads:[~2020-01-15 21:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-15 21:02 Luiz Augusto von Dentz [this message]
2020-01-15 21:02 ` [PATCH v5 01/11] Bluetooth: Add definitions for CIS connections Luiz Augusto von Dentz
2020-01-15 21:25 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 02/11] Bluetooth: Add initial implementation of " Luiz Augusto von Dentz
2020-01-15 21:18 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 03/11] Bluetooth: L2CAP: Add definitions for Enhanced Credit Based Mode Luiz Augusto von Dentz
2020-01-15 21:20 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 04/11] Bluetooth: L2CAP: Add initial code " Luiz Augusto von Dentz
2020-01-15 21:02 ` [PATCH v5 05/11] Bluetooth: L2CAP: Rename FLAG_LE_CONN_REQ_SENT to FLAG_LE_FLOWCTL_CONN_REQ_SENT Luiz Augusto von Dentz
2020-01-15 21:26 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 06/11] Bluetooth: hci_vhci: Add support for ISO packets Luiz Augusto von Dentz
2020-01-15 21:25 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 07/11] Bluetooth: monitor: " Luiz Augusto von Dentz
2020-01-15 21:25 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 08/11] Bluetooth: Make use of __check_timeout on hci_sched_le Luiz Augusto von Dentz
2020-01-15 21:25 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 09/11] Bluetooth: hci_h4: Add support for ISO packets Luiz Augusto von Dentz
2020-01-15 21:25 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 10/11] Bluetooth: hci_h5: " Luiz Augusto von Dentz
2020-01-15 21:25 ` Marcel Holtmann
2020-01-15 21:02 ` [PATCH v5 11/11] Bluetooth: btsdio: Check for valid packet type Luiz Augusto von Dentz
2020-01-15 21:25 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200115210221.13096-1-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).