Re: [PATCH 2/7] wifi: ath11k: enable support for WCN6851
Dmitry Baryshkov <[email protected]> Thu, 11 Jun 2026 23:03:53 +0300
| Newsgroups | org.infradead.lists.ath11k,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <qidycur7hkqrccrpbkchztj3p7fgxfhauv6n4ajtxrw3mhhwnp@d64n2nxnlvov> |
On Mon, Jun 01, 2026 at 06:54:35AM -0700, Jeff Johnson wrote: > On 6/1/2026 2:46 AM, Dmitry Baryshkov wrote: > > The WCN6851, found e.g. on SM8350 platforms, is an earlier version of > > WCN6855 platform. It identifies itself as hw1.1. Copy WCN6855 hw 2.0 > > configuration to support hw1.1 version. > > > > Signed-off-by: Dmitry Baryshkov <[email protected]> > > --- > > drivers/net/wireless/ath/ath11k/core.c | 92 ++++++++++++++++++++++++++++++++++ > > drivers/net/wireless/ath/ath11k/core.h | 1 + > > drivers/net/wireless/ath/ath11k/mhi.c | 1 + > > drivers/net/wireless/ath/ath11k/pci.c | 9 ++++ > > drivers/net/wireless/ath/ath11k/pcic.c | 11 ++++ > > 5 files changed, 114 insertions(+) > > > > diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c > > index 3f6f4db5b7ee..7e997016cf6e 100644 > > --- a/drivers/net/wireless/ath/ath11k/core.c > > +++ b/drivers/net/wireless/ath/ath11k/core.c > > @@ -393,6 +393,98 @@ static const struct ath11k_hw_params ath11k_hw_params[] = { > > .cfr_num_stream_bufs = 0, > > .cfr_stream_buf_size = 0, > > }, > > + { > > + .name = "wcn6855 hw1.1", > > + .hw_rev = ATH11K_HW_WCN6855_HW11, > > + .fw = { > > + .dir = "WCN6855/hw1.1", > > + .board_size = 256 * 1024, > > + .cal_offset = 128 * 1024, > > + }, > ...> + .num_vdevs = 2 + 1, > > this value is being modified to 4 in: > https://msgid.link/[email protected] > > It is merging into ath-next today and should reach linux-next very soon. I've upgraded it 4 for v2, but it crashes the original firmware that came with the board. I'll revert it for 3 for the next iteration. For the reference: ath11k_pci 0000:01:00.0: BAR 0 [mem 0x60400000-0x605fffff 64bit]: assigned ath11k_pci 0000:01:00.0: MSI vectors: 32 ath11k_pci 0000:01:00.0: wcn6855 hw1.1 mhi mhi0: Requested to power ON mhi mhi0: Power on setup success mhi mhi0: Wait for device to enter SBL or Mission mode ath11k_pci 0000:01:00.0: chip_id 0x0 chip_family 0xb board_id 0x6 soc_id 0x400c0110 ath11k_pci 0000:01:00.0: fw_version 0x110c80c8 fw_build_timestamp 2021-05-25 21:43 fw_build_id WLAN.HSP.1.1.c3-00200-QCAHSPSWPL_V1_V2_SILICONZ-1 ath11k_pci 0000:01:00.0: firmware crashed: MHI_CB_EE_RDDM ath11k_pci 0000:01:00.0: ignore reset dev flags 0xc800 ath11k_pci 0000:01:00.0: failed to receive wmi unified ready event: -110 ath11k_pci 0000:01:00.0: failed to start core: -110 failed to send QMI message ath11k_pci 0000:01:00.0: failed to send wlan mode request (mode 4): -5 ath11k_pci 0000:01:00.0: qmi failed to send wlan mode off: -5 > > /jeff > > -- With best wishes Dmitry