Bug 2192082

Summary: ath11k firmware breaks suspend
Product: [Fedora] Fedora Reporter: Vlad <mrvladus>
Component: linux-firmwareAssignee: David Woodhouse <dwmw2>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: dwmw2, jforbes, jwboyer, kernel-maint, laura, mario.limonciello, pbrobinson, wtogami
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: linux-firmware-20240220-1.fc39 linux-firmware-20240220-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-22 02:19:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vlad 2023-04-29 09:17:24 UTC
Driver prevents system from entering suspend and wakes up immediately. Disabling with modprobe -r ath11k_pci before suspend helps. 
Current version of firmware is WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23
Downgrading to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.16 fixes issue.


Reproducible: Always

Steps to Reproduce:
1. Suspend laptop or close lid
2. Laptop wakes up immediately
3. Turn off wifi or disable with modprobe -r ath11k_pci
4. Suspend again
5. Suspend works
Actual Results:  
Suspend fails

Expected Results:  
Suspend works

Kernel: 6.2.12-300.fc38.x86_64
linux-firmware version: linux-firmware-20230404-149.fc38.noarch
Wifi adaprter: Qualcomm QCNFA765 Wireless Network Adapter

Comment 1 Peter Robinson 2023-05-01 20:48:48 UTC
What was the last kernel/firmware release combination where it worked?

Comment 2 Vlad 2023-05-02 10:22:38 UTC
Bug appeared in firmware version 20230310-148. Kernel version 6.2.7-300. But kernel version doesn't seems to matter, because if I copy files of older version of ath11k firmware like in this thread: https://bugzilla.kernel.org/show_bug.cgi?id=217239 it works with any kernel.

Comment 3 Peter Robinson 2023-05-16 12:29:33 UTC
There was updates for ath11k in the latest upstream release:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-2cc608e20f

Comment 4 Vlad 2023-05-20 12:34:11 UTC
Problem still present in the latest firmware.
It is still the same version as it was before WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23

Comment 5 Mario Limonciello 2024-02-08 05:47:00 UTC
Please update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37.

See https://bugzilla.redhat.com/show_bug.cgi?id=2262577 for details on why.

Comment 6 Peter Robinson 2024-02-08 09:08:36 UTC
(In reply to Mario Limonciello from comment #5)
> Please update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37.

That will come automatically when it lands upstream in linux-firmware and we update that.

Comment 7 Mario Limonciello 2024-02-08 17:24:08 UTC
> That will come automatically when it lands upstream in linux-firmware and we update that.

Right; but this bug is pretty crucial.  It breaks suspend on A LOT of laptops.  Either the package should be rebased or this binary should be cherry picked.

Comment 8 Warren Togami 2024-02-09 13:33:26 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2262577#c20
My testing here suggests WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37 does not fix the suspend problems.
The suspend behavior seems to be identical in kernel-6.7.4 with both firmware 23 and firmware 37.

Comment 9 Warren Togami 2024-02-09 14:41:38 UTC
I'm going with the assumption that the continued suspend problems are in fact the amdgpu regression.

I will separately file the "suspend with firmware 37 cripples ath11k data throughput" problem upstream.

Comment 10 Fedora Update System 2024-02-20 21:46:11 UTC
FEDORA-2024-0e9661ca97 (linux-firmware-20240220-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0e9661ca97

Comment 11 Fedora Update System 2024-02-20 21:46:12 UTC
FEDORA-2024-355c0ca9d3 (linux-firmware-20240220-1.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-355c0ca9d3

Comment 12 Fedora Update System 2024-02-21 02:03:41 UTC
FEDORA-2024-355c0ca9d3 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-355c0ca9d3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-355c0ca9d3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2024-02-21 02:35:59 UTC
FEDORA-2024-0e9661ca97 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0e9661ca97`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0e9661ca97

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2024-02-22 02:19:23 UTC
FEDORA-2024-0e9661ca97 (linux-firmware-20240220-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2024-02-29 01:58:02 UTC
FEDORA-2024-355c0ca9d3 (linux-firmware-20240220-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.