immortalwrt/target/linux
Robert Marko 1b539e7b86 ipq806x: ecw5410: fix PCI1 radio caldata
ECW5410 has 2 QCA9984 cards, one per PCI controller.
They are located at PCI adresses 0001:01:00.0 and 0002:01:00.0.

Currently, pre-cal is not provided for 0001:01:00.0 at all,but for
0000:01:00.0 which is incorrect and causes the ath10k driver to not
be able to fetch the BMI ID and use that to fetch the proper BDF but
rather fail with:
[   12.029708] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x46.
[   12.031816] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   12.037660] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   13.173898] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   13.174015] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   13.189304] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc35
[   15.492322] ath10k_pci 0001:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0046,subsystem-vendor=168c,subsystem-device=cafe,variant=Edgecore-ECW541 from ath10k/QCA9984/hw1.0/board-2.bin
[   15.543883] ath10k_pci 0001:01:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9984/hw1.0
[   15.543920] ath10k_pci 0001:01:00.0: failed to fetch board file: -12
[   15.552281] ath10k_pci 0001:01:00.0: could not probe fw (-12)

So, provide the pre-cal for the actual PCI card and not the non-existent
one.

Fixes: 59f0a0f ("ipq806x: add Edgecore ECW5410 support")

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2021-11-13 00:16:27 +08:00
..
apm821xx kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
arc770 arc770: drop target 2021-09-14 03:17:29 +08:00
archs38 archs38: update kernel version to 5.10 2021-11-10 23:59:07 +08:00
armvirt armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-14 23:56:43 +08:00
at91 kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
ath25 kernel: bump 5.4 to 5.4.154 2021-10-22 23:56:43 +08:00
ath79 kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-11 00:04:10 +08:00
bcm27xx kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
bcm47xx bcm47xx: add kernel 5.10 support 2021-10-27 23:55:51 +08:00
bcm53xx bcm53xx: add first 5.17 DTS changes 2021-11-04 23:55:57 +08:00
bcm63xx kernel: bump 5.10 to 5.10.74 2021-10-22 23:58:19 +08:00
bcm4908 bcm4908: fix calculation of new cferam index 2021-11-04 23:57:08 +08:00
bmips kernel: bump 5.10 to 5.10.74 2021-10-22 23:58:19 +08:00
gemini gemini: splash banner on framebuffer console 2021-10-11 23:55:36 +08:00
generic kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
imx6 kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
ipq40xx Merge Mainline 2021-10-27 12:18:41 +08:00
ipq806x ipq806x: ecw5410: fix PCI1 radio caldata 2021-11-13 00:16:27 +08:00
ipq807x kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-10 12:26:08 +08:00
kirkwood kirkwood: refresh kernel config 2021-10-06 23:56:13 +08:00
lantiq kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-11 00:04:10 +08:00
layerscape layerscape: Fix build in dtb 2021-10-25 23:49:50 +08:00
malta kernel: move two symbols to the generic kconfigs 2021-08-30 12:13:54 +08:00
mediatek kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
mpc85xx kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-11 00:04:10 +08:00
mvebu kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
mxs kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
octeon kernel: move two symbols to the generic kconfigs 2021-08-30 12:13:54 +08:00
octeontx kernel: Deactivate some ARM64 errata workarounds 2021-10-07 00:04:20 +08:00
omap omap: fix name of uboot file 2021-09-30 05:22:40 +08:00
oxnas kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
pistachio pistachio: Take bootargs from device tree 2021-11-12 00:07:55 +08:00
ramips ramips: add support for HiLink HLK-7621A evaluation board 2021-11-13 00:09:05 +08:00
realtek kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
rockchip rockchip: move r8152 related patches to generic 2021-11-01 00:20:13 +08:00
sunxi kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
tegra kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-10 12:26:08 +08:00
uml uml: add Kernel 5.10 support via testing 2021-11-05 00:03:04 +08:00
x86 x86: drop wireless util by default 2021-10-18 17:45:02 +08:00
zynq kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
Makefile