[PATCH BlueZ v3 0/3] Add CS procedure data aggregation and D-Bus export

Naga Bhavani Akella <[email protected]> Thu, 30 Jul 2026 12:10:04 +0530
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
This series adds support for collecting, aggregating, and exporting
Channel Sounding procedure data to userspace.

The first patch introduces a new procedure-data aggregation layer in
shared/rap. It tracks local initiator and remote reflector results for
each procedure, combines them once both sides are complete, and provides
a callback-based API for consumers.

The second patch builds on this infrastructure by serializing completed
CS procedure data into a binary blob and exposing it through a new
ProcedureData signal on the CS D-Bus interface. This allows external
ranging estimation daemons to consume raw controller measurement data
without requiring BlueZ to expose or maintain a fixed D-Bus structure
for evolving CS result formats.

The final patch updates the D-Bus API documentation to reflect the new
signal format

Changes in v3:
- Rebase the changes

Naga Bhavani Akella (3):
  shared: Add bcs_procedure_data aggregation and procedure data API
  profiles/ranging: Emit CS ProcedureData signal over D-Bus
  doc: Update ProcedureData signal doc for byte-blob format

 doc/org.bluez.ChannelSounding1.rst | 365 ++++++----------
 profiles/ranging/rap.c             | 292 ++++++++++++-
 profiles/ranging/rap_hci.c         |  59 +++
 src/shared/rap.c                   | 679 +++++++++++++++++++++++++++--
 src/shared/rap.h                   |  50 +++
 5 files changed, 1174 insertions(+), 271 deletions(-)

--