Re: [PATCH 2/7] wifi: ath11k: enable support for WCN6851
From: Dmitry Baryshkov
Date: Thu Jun 11 2026 - 16:09:43 EST
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 <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
> > ---
> > 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/20260525020711.2590815-1-wei.zhang@xxxxxxxxxxxxxxxx
>
> 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