ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* ath10k-firmware: qca9888 hw2.0 Archer C6 (EU) V2
@ 2024-03-16 18:10 Martin Kopún
  2024-10-22 17:29 ` Jeff Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Kopún @ 2024-03-16 18:10 UTC (permalink / raw)
  To: ath10k

[-- Attachment #1: Type: text/plain, Size: 3729 bytes --]

Boardfile for Archer C6 (EU) V2 wifi AP.
5GHz wifi stopped working after flash to recent OpenWrt git version. According to the Internet the proper fix is to update board-2.bin.
The same issue also reported for Archer C60 v1 athttps://github.com/openwrt/openwrt/issues/14541

* description for what hardware this is:
   - it is a wifi AP, TP-Link Archer C6 (EU) V2 board
   - qca9888 radio on 5GHz band

* origin of the board file (did you create it yourself or where you
   downloaded)
   - Downloaded a firmware imagehttps://static.tp-link.com/upload/firmware/2022/202208/20220810/Archer%20C6(EU)_V2_220613.zip
   - Extracted it with binwalk -e ArcherC6v2_eu-up-ver1-3-7-P1\[20220613-rel64828\].bin

* ids to be used with the board file (ATH10K_BD_IE_BOARD_NAME in ath10k)
   - "bus=pci,bmi-chip-id=0,bmi-board-id=20"
     sha256sum:
	e5d668ae43957e1c3fdc0c0b7d59d367150b622d1d2efc7a00c1fbd51dd8e451


Dmesg
[   30.646884] ath10k 6.4 driver, optimized for CT firmware, probing pci device: 0x56.
[   30.690751] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   30.697552] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   34.095105] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   34.104700] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   34.124806] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-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 crc32 59e741e7
[   34.576998] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=20 from ath10k/QCA9888/hw2.0/board-2.bin
[   35.061937] ath10k_pci 0000:00:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9888/hw2.0
[   35.071711] ath10k_pci 0000:00:00.0: failed to fetch board file: -12
[   35.099975] ath10k_pci 0000:00:00.0: could not probe fw (-12)


Dmesg with updated board-2.bin
[ 5762.558731] ath10k 6.4 driver, optimized for CT firmware, probing pci device: 0x56.
[ 5762.568411] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 5764.553857] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[ 5764.563444] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 5764.583740] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-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 crc32 59e741e7
[ 5765.030768] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 0:20 crc32 b934f24c
[ 5766.812026] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[ 5766.819866] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[ 5766.850337] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[ 5766.861798] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508'
[ 5767.096756] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[ 5767.208410] ath: EEPROM regdomain: 0x0
[ 5767.212364] ath: EEPROM indicates default country code should be used
[ 5767.219090] ath: doing EEPROM country->regdmn map search
[ 5767.224622] ath: country maps to regdmn code: 0x3a
[ 5767.229570] ath: Country alpha2 being used: US
[ 5767.234270] ath: Regpair used: 0x3a

Kind regards,
         MK

[-- Attachment #2: bus=pci,bmi-chip-id=0,bmi-board-id=20.bin --]
[-- Type: application/octet-stream, Size: 12064 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-22 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-16 18:10 ath10k-firmware: qca9888 hw2.0 Archer C6 (EU) V2 Martin Kopún
2024-10-22 17:29 ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox