Re: [PATCH] Bluetooth: qca: Disable SoC debug logging for WCN3990
From: Bartosz Golaszewski
Date: Fri Nov 06 2026 - 04:50:04 EST
On Thu, Nov 05, 2026 at 12:19:52PM -0800, Hex Lindqvist wrote:
> Unless the host turns it off, the WCN3990 firmware sends debug logs to
> the host as ACL packets on handle 0x2EDC. hci_qca passes them on as
> diagnostic packets, which the core copies to the monitor socket and then
> frees. On a OnePlus 6T (SoC version 0x40010214, ROM version 0x0201) that
> is a packet of about 490 bytes every seven seconds on average, for as
> long as the controller is up.
>
> The driver already turns this logging off after the firmware download
> for WCN3950 and WCN3991. Do the same for WCN3990.
>
> Tested on a OnePlus 6T. With the crbtfw21.tlv rampatch from the OnePlus
> firmware, no diagnostic packets arrive any more. The controller also
> accepts the command with the crbtfw21.tlv from linux-firmware.
>
> An AI assistant helped find and test this change and drafted this
> message.
>
> Signed-off-by: Hex Lindqvist <hex@xxxxxxxxxxxxx>
> ---
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>