From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.70.43.22 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796346188; b=dY7LS5DOXJXxNMOe4UkoKSs3ljxXTotX+U8bWwmwj4MhANiiofldPG91eiezkkRMIy1u 73bWv2U+0IVI2MYjs+S0aH8IB+xfhDAsp30qa/4DtCo3j4xYCSCOcpXxtMihY3Q7ZyFso nH58Ze8PpMX7cStniEsBz4OnxszADmuf0wgLLKhpctlgEvKO1MCVCLSusH+Mszff46JaJ FDzwdcUws0pwkdN2xko5Pr508//OFXI2LXDEWXDgyGhWpKyPds5XW1ZGvBxqSz2X90Mik /RrrcJ++MQoAPFaGhz6JFTPefs8IlBh+fhWZghIsLZ3nT3+Li6JQthdXGK36MjRNd5g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796346188; h=DMARC-Filter:DKIM-Signature:Date:To:From:Cc:Subject:Message-ID: In-Reply-To:References:Feedback-ID:X-Pm-Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=ly1APHfDrHPRzJcuwCVVVG2BiV3LU6g6dC2tIML6qAM=; b=xrpOZ6MkRigcoa+x7rv0yN2Q8t702lHS8vrDZh4WX/ZqtfTVmSxzqzp7Qymc8uxWcpM8 RVQEW0waY2Ml8nOMkMGexTMKpDWP36ELwkM+1aBY9Bdm3JvUH9pUs8R1ULOyhDM1WKxfq YyAJJ1qWLzAd/GRNHH1nv65llfBrDBCo/vzuHPyDbZZuCxcEFVKD0r5fbTCWqh4Le48c/ hD2bOmy4aJKaa4RryPfJbBN+UYHUPn3G8qpZrFBu3mfLqH/J2PNfAvxcyy3tTOZplEQk+ KW60QJRpuTbeZ5X7bBh1vyDrp7gW+sydeCSNEV3edpMAR4rEin7Z2pSK2HyUrRbKrMQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=proton.me; spf=pass smtp.mailfrom=proton.me; dkim=pass header.d=proton.me header.i=@proton.me header.a=rsa-sha256 header.s=protonmail2 header.b=bylauB4h; arc=none smtp.remote-ip=185.70.43.22 Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 001EE606A322 for ; Fri, 4 Dec 2026 01:03:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 001EE606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=proton.me header.i=@proton.me header.a=rsa-sha256 header.s=protonmail2 header.b=bylauB4h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail2; t=1796346184; x=1796605384; bh=ly1APHfDrHPRzJcuwCVVVG2BiV3LU6g6dC2tIML6qAM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=bylauB4h8dnPvxmbuJj5LThk4SDD7lHp0kxhmCPcrHgLsubdBlfeVLI2WUWpafZIM Hv6AycK8RlWNJzaUktEsbL7ZT0n1COtEKhux/7yEH/38hTuGzpIUJZ5SaajF56xQr4 EFp8t87qlOW51CY7RB+gVORVrXdvj76PEyIWQ/LYYssofRNTzjRKJOP/a/0ciNkfyQ a6chL4xr7eLb/TQ5h8C42XTNexuvBN4KpJlO0yjVpAIW8htI4MZziMt4tox/jQsrAK SblXZ8SBDeROOi1h3V5oP0NFJ/gUOmqx9stJ944QzsJ8kCQF9Rm/LS8uTQqG6+1ZYx VznUMWCjJjgmA== Date: Fri, 04 Dec 2026 01:02:57 +0000 To: linux-bluetooth@vger.kernel.org From: Kyle Pepper Cc: luiz.dentz@gmail.com, marcel@holtmann.org Subject: [RFC PATCH v4 0/2] Bluetooth: Load LE connection event length hints through MGMT Message-ID: <20261204010225.3029996-1-cochcoder@proton.me> In-Reply-To: <20261203184044.134357-1-cochcoder@proton.me> References: <20261203184044.134357-1-cochcoder@proton.me> Feedback-ID: 97716137:user:proton X-Pm-Message-ID: 1f077f046fb175a3ba644dc696d827d232cbf5e1 X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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@p= roton.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