Draft
Enable qwz driver for Qualcomm ath12k 802.11be chipsets#2
Conversation
Co-authored-by: bluerise <262511+bluerise@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add qwz driver for Qualcomm ath12k 802.11be chipsets
Enable qwz driver for Qualcomm ath12k 802.11be chipsets
Dec 16, 2025
Owner
|
@copilot qwz is actually not ready, it was just a first draft with issues that did not work. Can you please compare and update qwz to be fully ported and functional? |
Owner
|
@copilot Please look at linux's ath12k driver and compare it to ath11k |
Author
I've analyzed the OpenBSD qwx (ath11k) and qwz (ath12k) drivers. The qwz driver is an incomplete port with ~152 missing functions compared to qwx. Key architectural differences between ath11k and ath12k found: Hardware Parameters:
Critical Missing Functions in qwz:
Next Steps:
Option 1 is more thorough but requires understanding all Linux ath11k→ath12k changes. Option 2 is faster but may miss subtle differences. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The qwz driver for Qualcomm ath12k (Wi-Fi 7/802.11be) chipsets was fully implemented but disabled in kernel configurations.
Changes
qwz* at pci?)qwz* at pci?)Implementation Status
Driver implementation already present (43,562 total lines):
sys/dev/ic/qwz.c- Core driver with QMI/WMI protocol handling, TX/RX paths, net80211 integrationsys/dev/ic/qwzvar.h- Hardware structures, 802.11be capabilitiessys/dev/ic/qwzreg.h- Register definitions, protocol constantssys/dev/pci/if_qwz_pci.c- PCI attachment with MHI supportCurrently supports WCN7850 (0x17cb:0x1107). Extensible to QCN9274 and other ath12k variants via PCI device IDs.
Driver follows qwx (ath11k) architecture pattern with ath12k-specific firmware interfaces, updated HAL ring definitions, and 802.11be feature structures.
Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.