* QCA6174 - failed to fetch board data
@ 2020-03-19 18:43 Tim Klicks
2020-03-24 12:17 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Tim Klicks @ 2020-03-19 18:43 UTC (permalink / raw)
To: ath10k
Dear Sir or Madam,
I am running Fedora 31 on my Redmibook 14 and I am facing a problem
regarding the wifi.
The wifi is not working when using any linux-firmware package provided.
Neither the one coming via the official update channel nor cloning the
git repo and using the master branch is helping.
The only way to get it to work was by following this Gentoo Linux KB
article:
https://wiki.gentoo.org/wiki/Qualcomm_Atheros_QCA6174
Which is pointing to this github pull request:
https://github.com/kvalo/ath10k-firmware/pull/3
Although wifi is working with this workaround, could you please check
how much work it would be to integrate this fix into the mainline package?
Here are some information about the wifi adapter and some kernel
messages which might help figuring out the root cause.
Wifi dapater:
01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless
Network Adapter (rev 32)
Subsystem: Lite-On Communications Inc Device 0847
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 62
Region 0: Memory at c0200000 (64-bit, non-prefetchable) [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: fee00000 Data: 0000
Masking: 000000fe 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 0.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 L1 Enabled; 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-
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-
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: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap-
ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 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 driver in use: ath10k_pci
Kernel modules: ath10k_pci
Messages when using mainline package:
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: pci irq msi
oper_irq_mode 2 irq_mode 0 reset_mode 0
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: qca6174 hw3.2 target
0x05030000 chip_id 0x00340aff sub 11ad:0847
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs
1 tracing 0 dfs 0 testmode 0
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: firmware ver
WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp
crc32 29eb8ca1
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: failed to fetch board
data for
bus=pci,vendor=168c,device=003e,subsystem-vendor=11ad,subsystem-device=0847
from ath10k/QCA6174/hw3.0/board-2.bin
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: board_file api 1 bmi_id
N/A crc32 ed5f849a
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: unsupported HTC service
id: 1536
Mar 19 19:15:55 kernel: ath10k_pci 0000:01:00.0: htt-ver 3.60 wmi-op 4
htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
Mar 19 19:15:58 kernel: ath10k_pci 0000:01:00.0: wmi command 16389
timeout, restarting hardware
Mar 19 19:16:01 kernel: ath10k_pci 0000:01:00.0: wmi command 69633
timeout, restarting hardware
Mar 19 19:16:01 kernel: ath10k_pci 0000:01:00.0: could not suspend
target (-11)
Mar 19 19:16:01 kernel: ath10k_pci 0000:01:00.0: cannot restart a device
that hasn't been started
Mar 19 19:16:01 kernel: ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
Mar 19 19:16:01 kernel: ath10k_pci 0000:01:00.0: unsupported HTC service
id: 1536
Mar 19 19:16:04 kernel: ath10k_pci 0000:01:00.0: wmi command 16387
timeout, restarting hardware
Mar 19 19:16:04 kernel: ath10k_pci 0000:01:00.0: failed to enable PMF
QOS: -11
Mar 19 19:16:04 kernel: ath10k_pci 0000:01:00.0: could not suspend
target (-108)
Mar 19 19:16:04 kernel: ath10k_pci 0000:01:00.0: cannot restart a device
that hasn't been started
Mar 19 19:16:05 kernel: ath10k_pci 0000:01:00.0: unsupported HTC service
id: 1536
Mar 19 19:16:08 kernel: ath10k_pci 0000:01:00.0: wmi command 16387
timeout, restarting hardware
Mar 19 19:16:08 kernel: ath10k_pci 0000:01:00.0: failed to enable PMF
QOS: -11
Mar 19 19:16:08 kernel: ath10k_pci 0000:01:00.0: could not suspend
target (-108)
Mar 19 19:16:08 kernel: ath10k_pci 0000:01:00.0: cannot restart a device
that hasn't been started
Mar 19 19:16:08 NetworkManager[1054]: <info> [1584641768.2960] rfkill1:
found Wi-Fi radio killswitch (at
/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/ieee80211/phy0/rfkill1)
(driver ath10k_pci)
Mar 19 19:16:08 kernel: ath10k_pci 0000:01:00.0: unsupported HTC service
id: 1536
Mar 19 19:16:11 kernel: ath10k_pci 0000:01:00.0: wmi command 16387
timeout, restarting hardware
Mar 19 19:16:11 kernel: ath10k_pci 0000:01:00.0: failed to enable PMF
QOS: -11
Mar 19 19:16:11 kernel: ath10k_pci 0000:01:00.0: could not suspend
target (-108)
Mar 19 19:16:11 kernel: ath10k_pci 0000:01:00.0: cannot restart a device
that hasn't been started
Messages when using the board.bin file mentioned in the Gentoo Linux KB:
Mar 19 19:20:36 kernel: ath10k_pci 0000:01:00.0: pci irq msi
oper_irq_mode 2 irq_mode 0 reset_mode 0
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0: qca6174 hw3.2 target
0x05030000 chip_id 0x00340aff sub 11ad:0847
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs
1 tracing 0 dfs 0 testmode 0
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0: firmware ver
WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp
crc32 29eb8ca1
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0: failed to fetch board
data for
bus=pci,vendor=168c,device=003e,subsystem-vendor=11ad,subsystem-device=0847
from ath10k/QCA6174/hw3.0/board-2.bin
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0: board_file api 1 bmi_id
N/A crc32 872f3cc5
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0: unsupported HTC service
id: 1536
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0: htt-ver 3.60 wmi-op 4
htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
Mar 19 19:20:37 kernel: ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
Mar 19 19:20:38 NetworkManager[1064]: <info> [1584642038.3287] rfkill1:
found Wi-Fi radio killswitch (at
/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/ieee80211/phy0/rfkill1)
(driver ath10k_pci)
Mar 19 19:20:38 kernel: ath10k_pci 0000:01:00.0: unsupported HTC service
id: 1536
Mar 19 19:20:38 kernel: ath10k_pci 0000:01:00.0: unsupported HTC service
id: 1536
Hope you find some time to help me out on this.
If you have any questions, please do not hesitate to conatct me
Best Regards,
Tim
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-24 12:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-19 18:43 QCA6174 - failed to fetch board data Tim Klicks
2020-03-24 12:17 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox