Include the QCA WCN 6856 v2.1 support

Bug #1954938 reported by You-Sheng Yang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
High
You-Sheng Yang
Focal
Invalid
Undecided
Unassigned
Impish
Won't Fix
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
linux-firmware (Ubuntu)
Fix Released
High
You-Sheng Yang
Focal
Fix Released
High
You-Sheng Yang
Impish
Won't Fix
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
High
You-Sheng Yang
Impish
Invalid
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

WCN685x hw2.1 takes additional/updated firmware for both WiFi and
Bluetooth function.

ath11k_pci 0000:71:00.0: BAR 0: assigned [mem 0xa6000000-0xa61fffff 64bit]
ath11k_pci 0000:71:00.0: enabling device (0000 -> 0002)
ath11k_pci 0000:71:00.0: Unsupported WCN6855 SOC hardware version: 18 17
ath11k_pci: probe of 0000:71:00.0 failed with error -95

[Fix]

WCN685x hw2.1 currently shares most WiFi firmware with hw2.0 except
for the directory path and a board-2.bin.

For Bluetooth, updated revision of qca/nvm_usb_00130201_gf* from
mainline are neccessary for Focal. Jammy has all of them already.

For kernel, many of the prerequisite works have been committed for
hw2.0 in bug 1945154, 1952215 and 1958850. Currently, while WiFi 6G
will be turned off for the lack of userspace support, the only fix
necessary is to correct read mask of version info register.

ath11k 6G band lives in mainline v5.16 and was backported to oem-5.14
in bug 1939528, so only oem-5.14 has to be reverted.

[Test Case]

WiFi and Bluetooth devices should be up and running, pass basic
operations.

$ lspci -nnk|grep -A3 Network
0000:71:00.0 Network controller [0280]: Qualcomm Device [17cb:1103] (rev 01)
        Subsystem: Foxconn International, Inc. Device [105b:e0ce]
        Kernel driver in use: ath11k_pci
        Kernel modules: ath11k_pci

$ lsusb
Bus 003 Device 004: ID 0489:e0e3 Foxconn / Hon Hai

[Where problems could occur]

At the time being, WCN685x WiFi 6G support will be turnef off
deliberately due to the lack of full support in the userspace
management tools.

[Other Info]

While this is a new hardware model from OEM program, it's only
nominated for Focal oem-5.14 kernel and the coming LTS Jammy.

========== original bug report ==========

ath11k_pci 0000:71:00.0: BAR 0: assigned [mem 0xa6000000-0xa61fffff 64bit]
ath11k_pci 0000:71:00.0: enabling device (0000 -> 0002)
ath11k_pci 0000:71:00.0: Unsupported WCN6855 SOC hardware version: 18 17
ath11k_pci: probe of 0000:71:00.0 failed with error -95

$ lspci -nnk|grep -A3 Network
0000:71:00.0 Network controller [0280]: Qualcomm Device [17cb:1103] (rev 01)
        Subsystem: Foxconn International, Inc. Device [105b:e0ce]
        Kernel driver in use: ath11k_pci
        Kernel modules: ath11k_pci

$ lsusb
Bus 003 Device 004: ID 0489:e0e3 Foxconn / Hon Hai

You-Sheng Yang (vicamo)
tags: added: hwe-bluetooth hwe-firmware hwe-networking-wifi
tags: added: oem-priority originate-from-1945154 somerville
Changed in linux (Ubuntu Focal):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Impish):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Jammy):
status: New → Invalid
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1954938

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Impish):
status: New → Incomplete
Juerg Haefliger (juergh)
tags: added: kern-1746
Revision history for this message
You-Sheng Yang (vicamo) wrote : Re: Include the QCA WCN 6856 v2.1 support - WIFI 6
You-Sheng Yang (vicamo)
summary: - Include the QCA WCN 6856 v2.1 support - WIFI 6
+ Include the QCA WCN 6856 v2.1 support
You-Sheng Yang (vicamo)
description: updated
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote (last edit ):
description: updated
Changed in linux-oem-5.14 (Ubuntu Focal):
assignee: nobody → You-Sheng Yang (vicamo)
status: New → In Progress
importance: Undecided → High
Changed in linux-firmware (Ubuntu Focal):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux-firmware (Ubuntu Impish):
status: New → Won't Fix
Changed in linux-firmware (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux (Ubuntu Impish):
status: Incomplete → Won't Fix
Changed in linux (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: Incomplete → In Progress
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-5.14/5.14.0-1023.25 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Juerg Haefliger (juergh)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: In Progress → Fix Committed
Juerg Haefliger (juergh)
Changed in linux (Ubuntu Jammy):
status: In Progress → Fix Committed
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Focal):
status: In Progress → Fix Committed
Changed in linux-firmware (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
You-Sheng Yang (vicamo) wrote :

verified linux-oem-5.14/focal-proposed version 5.14.0-1023.25.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220217.git6342082c-0ubuntu1

---------------
linux-firmware (20220217.git6342082c-0ubuntu1) jammy; urgency=medium

  * Include the QCA WCN 6856 v2.1 support (LP: #1954938)
    - SAUCE: WCN6855 hw2.0: add board-2.bin
    - SAUCE: WCN6855: add symbolic link for hw2.1
  * Miscellaneous Ubuntu changes
    - Rebase to upstream commit 6342082c115e76ab5efe3f93c4c1ac6d01a3c7d0
      Rebase against git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
      - linux-firmware: mediatek: Update MT8173 VPU firmware to v1.1.7
      - i915: Add DMC firmware v2.16 for ADL-P
      - linux-firmware: Amphion: Add VPU firmwares for NXP i.MX8Q SoCs

 -- Juerg Haefliger <email address hidden> Thu, 17 Feb 2022 08:51:57 +0100

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/1.187.27 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.14 - 5.14.0-1024.26

---------------
linux-oem-5.14 (5.14.0-1024.26) focal; urgency=medium

  * focal/linux-oem-5.14: 5.14.0-1024.26 -proposed tracker (LP: #1961191)

  * Packaging resync (LP: #1786013)
    - [Config] Update config to match upstream stable release
    - [Packaging] update variants

  * CVE-2022-0435
    - tipc: improve size validations for received domain records

  * CVE-2022-0492
    - cgroup-v1: Require capabilities to set release_agent

  * Use EC GPE for s2idle wakeup on AMD platforms (LP: #1960771)
    - ACPI: PM: Revert "Only mark EC GPE for wakeup on Intel systems"

  * USB port lost function after unplugging usb drive (LP: #1958850)
    - block: add disk sequence number
    - mm: hide laptop_mode_wb_timer entirely behind the BDI API
    - block: pass a gendisk to blk_queue_update_readahead
    - block: add a queue_has_disk helper
    - block: move the bdi from the request_queue to the gendisk
    - block: remove the bd_bdi in struct block_device
    - nvme: use blk_mq_alloc_disk
    - st: do not allocate a gendisk
    - sg: do not allocate a gendisk
    - block: cleanup the lockdep handling in *alloc_disk
    - block: remove alloc_disk and alloc_disk_node
    - block: remove the minors argument to __alloc_disk_node
    - block: pass a request_queue to __blk_alloc_disk
    - block: hold a request_queue reference for the lifetime of struct gendisk
    - block: add an explicit ->disk backpointer to the request_queue
    - writeback: make the laptop_mode prototypes available unconditionally
    - sg: pass the device name to blk_trace_setup
    - block: factor out a blk_try_enter_queue helper
    - block: drain file system I/O on del_gendisk
    - block: keep q_usage_counter in atomic mode after del_gendisk
    - block: drain queue after disk is removed from sysfs
    - nvdimm/pmem: stop using q_usage_count as external pgmap refcount
    - nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned

  * Focal update: upstream stable patchset 2022-01-31 (LP: #1959569)
    - iommu/amd: Restore GA log/tail pointer on host resume

 -- Timo Aaltonen <email address hidden> Thu, 17 Feb 2022 13:23:43 +0200

Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote :

It looks like verification is still needed against linux-firmware 1.187.27 in focal-proposed?

tags: added: verification-needede-focal
removed: verification-done-focal
tags: added: verification-needed-focal
removed: verification-needede-focal
Revision history for this message
Yao Wei (medicalwei) wrote :

With Linux kernel 5.14.0-1024-oem and linux-firmware 1.187.27 (in -proposed), it is confirmed that both WiFi and Bluetooth on WCN6856 A00 can be probed and used.

Excerpt from dmesg:

[ 6.188795] kernel: ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 0x75200000-0x753fffff 64bit]
[ 6.188815] kernel: ath11k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[ 6.189145] kernel: ath11k_pci 0000:02:00.0: wcn6855 hw2.0
[ 7.244333] kernel: ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[ 7.244347] kernel: ath11k_pci 0000:02:00.0: fw_version 0x11080bbb fw_build_timestamp 2021-12-16 03:42 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HSP.1.1-03003-QCAHSPSWPL_V1_V2_SILICONZ_LITE-2
[ 7.552211] kernel: ath11k_pci 0000:02:00.0 wlp2s0: renamed from wlan0

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.187.27

---------------
linux-firmware (1.187.27) focal; urgency=medium

  * Include the QCA WCN 6856 v2.1 support (LP: #1954938)
    - QCA: Update Bluetooth WCN685x firmware to 2.1.0-00298
    - QCA: Update Bluetooth WCN685x 2.1 firmware to 2.1.0-00324
    - SAUCE: WCN6855 hw2.0: add board-2.bin
    - SAUCE: WCN6855: add symbolic link for hw2.1
  * focal linux-firmware package omits amdgpu/navi12 firmware (LP: #1958467)
    - amdgpu: add navi12 firmware from 20.30
    - amdgpu: update navi12 firmware for 20.40
    - amdgpu: update navi12 firmware for 20.45
    - amdgpu: update navi12 firmware for 20.50
    - amdgpu: update navi12 firmware from 21.10
    - amdgpu: update navi12 firmware from 21.20
    - amdgpu: update vcn firmware for navi12 for 21.20
    - amdgpu: update navi12 firmware from 21.30
    - amdgpu: update navi12 firmware from 21.40

 -- Juerg Haefliger <email address hidden> Fri, 18 Feb 2022 15:45:56 +0100

Changed in linux-firmware (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (67.6 KiB)

This bug was fixed in the package linux - 5.15.0-23.23

---------------
linux (5.15.0-23.23) jammy; urgency=medium

  * jammy/linux: 5.15.0-23.23 -proposed tracker (LP: #1964573)

  * Packaging resync (LP: #1786013)
    - [Packaging] resync dkms-build{,--nvidia-N} from LRMv5
    - debian/dkms-versions -- update from kernel-versions (main/master)

  * [22.04 FEAT] KVM: Enable GISA support for Secure Execution guests
    (LP: #1959977)
    - KVM: s390: pv: make use of ultravisor AIV support

  * intel_iommu breaks Intel IPU6 camera: isys port open ready failed -16
    (LP: #1958004)
    - SAUCE: iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs

  * CVE-2022-23960
    - ARM: report Spectre v2 status through sysfs
    - ARM: early traps initialisation
    - ARM: use LOADADDR() to get load address of sections
    - ARM: Spectre-BHB workaround
    - ARM: include unprivileged BPF status in Spectre V2 reporting
    - arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    - arm64: Add HWCAP for self-synchronising virtual counter
    - arm64: Add Cortex-X2 CPU part definition
    - arm64: add ID_AA64ISAR2_EL1 sys register
    - arm64: cpufeature: add HWCAP for FEAT_AFP
    - arm64: cpufeature: add HWCAP for FEAT_RPRES
    - arm64: entry.S: Add ventry overflow sanity checks
    - arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    - KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    - arm64: entry: Make the trampoline cleanup optional
    - arm64: entry: Free up another register on kpti's tramp_exit path
    - arm64: entry: Move the trampoline data page before the text page
    - arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    - arm64: entry: Don't assume tramp_vectors is the start of the vectors
    - arm64: entry: Move trampoline macros out of ifdef'd section
    - arm64: entry: Make the kpti trampoline's kpti sequence optional
    - arm64: entry: Allow the trampoline text to occupy multiple pages
    - arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    - arm64: entry: Add vectors that have the bhb mitigation sequences
    - arm64: entry: Add macro for reading symbol addresses from the trampoline
    - arm64: Add percpu vectors for EL1
    - arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    - arm64: Mitigate spectre style branch history side channels
    - KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    - arm64: Use the clearbhb instruction in mitigations
    - arm64: proton-pack: Include unprivileged eBPF status in Spectre v2
      mitigation reporting
    - ARM: fix build error when BPF_SYSCALL is disabled

  * CVE-2021-26401
    - x86/speculation: Use generic retpoline by default on AMD
    - x86/speculation: Update link to AMD speculation whitepaper
    - x86/speculation: Warn about Spectre v2 LFENCE mitigation
    - x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT

  * CVE-2022-0001
    - x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    - x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    - x86/speculation: Add eIBRS + Retpoline options
    - Document...

Changed in linux (Ubuntu Jammy):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.