From: Kyle Pepper <cochcoder@proton.me>
To: linux-bluetooth@vger.kernel.org
Cc: marcel@holtmann.org, luiz.dentz@gmail.com
Subject: [RFC PATCH v2 0/2] Bluetooth: LE connection event length requests
Date: Thu, 03 Dec 2026 01:55:08 +0000 [thread overview]
Message-ID: <20261203015454.3566161-1-cochcoder@proton.me> (raw)
Expose connection-wide advisory CE length hints to connected Central LE
sockets so ASHA can request event time and wait for setup before START.
First correct synchronous LE update completion matching and error reporting.
No controller-specific defaults or connection interval changes are added.
The hints are in 0.625 ms units and can be ignored by the controller.
The API uses shared last-writer state, not per-socket reservations. Option 23
is provisional. The getter returns native-endian u16 min/max hints and an
optional s32 completion status; its full result is eight bytes.
AI assistance: Codex (GPT-6).
Base: bluetooth-next 7a1a7a5baa1e0f84d0568fc999421ee7dcbccaf5.
Changes in v2: patch 1 is unchanged. Patch 2 avoids a recursive device lock
on cancellation and balances queue-time references and pending accounting.
All other feature code is unchanged.
Previous version (human-reported Message-ID; archive fetch unavailable):
https://lore.kernel.org/linux-bluetooth/20261202235608.3238527-1-cochcoder@proton.me/
BlueZ companion, already archived:
https://lore.kernel.org/linux-bluetooth/20261202160403.226082-1-cochcoder@proton.me/
Validation of v2: defconfig with BT/BT_LE/BT_L2CAP enabled; W=1 hci_conn.o
and full net/bluetooth/ including l2cap_sock.o build without warnings.
GCC/Clang UBSan tests execute the production callback and setter; the old
callback reproduces recursive locking. Unsigned strict CheckPatch is clean
with the human sign-off check deferred until DCO certification.
The exact source has no hardware, PTS or running-kernel lockdep result.
Older integrated N8/MT7922 trials do not establish general controller support.
next reply other threads:[~2026-12-03 1:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 1:55 Kyle Pepper [this message]
2026-12-03 1:55 ` [RFC PATCH v2 1/2] Bluetooth: Match LE connection update completions Kyle Pepper
2026-12-03 1:55 ` [RFC PATCH v2 2/2] Bluetooth: Add LE connection event length requests 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=20261203015454.3566161-1-cochcoder@proton.me \
--to=cochcoder@proton.me \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.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.