From: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
To: Malte Schababerle <m.schababerle@gmail.com>,
Jeff Johnson <jjohnson@kernel.org>
Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org
Subject: Re: [PATCH 1/2] ath10k: skip quiet mode for WCN3990 to prevent firmware crash
Date: Tue, 31 Mar 2026 13:09:11 +0800 [thread overview]
Message-ID: <323b5222-a105-4701-8342-9131660fe803@oss.qualcomm.com> (raw)
In-Reply-To: <20260322124822.230492-2-m.schababerle@gmail.com>
On 3/22/2026 8:48 PM, Malte Schababerle wrote:
> WCN3990 firmware (WLAN.HL.3.2) crashes deterministically when the
> quiet mode WMI command is sent during ath10k_start(). The crash occurs
> at PC=0xb0008e20 in wlanmdsp.mbn, ~17ms after the subsequent
> vdev_create command, and cascades into a full modem crash.
>
> Commit 53884577fbcef ("ath10k: skip sending quiet mode cmd for
> WCN3990") addressed this for HL2.0 firmware by gating quiet mode on
> WMI_SERVICE_THERM_THROT. HL2.0 did not advertise the service bit, so
> the guard was effective. However, newer WCN3990 firmware (HL3.2)
> erroneously advertises WMI_SERVICE_THERM_THROT via its TLV service
> map despite still being unable to handle the quiet mode command.
>
> Skip quiet mode unconditionally for WCN3990 using QCA_REV_WCN3990()
> instead of relying on the service bit.
>
> Tested on OnePlus 7T (SM8150/WCN3990) with WLAN.HL.3.2.0.c2-00006
> and WLAN.HL.3.2.0.c2-00011 (both crash without patch, both work with):
> - wlan0 comes up without crash
> - WiFi scanning works
> - NetworkManager recognizes the interface
>
> Fixes: 53884577fbcef ("ath10k: skip sending quiet mode cmd for WCN3990")
> Signed-off-by: Malte Schababerle <m.schababerle@gmail.com>
> ---
> drivers/net/wireless/ath/ath10k/thermal.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/drivers/net/wireless/ath/ath10k/thermal.c b/drivers/net/wireless/ath/ath10k/thermal.c
> index 8b15ec07b1071..33f299f414710 100644
> --- a/drivers/net/wireless/ath/ath10k/thermal.c
> +++ b/drivers/net/wireless/ath/ath10k/thermal.c
> @@ -136,6 +136,16 @@ void ath10k_thermal_set_throttling(struct ath10k *ar)
> if (!ar->wmi.ops->gen_pdev_set_quiet_mode)
> return;
>
> + /* WCN3990 firmware crashes on quiet mode despite advertising support.
> + * See also commit 53884577fbcef ("ath10k: skip sending quiet mode
> + * cmd for WCN3990").
> + */
> + if (QCA_REV_WCN3990(ar)) {
> + ath10k_dbg(ar, ATH10K_DBG_BOOT,
> + "skip quiet mode for WCN3990 (known crash trigger)\n");
> + return;
> + }
> +
> if (ar->state != ATH10K_STATE_ON)
> return;
>
Malte, the firmware team needs firmware dump to understand this issue, would you be able
to help collect it?
next prev parent reply other threads:[~2026-03-31 5:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-22 12:48 [PATCH 0/2] ath10k: WCN3990 firmware workarounds for WLAN.HL.3.2 Malte Schababerle
2026-03-22 12:48 ` [PATCH 1/2] ath10k: skip quiet mode for WCN3990 to prevent firmware crash Malte Schababerle
2026-03-31 5:09 ` Baochen Qiang [this message]
2026-04-06 22:14 ` [PATCH] " Malte Schababerle
2026-04-10 7:38 ` Baochen Qiang
2026-03-22 12:48 ` [PATCH 2/2] ath10k: force passive scan on 5GHz for WCN3990 Malte Schababerle
2026-03-25 8:41 ` [PATCH 0/2] ath10k: WCN3990 firmware workarounds for WLAN.HL.3.2 Loic Poulain
2026-03-25 15:54 ` Jeff Johnson
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=323b5222-a105-4701-8342-9131660fe803@oss.qualcomm.com \
--to=baochen.qiang@oss.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=jjohnson@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=m.schababerle@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox