All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kyle Pepper <cochcoder@proton.me>
To: linux-bluetooth@vger.kernel.org
Cc: luiz.dentz@gmail.com, marcel@holtmann.org
Subject: [RFC PATCH v4 0/2] Bluetooth: Load LE connection event length hints through MGMT
Date: Fri, 04 Dec 2026 01:02:57 +0000	[thread overview]
Message-ID: <20261204010225.3029996-1-cochcoder@proton.me> (raw)
In-Reply-To: <20261203184044.134357-1-cochcoder@proton.me>

Expose advisory LE connection event length hints through a privileged
per-peer MGMT command. Match LE Connection Update Complete against the
pending command's connection handle before reporting a live update result.

Changes since RFC v3:
- Keep the matcher on hci_dev and clean up matched requests on every exit.
- Resolve an initiating peer's identity and snapshot the hints for both
  legacy and extended create commands.
- Handle configuring and connecting central links, preserve active SCI
  and subrate settings, and store live changes only after HCI success.
- Use an HCI command timeout when unset, report timeout and disconnect
  distinctly, and avoid allocating an entry to clear an unknown peer.

RFC v3 cover (Message-ID from the human send receipt):
https://lore.kernel.org/linux-bluetooth/20261203184044.134357-1-cochcoder@proton.me/

Codex assisted with the source revisions and offline verification.
AI assistance: v4

Kyle Pepper (2):
  Bluetooth: Allow custom matching of synchronous LE events
  Bluetooth: Load LE connection event length hints through MGMT

 include/net/bluetooth/bluetooth.h |  14 +++
 include/net/bluetooth/hci_core.h  |   6 +
 include/net/bluetooth/hci_sync.h  |   9 ++
 include/net/bluetooth/mgmt.h      |   8 ++
 net/bluetooth/hci_conn.c          |   9 +-
 net/bluetooth/hci_event.c         |  33 +++--
 net/bluetooth/hci_sync.c          | 198 +++++++++++++++++++++++++-----
 net/bluetooth/mgmt.c              | 163 ++++++++++++++++++++++++
 8 files changed, 393 insertions(+), 47 deletions(-)


base-commit: 7a1a7a5baa1e0f84d0568fc999421ee7dcbccaf5


  parent reply	other threads:[~2026-12-04  1:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 18:41 [RFC PATCH v3 0/2] Bluetooth: Load LE connection event length hints through MGMT Kyle Pepper
2026-12-03 18:41 ` [RFC PATCH v3 1/2] Bluetooth: Allow custom matching of synchronous LE events Kyle Pepper
2026-12-04  2:10   ` Bluetooth: Load LE connection event length hints through MGMT bluez.test.bot
2026-12-03 18:41 ` [RFC PATCH v3 2/2] " Kyle Pepper
2026-12-04  1:02 ` Kyle Pepper [this message]
2026-12-04  1:03   ` [RFC PATCH v4 1/2] Bluetooth: Allow custom matching of synchronous LE events Kyle Pepper
2026-12-04  2:19     ` Bluetooth: Load LE connection event length hints through MGMT bluez.test.bot
2026-12-04  1:03   ` [RFC PATCH v4 2/2] " 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=20261204010225.3029996-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.