From: Kyle Pepper <cochcoder@proton.me>
To: linux-bluetooth@vger.kernel.org
Subject: [RFC PATCH BlueZ v5 0/4] asha: Notify connection interval changes
Date: Tue, 24 Nov 2026 16:39:42 +0000 [thread overview]
Message-ID: <cover.1795535897.git.cochcoder@proton.me> (raw)
In-Reply-To: <cover.1795489294.git.cochcoder@proton.me>
Report observed connection intervals to attached hearing aids.
Apply patches 1-4 in order: set lifetime fix, shared STATUS helper,
profile observer, then tests. No out-of-tree dependency is required.
Changes since v4:
- Track attached aids separately from previously started aids so a peer
receives STATUS before its first START. Remove attachment on reset/free
and preserve a replacement when an older object is released.
- Test both directions and ROP/PSM read orders, incomplete discovery and
same-side replacement before the older object's release. Keep the START
other-connected bit tied to its existing set.
The v4 functional job failed BASS/PAST broadcast earbud acquisition with
org.bluez.Error.Failed. This revision fixes a separate ASHA notification
gap; it does not claim to resolve that failure. Native functional VM and
hardware validation remain unavailable locally.
The observer still reports only its last successful observation. Lost or
preexisting events remain unknown until a supported event arrives; LE
Enhanced Connection Complete v2 is not registered. Controller power-cycle
cache behavior and the profile ownership of the raw observer remain open.
Previous v4 cover (this series replies to it):
https://lore.kernel.org/linux-bluetooth/cover.1795489294.git.cochcoder@proton.me/
Previous PR and functional failure:
https://github.com/bluez/bluez/pull/2891
Kyle Pepper (4):
shared/asha: Unregister set members by object
asha: Add connection interval STATUS helper
asha: Notify observed connection intervals
unit: Test ASHA connection interval notifications
.gitignore | 2 +
Makefile.am | 17 ++
profiles/audio/asha.c | 231 +++++++++++++++
src/shared/asha.c | 98 ++++++-
src/shared/asha.h | 1 +
unit/test-asha-conn.c | 578 ++++++++++++++++++++++++++++++++++++++
unit/test-asha-conn.h | 11 +
unit/test-asha-interval.c | 355 +++++++++++++++++++++++
8 files changed, 1288 insertions(+), 5 deletions(-)
create mode 100644 unit/test-asha-conn.c
create mode 100644 unit/test-asha-conn.h
create mode 100644 unit/test-asha-interval.c
--
2.56.1
next prev parent reply other threads:[~2026-11-24 16:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 0:22 [RFC PATCH RESEND v2] asha: Notify connection interval changes Kyle Pepper
2026-10-29 6:32 ` [RFC,RESEND,v2] " bluez.test.bot
2026-11-06 23:51 ` [RFC PATCH v3] " Kyle Pepper
2026-11-07 2:59 ` [RFC,v3] " bluez.test.bot
2026-11-22 2:27 ` bluez.test.bot
2026-11-24 3:38 ` [RFC PATCH BlueZ v4 0/4] " Kyle Pepper
2026-11-24 3:38 ` [RFC PATCH BlueZ v4 1/4] shared/asha: Unregister set members by object Kyle Pepper
2026-11-24 11:21 ` asha: Notify connection interval changes bluez.test.bot
2026-11-24 3:39 ` [RFC PATCH BlueZ v4 2/4] asha: Add connection interval STATUS helper Kyle Pepper
2026-11-24 3:39 ` [RFC PATCH BlueZ v4 3/4] asha: Notify observed connection intervals Kyle Pepper
2026-11-24 3:39 ` [RFC PATCH BlueZ v4 4/4] unit: Test ASHA connection interval notifications Kyle Pepper
2026-11-24 16:39 ` Kyle Pepper [this message]
2026-11-24 16:39 ` [RFC PATCH BlueZ v5 1/4] shared/asha: Unregister set members by object Kyle Pepper
2026-11-24 21:12 ` asha: Notify connection interval changes bluez.test.bot
2026-11-25 14:57 ` Luiz Augusto von Dentz
2026-11-24 16:40 ` [RFC PATCH BlueZ v5 2/4] asha: Add connection interval STATUS helper Kyle Pepper
2026-11-24 16:40 ` [RFC PATCH BlueZ v5 3/4] asha: Notify observed connection intervals Kyle Pepper
2026-11-24 16:40 ` [RFC PATCH BlueZ v5 4/4] unit: Test ASHA connection interval notifications Kyle Pepper
2026-11-25 23:27 ` [RFC PATCH BlueZ v6 0/4] asha: Notify connection interval changes Kyle Pepper
2026-11-25 23:27 ` [RFC PATCH BlueZ v6 1/4] shared/asha: Unregister set members by object Kyle Pepper
2026-11-26 5:41 ` asha: Notify connection interval changes bluez.test.bot
2026-11-25 23:27 ` [RFC PATCH BlueZ v6 2/4] asha: Add connection interval STATUS helper Kyle Pepper
2026-11-25 23:28 ` [RFC PATCH BlueZ v6 3/4] asha: Notify observed connection intervals Kyle Pepper
2026-11-25 23:28 ` [RFC PATCH BlueZ v6 4/4] unit: Test ASHA connection interval notifications Kyle Pepper
2026-12-01 16:30 ` [RFC PATCH BlueZ v6 0/4] asha: Notify connection interval changes patchwork-bot+bluetooth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1795535897.git.cochcoder@proton.me \
--to=cochcoder@proton.me \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.