RHEL 9.2 kernel 5.14 and firmware for ath10k_pci QCA6174
Hi,
I have a motherboard with Atheros' QCA6174 chipset for wifi and a RHEL 9.2 server. The wifi card doesn't start, I tried to update the firmware but without success. Depending on the version I use I have different errors.
I even used the patched board.bin file for 4.x kernel to see if it would work.
My card :
Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
lshw -C Network
*-network UNCLAIMED
description: Network controller
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
version: 32
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f7000000-f71fffff
lspci -vvv
03:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
Subsystem: ASUSTeK Computer Inc. Device 86cd
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 142
Region 0: Memory at f7000000 (64-bit, non-prefetchable) [virtual] [size=2M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
Address: 00000000 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10.000W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr+ BadTLP+ BadDLLP+ Rollover+ Timeout+ AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 14, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 40000001 0000000f f7080004 00000000
Capabilities: [148 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [168 v1] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [178 v1] Latency Tolerance Reporting
Max snoop latency: 0ns
Max no snoop latency: 0ns
Capabilities: [180 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=50us PortTPowerOnTime=10us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Kernel modules: ath10k_pci
I've disabled some options in grubby after reading about potential issues:
- mem_encrypt=off
- pcie_aspm=off
- pcie_port_pm=off
Tested firmwares
Latest
[ 895.003221] ath10k_pci 0000:03:00.0: enabling device (0000 -> 0002)
[ 895.033967] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0x00000000 at 0x00034400: -110
[ 895.064911] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0x00000000 at 0x00034404: -110
[ 895.095844] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x00034410: -110
[ 895.126676] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0xffff0000 at 0x00034410: -110
[ 895.157603] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003444c: -110
[ 895.188474] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0xffff0000 at 0x0003444c: -110
[ 895.219277] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0x00000000 at 0x00034408: -110
[ 895.250099] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0x00000000 at 0x0003440c: -110
[ 895.280922] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x00034450: -110
[ 895.311742] ath10k_pci 0000:03:00.0: failed to wake target for write32 of 0xffff0000 at 0x00034450: -110
[ 898.914156] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 libarc4 cfg80211 tls nft_nat nft_masq xt_addrtype xt_mark xt_conntrack xt_comment nft_compat nft_counter veth nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ip_set nf_tables nfnetlink qrtr overlay bnep vfat fat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel btusb kvm btrtl btbcm iTCO_wdt iTCO_vendor_support btintel irqbypass btmtk eeepc_wmi rapl asus_wmi bluetooth sparse_keymap intel_cstate i2c_i801 e1000e wmi_bmof intel_uncore mxm_wmi mei_me pcspkr i2c_smbus raid1 mei rfkill intel_pmc_core acpi_pad joydev iptable_nat ip_tables xfs sd_mod sg i915 i2c_algo_bit drm_buddy intel_gtt drm_display_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec ttm ahci nvme r8169 libahci drm nvme_core crct10dif_pclmul libata crc32_pclmul nvme_common t10_pi ghash_clmulni_intel realtek wmi video
[ 898.914248] ath10k_pci_probe+0x48b/0x85f [ath10k_pci]
[ 898.914287] ath10k_pci_init+0x1f/0x1000 [ath10k_pci]
[ 898.944924] ath10k_pci 0000:03:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 900.064940] ath10k_warn: 152 callbacks suppressed
[ 900.064943] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.095715] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.126543] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.157436] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.188349] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.219165] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.249975] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.280792] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.311535] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 900.342377] ath10k_pci 0000:03:00.0: failed to wake target for read32 at 0x0003a028: -110
[ 902.242024] ath10k_pci 0000:03:00.0: failed to read device register, device is gone
[ 902.243246] ath10k_pci 0000:03:00.0: failed to reset chip: -5
[ 904.747778] ath10k_pci: probe of 0000:03:00.0 failed with error -5