From 8acff80a878cc4e181b44ca71fd63687d7db2045 Mon Sep 17 00:00:00 2001 From: Garvit Surana <251430630+garvitsurana271@users.noreply.github.com> Date: Sat, 21 Nov 2026 22:33:31 +0000 Subject: [PATCH] docs(bluetooth): name the RTL8852CU identity, its v2 then v1 image, the 0xfc66 drop and the passive LE scan in the USB Bluetooth and Realtek module docs and their Linux sources in NOTICE, and say an RTL8852CU's wideband voice waits for its ALT 6 continuous output, where the docs named only the RTL8761BU, RTL8822B and EPATCH v1 --- NOTICE | 6 ++++++ crates/stela-drivers/src/usb/bluetooth.rs | 8 ++++++-- crates/stela-drivers/src/usb/bluetooth/realtek.rs | 6 +++++- crates/stela-drivers/src/usb/bluetooth/realtek/media.rs | 2 ++ crates/stela-drivers/src/usb/bluetooth/realtek/scan.rs | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/NOTICE b/NOTICE index ddbf5e8592..e503dbed9c 100644 --- a/NOTICE +++ b/NOTICE @@ -1036,6 +1036,12 @@ crates/stela-drivers/src/usb/bluetooth/: Intel USB Bluetooth legacy RSA crates/stela-drivers/src/usb/bluetooth/: Realtek Bluetooth EPATCH v1 staging Linux 59f9fc2ef8d1e312d2a613d4e1ffad2ff31a0a01; GPL-2.0-or-later drivers/bluetooth/btrtl.c +crates/stela-drivers/src/usb/bluetooth/: Realtek RTL8852CU identity, its v2 + then v1 image, the 0xfc66 drop of a running patch and a passive LE scan + Linux cc9de5d4b5ab6459f5774946aa3195ad51236fa8; GPL-2.0-or-later + drivers/bluetooth/btrtl.c, drivers/bluetooth/btusb.c, + net/bluetooth/hci_core.c, net/bluetooth/hci_event.c, + net/bluetooth/hci_sync.c crates/stela-drivers/src/usb/bluetooth/: MediaTek MT79xx Bluetooth firmware staging Linux 59f9fc2ef8d1e312d2a613d4e1ffad2ff31a0a01, diff --git a/crates/stela-drivers/src/usb/bluetooth.rs b/crates/stela-drivers/src/usb/bluetooth.rs index 7e90161bff..afc8138cba 100644 --- a/crates/stela-drivers/src/usb/bluetooth.rs +++ b/crates/stela-drivers/src/usb/bluetooth.rs @@ -17,8 +17,12 @@ //! The explicit native [`Hci::initialize_with_provider`] consumer keeps owned //! device-specific evidence/errors after the provider is released. Raw attachment //! itself never initializes a controller. [`realtek::initialize`] adds exact -//! RTL8761BU/RTL8822B stock-ROM identification and EPATCH v1 upload with owned -//! observations. Other vendor/format variants remain explicit unsupported paths. +//! RTL8761BU/RTL8822B/RTL8852BU/RTL8852CU stock-ROM identification, a running +//! patch dropped once with 0xfc66 as btrtl drops it, and EPATCH v1 or v2 +//! upload (an RTL8852CU's v2 image, its v1 image when that is missing) with +//! owned observations; [`realtek::scan()`] a bounded passive LE scan through +//! such a controller. Other vendor/format variants remain explicit +//! unsupported paths. //! [`broadcom::initialize`] adds source-selected Broadcom/Cypress USB PatchRAM //! identification, complete HCD replay, completion/credit handling and //! post-download observations. Matching vendor-specific HCI interfaces diff --git a/crates/stela-drivers/src/usb/bluetooth/realtek.rs b/crates/stela-drivers/src/usb/bluetooth/realtek.rs index bce17f3661..dd28f246f8 100644 --- a/crates/stela-drivers/src/usb/bluetooth/realtek.rs +++ b/crates/stela-drivers/src/usb/bluetooth/realtek.rs @@ -4,8 +4,12 @@ //! See NOTICE for exact provenance and limits. Explicit initialization //! observes an exact USB/HCI/ROM/security profile, stages exact Provider images //! and requires real download completions and post-upload version/address. +//! Readings no btrtl IC matches, as a warm reboot's running patch gives, are +//! dropped once with 0xfc66 and read again, as `btrtl_initialize` does. //! This establishes observed protocol execution, never vendor authentication, //! radio validation or guest services. Generic firmware status is unchanged. +//! [`scan()`] is a bounded passive LE scan through an initialized controller, +//! for the host check; it counts advertisers and keeps no address. mod firmware; mod identity; mod initialize; @@ -123,7 +127,7 @@ pub struct OwnedReport { pub v2: Option, pub download: Vec, /// The commands the controller's last completion let the host send, - /// which a later exchange ([`scan`]) starts from. + /// which a later exchange ([`scan()`]) starts from. pub credits: u8, } #[derive(Debug)] diff --git a/crates/stela-drivers/src/usb/bluetooth/realtek/media.rs b/crates/stela-drivers/src/usb/bluetooth/realtek/media.rs index d1059750e7..a9ce9b76e9 100644 --- a/crates/stela-drivers/src/usb/bluetooth/realtek/media.rs +++ b/crates/stela-drivers/src/usb/bluetooth/realtek/media.rs @@ -4,6 +4,8 @@ //! native endpoint/DMA, framing and terminal lifecycle owner with MT7925 media, //! without its third interface or vendor setup. Pairing, codecs and profiles //! remain with the Bluetooth stack. Stream quiescence is no physical suspend. +//! An RTL8852CU takes CVSD; its wideband voice is refused until its ALT 6 +//! continuous output (btrtl.c:1322-1326, btusb.c:1782-1786) is ported. use super::super::mediatek::media as shared; use crate::{ bus::dma::DmaAllocator, diff --git a/crates/stela-drivers/src/usb/bluetooth/realtek/scan.rs b/crates/stela-drivers/src/usb/bluetooth/realtek/scan.rs index 1f0a65307e..c0aab0d3b3 100644 --- a/crates/stela-drivers/src/usb/bluetooth/realtek/scan.rs +++ b/crates/stela-drivers/src/usb/bluetooth/realtek/scan.rs @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-or-later -//! A bounded passive LE scan through a controller [`super::initialize`] +//! A bounded passive LE scan through a controller [`super::initialize()`] //! brought up, for the host check's `--bluetooth-check`: the standard HCI //! Linux's core sends once btrtl's setup has run, cut to what a passive scan //! needs. HCI Reset (`hci_init1_sync`, hci_sync.c:3890-3901); Set Event Mask