Re: [RFC PATCH 1/1] Bluetooth: qca: Clear 5th byte in TLV tag 27 for WCN3950
From: Bartosz Golaszewski
Date: Wed Nov 04 2026 - 09:09:24 EST
On Tue, Nov 03, 2026 at 12:35:29PM +0200, Stanislavs Nilovs wrote:
> This fixes an incompatibility issue of TLV with 5th byte set to some
> value in Tag 27 (Deep Sleep) and the QCA driver for WCN3950 SoC. If the
> value is set in TLV, then 2 symptoms are observed:
>
> 1) The QCA pre-shutdown command (0xfc08) always fails with timeout.
>
> 2) SoC becomes unstable. During power cycling test it could stop
> answering to any commands and QCA driver enters into the "SoC crashed"
> loop and can never recover.
>
> Setting the 5th byte to 0 resolves both issues - pre-shutdown never
> times out (so, is always replied) and no crash loops observed.
>
> The Claude Opus 5 (Anthropic) was used to create scripts for dumping the
> tag values from TLV files and compare the differences. The fix itself
> was written by me and verified on real hardware.
This doesn't need to be in the commit message, please put it under the
'---' next time.
>
> Signed-off-by: Stanislavs Nilovs <valorcool@xxxxxxxxx>
> ---
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>