[PATCH BlueZ v6 0/2] RAP: streamline session handling, reflector setup

Naga Bhavani Akella <[email protected]> Mon, 27 Jul 2026 12:29:52 +0530
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
This series adds RAP users to the direct session lookup functionality.

The first patch refactors the shared RAP layer by introducing explicit
attachment/disconnection helpers, adding bt_rap_get_session(), and
using session lookup directly from the RAS GATT server callbacks.

The second patch updates the ranging RAP profile accordingly.
Reflector setup is consolidated into a dedicated helper, D-Bus registration
state is tracked explicitly, cleanup is centralized in rap_data_free()


Naga Bhavani Akella (2):
  rap: use session lookup for RAS operations
  profiles: centralize reflector setup

 profiles/ranging/rap.c | 209 ++++++++++++++++++++++++++++-------------
 src/shared/rap.c       | 143 +++++++++++++++++++++++++++-
 src/shared/rap.h       |   2 +
 3 files changed, 285 insertions(+), 69 deletions(-)

--