Skip to contentSkip to conversation

bluez5: add Channel Sounding ranging patches

PATCH In review [email protected] 2 participants 2 messages Jun 9 – Jun 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez5: add Channel Sounding ranging patches

From: Prathibha Madugonde <[email protected]>

Add 13 upstream patches enabling Channel Sounding (CS) ranging support:
- Introduce HCI raw interface for CS in shared/rap
- Add HCI LE event handling in ranging reflector
- Add RAS packet format and notification support
- Add BPF filter and bt_hci_register_subevent for LE Meta events
- Add client ranging registration and notification
- Various fixes and cleanup for CS/RAP code

---
 meta/recipes-connectivity/bluez5/bluez5.inc   |   13 +
 ...duce-Channel-Sounding-HCI-raw-interf.patch |  381 ++++
 ...-Add-HCI-LE-Event-Handling-in-Reflec.patch | 1563 +++++++++++++++++
 ...up-coding-style-and-unnecessary-code.patch |  261 +++
 ...AS-packet-format-and-notification-su.patch | 1444 +++++++++++++++
 ...t-rap-Add-PTS-tests-for-CS-reflector.patch |  408 +++++
 ...anging-Read-cs_mode_one_data-members.patch |   54 +
 ...Add-BPF-filter-for-registered-events.patch |  141 ++
 ...t_hci_register_subevent-for-LE-Meta-.patch |  360 ++++
 ...Use-bt_hci_register_subevent-for-LE-.patch |  309 ++++
 ...p-Fix-gatt_ccc_read_cb-on-big-endian.patch |   56 +
 ...d-rap-fix-use-of-uninitialized-value.patch |   46 +
 ...lient-ranging-registration-and-notif.patch |  979 +++++++++++
 ...les-ranging-Fix-measured_freq_offset.patch |   38 +
 14 files changed, 6053 insertions(+)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-shared-rap-Introduce-Channel-Sounding-HCI-raw-interf.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0002-profiles-ranging-Add-HCI-LE-Event-Handling-in-Reflec.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0003-rap-Cleanup-coding-style-and-unnecessary-code.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-Add-RAS-packet-format-and-notification-su.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0005-unit-test-rap-Add-PTS-tests-for-CS-reflector.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0006-profiles-ranging-Read-cs_mode_one_data-members.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0007-shared-hci-Add-BPF-filter-for-registered-events.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0008-shared-hci-Add-bt_hci_register_subevent-for-LE-Meta-.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0009-ranging-rap_hci-Use-bt_hci_register_subevent-for-LE-.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0010-test-rap-Fix-gatt_ccc_read_cb-on-big-endian.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0011-shared-rap-fix-use-of-uninitialized-value.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0012-shared-rap-Add-client-ranging-registration-and-notif.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0013-profiles-ranging-Fix-measured_freq_offset.patch
meta/recipes-connectivity/bluez5/bluez5.inc +13 -0
index dfd368ef3f..6988d7f78f 100644
@@ -73,6 +73,19 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
            file://0001-gatt-client-Fix-use-after-free-caused-by-reentrant-c.patch \
            file://0001-transport-Fix-set-volume-failure-with-invalid-device.patch \
            file://0001-advertising-Fix-sending-extra-bytes-with-MGMT_OP_ADD.patch \
+           file://0001-shared-rap-Introduce-Channel-Sounding-HCI-raw-interf.patch \
+           file://0002-profiles-ranging-Add-HCI-LE-Event-Handling-in-Reflec.patch \
+           file://0003-rap-Cleanup-coding-style-and-unnecessary-code.patch \
+           file://0004-src-shared-Add-RAS-packet-format-and-notification-su.patch \
+           file://0005-unit-test-rap-Add-PTS-tests-for-CS-reflector.patch \
+           file://0006-profiles-ranging-Read-cs_mode_one_data-members.patch \
+           file://0007-shared-hci-Add-BPF-filter-for-registered-events.patch \
+           file://0008-shared-hci-Add-bt_hci_register_subevent-for-LE-Meta-.patch \
+           file://0009-ranging-rap_hci-Use-bt_hci_register_subevent-for-LE-.patch \
+           file://0010-test-rap-Fix-gatt_ccc_read_cb-on-big-endian.patch \
+           file://0011-shared-rap-fix-use-of-uninitialized-value.patch \
+           file://0012-shared-rap-Add-client-ranging-registration-and-notif.patch \
+           file://0013-profiles-ranging-Fix-measured_freq_offset.patch \
            "
 S = "${UNPACKDIR}/bluez-${PV}"
 
meta/recipes-connectivity/bluez5/bluez5/0001-shared-rap-Introduce-Channel-Sounding-HCI-raw-interf.patch new file +381 -0

381 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0002-profiles-ranging-Add-HCI-LE-Event-Handling-in-Reflec.patch new file +1563 -0

1,563 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0003-rap-Cleanup-coding-style-and-unnecessary-code.patch new file +261 -0

261 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-Add-RAS-packet-format-and-notification-su.patch new file +1444 -0

776 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0005-unit-test-rap-Add-PTS-tests-for-CS-reflector.patch new file +408 -0

408 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0006-profiles-ranging-Read-cs_mode_one_data-members.patch new file +54 -0

54 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0007-shared-hci-Add-BPF-filter-for-registered-events.patch new file +141 -0

141 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0008-shared-hci-Add-bt_hci_register_subevent-for-LE-Meta-.patch new file +360 -0

360 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0009-ranging-rap_hci-Use-bt_hci_register_subevent-for-LE-.patch new file +309 -0

309 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0010-test-rap-Fix-gatt_ccc_read_cb-on-big-endian.patch new file +56 -0

56 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0011-shared-rap-fix-use-of-uninitialized-value.patch new file +46 -0

46 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0012-shared-rap-Add-client-ranging-registration-and-notif.patch new file +979 -0

979 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0013-profiles-ranging-Fix-measured_freq_offset.patch new file +38 -0
new file mode 100644
index 0000000000..5154d1c176

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.34.1

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 32 lines · Prathibha Madugonde via lists.openembedded.org

From: Prathibha Madugonde <[email protected]>

Add 13 upstream patches enabling Channel Sounding (CS) ranging support:
- Introduce HCI raw interface for CS in shared/rap
- Add HCI LE event handling in ranging reflector
- Add RAS packet format and notification support
- Add BPF filter and bt_hci_register_subevent for LE Meta events
- Add client ranging registration and notification
- Various fixes and cleanup for CS/RAP code

---
 meta/recipes-connectivity/bluez5/bluez5.inc   |   13 +
 ...duce-Channel-Sounding-HCI-raw-interf.patch |  381 ++++
 ...-Add-HCI-LE-Event-Handling-in-Reflec.patch | 1563 +++++++++++++++++
 ...up-coding-style-and-unnecessary-code.patch |  261 +++
 ...AS-packet-format-and-notification-su.patch | 1444 +++++++++++++++
 ...t-rap-Add-PTS-tests-for-CS-reflector.patch |  408 +++++
 ...anging-Read-cs_mode_one_data-members.patch |   54 +
 ...Add-BPF-filter-for-registered-events.patch |  141 ++
 ...t_hci_register_subevent-for-LE-Meta-.patch |  360 ++++
 ...Use-bt_hci_register_subevent-for-LE-.patch |  309 ++++
 ...p-Fix-gatt_ccc_read_cb-on-big-endian.patch |   56 +
 ...d-rap-fix-use-of-uninitialized-value.patch |   46 +
 ...lient-ranging-registration-and-notif.patch |  979 +++++++++++
 ...les-ranging-Fix-measured_freq_offset.patch |   38 +
 14 files changed, 6053 insertions(+)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-shared-rap-Introduce-Channel-Sounding-HCI-raw-interf.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0002-profiles-ranging-Add-HCI-LE-Event-Handling-in-Reflec.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0003-rap-Cleanup-coding-style-and-unnecessary-code.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0004-src-shared-Add-RAS-packet-format-and-notification-su.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0005-unit-test-rap-Add-PTS-tests-for-CS-reflector.patch
Quoted 8 lines
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0006-profiles-ranging-Read-cs_mode_one_data-members.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0007-shared-hci-Add-BPF-filter-for-registered-events.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0008-shared-hci-Add-bt_hci_register_subevent-for-LE-Meta-.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0009-ranging-rap_hci-Use-bt_hci_register_subevent-for-LE-.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0010-test-rap-Fix-gatt_ccc_read_cb-on-big-endian.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0011-shared-rap-fix-use-of-uninitialized-value.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0012-shared-rap-Add-client-ranging-registration-and-notif.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0013-profiles-ranging-Fix-measured_freq_offset.patch

Hi Prathibha,

This is a huge set of backported patches, we would prefer not to carry this many feature changes in OE-Core. When is the next upstream release expected? If there isn't a clear timeline, perhaps you can work with the bluez5 maintainers and explain your need to get the new features into a release.

Alternatively, it may be better to carry these patches in your BSP layer.

Thanks,

Signature · 1 line
Paul Barker