[PATCH BlueZ v5 0/2] RAP: streamline session handling, reflector setup
Naga Bhavani Akella <[email protected]>
| Newsgroups | org.kernel.vger.linux-bluetooth |
|---|---|
| Message-ID | <[email protected]> |
This series removes RAS accessed callback bridge and switches RAP users to direct session lookup. 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. With all users migrated, the accessed-notification bridge and its public registration APIs are removed. 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(), and RAS accessed callback handling is dropped. Naga Bhavani Akella (2): rap: use session lookup for RAS operations profiles: centralize reflector setup profiles/ranging/rap.c | 137 +++++++++++++++++++++++++---------------- src/shared/rap.c | 107 ++++++++++++++++++++++++++++++-- src/shared/rap.h | 2 + 3 files changed, 189 insertions(+), 57 deletions(-) --