From: Kyle Pepper <cochcoder@proton.me>
To: linux-bluetooth@vger.kernel.org
Subject: [RFC PATCH BlueZ v4 0/4] asha: Notify connection interval changes
Date: Tue, 24 Nov 2026 03:38:39 +0000 [thread overview]
Message-ID: <cover.1795489294.git.cochcoder@proton.me> (raw)
In-Reply-To: <20261106235122.719665-1-cochcoder@proton.me>
Report observed connection intervals to attached hearing aids.
Apply patches 1-4 in order: lifetime fix, shared STATUS helper, profile
observer, then tests. No out-of-tree dependency is required.
Changes since v3:
- Unregister ASHA set members by object identity, preserving replacements.
- Split the shared helper, profile observer and tests into separate patches.
- Notify attached devices when an initial connection event arrives late.
- Cover reset, free and same-side replacement in the lifetime tests.
The cached interval is the last successful observation. A requested
connection update can still be pending when STATUS precedes START.
Links already connected when the observer starts remain unknown until
their next observed update. Hardware validation and fresh remote CI
remain unverified.
Previous v3 (this cover replies to it):
https://lore.kernel.org/linux-bluetooth/20261106235122.719665-1-cochcoder@proton.me/
Previous PR: https://github.com/bluez/bluez/pull/2773
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 | 63 ++++-
src/shared/asha.h | 1 +
unit/test-asha-conn.c | 578 ++++++++++++++++++++++++++++++++++++++
unit/test-asha-conn.h | 11 +
unit/test-asha-interval.c | 237 ++++++++++++++++
8 files changed, 1135 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 3:38 UTC|newest]
Thread overview: 10+ 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 ` Kyle Pepper [this message]
2026-11-24 3:38 ` [RFC PATCH BlueZ v4 1/4] shared/asha: Unregister set members by object Kyle Pepper
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
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.1795489294.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox