* [bluez/bluez] 445547: shared/rap: Add bcs_procedure_data aggregation and...
@ 2026-07-07 18:00 prathibhamadugonde
0 siblings, 0 replies; only message in thread
From: prathibhamadugonde @ 2026-07-07 18:00 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1123273
Home: https://github.com/bluez/bluez
Commit: 4455472ee060dacc309d4191349217b0fe6ebb53
https://github.com/bluez/bluez/commit/4455472ee060dacc309d4191349217b0fe6ebb53
Author: Prathibha Madugonde <prathibha.madugonde@oss.qualcomm.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M src/shared/rap.c
M src/shared/rap.h
Log Message:
-----------
shared/rap: Add bcs_procedure_data aggregation and procedure data API
Define bcs_procedure_data to hold per-procedure CS results from both
the local initiator and remote reflector, including subevent step data,
selected TX powers, procedure enable config, CS config, sw_time values,
and BLE connection interval.
Add cs_proc_state with a 16-entry ring buffer in cstracker to track
procedures keyed by procedure counter, accumulating results
independently from each side until both report all-results-complete.
Update parse_mode_{0,1,2,3}, parse_step, and parse_subevent_steps with
output pointer parameters to capture remote reflector step data.
Introduce parse_cs_local_initiator_data() to store local HCI subevent
results, handling both initial and continuation events. Update
parse_ras_data_segments() to route decoded RAS subevent data into the
matching cs_proc_state as reflector results.
Add bt_rap_set_procedure_data_cb() to register a callback fired once
both local and remote results are complete for a given procedure.
Add bt_rap_set_local_sw_time(), bt_rap_set_remote_sw_time(), and
bt_rap_set_conn_interval() so callers such as rap_hci.c can supply the
CS capability sw_time and connection interval required by upper-layer
distance calculation algorithms.
Remove unwanted function rap_detached , fix for rap profile level
disconnections
Changes in V2:
Removed the block-scoped variable inside find_or_create_proc_state()
Replaced the fixed 16-entry proc_states[] array with a struct queue *
of heap-allocated cs_proc_state entries
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-07 18:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 18:00 [bluez/bluez] 445547: shared/rap: Add bcs_procedure_data aggregation and prathibhamadugonde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox