RE: QCN9274 - x64 - AMD or Intel

david Atkins
2024-05-03T07:07:17Z

Any thoughts on this?

> -----Original Message-----
> From: ath12k <ath12k-bounces@lists.infradead.org> On Behalf Of david
> Atkins
> Sent: Sunday, April 28, 2024 1:50 PM
> To: Jeff Johnson <quic_jjohnson@quicinc.com>; ath12k@lists.infradead.org
> Subject: RE: QCN9274 - x64 - AMD or Intel
>
> > -----Original Message-----
> > From: Jeff Johnson <quic_jjohnson@quicinc.com>
> > Sent: Wednesday, April 10, 2024 8:02 PM
> > To: david Atkins <david@3adesign.co.uk>; ath12k@lists.infradead.org
> > Subject: Re: QCN9274 - x64 - AMD or Intel
> >
> > On 4/10/2024 9:57 AM, Jeff Johnson wrote:
> > > On 4/10/2024 7:52 AM, david Atkins wrote:
> > >>
> > >> I just built the ath-next branch for my AMD Ryzen 3 4300U system
> > >> with an 8devices QCN9274 module, it appears to have a new message
> > >>
> > >> memory type 10 not supported
> > >>
> > >> in the dmesg logs
> > >>
> > >> [    2.705656] ath12k_pci 0000:03:00.0: BAR 0 [mem
> > >> 0xfe200000-0xfe3fffff 64bit]: assigned [    2.705672] ath12k_pci
> > >> 0000:03:00.0: enabling device (0000 -> 0002) [    2.705885]
> > >> ath12k_pci 0000:03:00.0: MSI vectors: 16 [    2.705889] ath12k_pci
> > >> 0000:03:00.0: Hardware name: qcn9274 hw2.0 [    3.405328]
> > >> ath12k_pci
> > >> 0000:03:00.0: memory type 10 not supported [    3.410796]
> > >> ath12k_pci
> > >> 0000:03:00.0: chip_id 0x0 chip_family 0xb board_id 0xc soc_id
> > >> 0x401a2200 [    3.410804] ath12k_pci 0000:03:00.0: fw_version
> > >> 0x1011001d fw_build_timestamp 2022-12-02 01:16 fw_build_id
> > >> QC_IMAGE_VERSION_STRING=WLAN.WBE.1.0.1-00029-
> > QCAHKSWPL_SILICONZ-1
> > >> [    3.431347] ath12k_pci 0000:03:00.0: failed to fetch board data
> > >> for bus=pci,qmi-chip-id=0,qmi-board-id=12 from
> > >> ath12k/QCN9274/hw2.0/board-2.bin [    3.431375] ath12k_pci
> > 0000:03:00.0: failed to fetch board.bin from QCN9274/hw2.0 [
> > 3.431386] ath12k_pci 0000:03:00.0: qmi failed to load bdf:
> > >> [    3.431387] ath12k_pci 0000:03:00.0: qmi failed to load board
> > >> data
> > >> file:-2
> > >>
> > >> I'll try on my other test bed systems, but is it expected that this
> > >> will get
> > further than this ?
> > >
> > > I believe the memory type 10 message can be ignored (I've received
> > > conflicting information on that)
> > >
> > > You need to get the board file in place. Please grab the one at:
> > > https://git.codelinaro.org/clo/ath-firmware/ath12k-firmware/-/blob/m
> > > ai
> > > n/QCN9274/hw2.0/board-2.bin
> > >
> > > And place it in <firmware>/ath12k/QCN9274/hw2.0/
> >
> > Based upon further information it seems your card is advertising a
> > board_id that our default board file may not support, so you should
> > contact 8devices to see if they have a customized board file for that device.
> >
> > /jeff
>
> Got updated firmware from 8devices, it is not working but does now show up
> as a wlp device
>
> $ sudo dmesg | grep ath12
> [ 2.620901] ath12k_pci 0000:03:00.0: BAR 0 [mem 0xfe200000-0xfe3fffff
> 64bit]: assigned
> [ 2.620918] ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002)
> [ 2.621139] ath12k_pci 0000:03:00.0: MSI vectors: 16
> [ 2.621142] ath12k_pci 0000:03:00.0: Hardware name: qcn9274 hw2.0
> [ 3.387645] ath12k_pci 0000:03:00.0: memory type 10 not supported
> [ 3.392254] ath12k_pci 0000:03:00.0: chip_id 0x0 chip_family 0xb board_id
> 0xc soc_id 0x401a2200
> [ 3.392260] ath12k_pci 0000:03:00.0: fw_version 0x11010cf9
> fw_build_timestamp 2024-02-02 07:43 fw_build_id
> QC_IMAGE_VERSION_STRING=WLAN.WBE.1.1-03321-QCAHKSWPL_SILICONZ-
> 1
> [ 6.164203] ath12k_pci 0000:03:00.0: HTC Service WMI MAC1 connect
> request failed: 0x1)
> [ 6.164227] ath12k_pci 0000:03:00.0: failed to connect to WMI CONTROL
> service status: -71
> [ 6.164748] ath12k_pci 0000:03:00.0: Invalid module id 2
> [ 6.164753] ath12k_pci 0000:03:00.0: failed to parse tlv -22
> [ 6.472567] ath12k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
> [ 8.584409] ath12k_pci 0000:03:00.0: firmware crashed:
> MHI_CB_SYS_ERROR
> [ 18.395177] ath12k_pci 0000:03:00.0: failed to send
> WMI_STOP_SCAN_CMDID
> [ 18.395185] ath12k_pci 0000:03:00.0: failed to stop wmi scan: -108
> [ 18.395194] ath12k_pci 0000:03:00.0: failed to abort scan: -108
> [ 18.619059] ath12k_pci 0000:03:00.0: failed to send
> WMI_START_SCAN_CMDID
> [ 18.619070] ath12k_pci 0000:03:00.0: failed to start hw scan: -108
> [ 23.001923] ath12k_pci 0000:03:00.0: failed to send
> WMI_START_SCAN_CMDID
> [ 23.001934] ath12k_pci 0000:03:00.0: failed to start hw scan: -108
> [ 30.002943] ath12k_pci 0000:03:00.0: failed to send
> WMI_START_SCAN_CMDID
> [ 30.002954] ath12k_pci 0000:03:00.0: failed to start hw scan: -108
> [ 40.003342] ath12k_pci 0000:03:00.0: failed to send
> WMI_START_SCAN_CMDID
> [ 40.003354] ath12k_pci 0000:03:00.0: failed to start hw scan: -108
> [ 54.002922] ath12k_pci 0000:03:00.0: failed to send
> WMI_START_SCAN_CMDID
> [ 54.002932] ath12k_pci 0000:03:00.0: failed to start hw scan: -108
> [ 74.002086] ath12k_pci 0000:03:00.0: failed to send
> WMI_START_SCAN_CMDID
>
> Ip a results
>
> 4: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
> noqueue state DOWN group default qlen 1000
> link/ether c4:93:00:4c:cd:14 brd ff:ff:ff:ff:ff:ff
>
> nmcli
>
>
> wlp3s0: disconnected
> "Qualcomm Renoir/Cezanne GPP Bridge"
> wifi (ath12k_pci), C4:93:00:4C:CD:14, hw, mtu 1500
>
> david
>