openwrt/target/linux
Robert Marko 2e3c79ef83 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-10-31 21:24:47 +01:00
..
apm821xx kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
arc770
archs38
armvirt armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-12 19:22:08 -10:00
at91 at91: add support for sam9x60-ek board 2021-10-24 18:52:29 +02:00
ath25 kernel: bump 5.4 to 5.4.154 2021-10-21 00:17:36 +02:00
ath79 ath79: fix parallel image generation for Zyxel NBG6716 2021-10-31 21:24:47 +01:00
bcm27xx kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
bcm47xx bcm47xx: add kernel 5.10 support 2021-10-21 17:38:17 +02:00
bcm53xx kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
bcm63xx kernel: bump 5.10 to 5.10.74 2021-10-21 00:17:36 +02:00
bcm4908 kernel: bump 5.4 to 5.4.154 2021-10-21 00:17:36 +02:00
bmips kernel: bump 5.10 to 5.10.74 2021-10-21 00:17:36 +02:00
gemini gemini: splash banner on framebuffer console 2021-10-10 16:44:15 +02:00
generic rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
imx6 kernel: 5.10: add missing symbols 2021-10-05 23:54:18 +02:00
ipq40xx ipq40xx: detangle ath10k-board-qca4019 from ath10k-firmware-qca4019* 2021-10-30 16:32:59 +02:00
ipq806x ipq806x: ecw5410: fix PCI1 radio caldata 2021-10-31 21:24:47 +01:00
ipq807x
kirkwood kirkwood: switch to kernel 5.10 2021-10-09 18:44:55 +02:00
lantiq ath9k: OF: qca,disable-(2|5)ghz => ieee80211-freq-limit 2021-10-30 16:32:59 +02:00
layerscape layerscape: Fix build in dtb 2021-10-22 22:12:24 +02:00
malta
mediatek kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
mpc85xx mpc85xx: switch to Kernel 5.10 2021-10-05 23:54:48 +02:00
mvebu kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
mxs
octeon
octeontx
omap
oxnas kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
pistachio
ramips ramips: add support for HiLink HLK-7621A evaluation board 2021-10-31 21:24:47 +01:00
realtek kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
rockchip rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
sunxi sunxi: Nanopi R1S H5: enable LAN LED configuration 2021-10-30 21:17:20 +02:00
tegra tegra: switch to kernel 5.10 2021-10-18 21:32:36 +02:00
uml
x86 kernel: bump 5.10 to 5.10.73 2021-10-21 00:17:36 +02:00
zynq zynq: switch to kernel 5.10 2021-10-17 14:13:22 +02:00
Makefile