Netgear R7800 exploration (IPQ8065, QCA9984)

I'm curious: what are dsa benefits for performance? According to my reading on https://www.kernel.org/doc/Documentation/networking/dsa/dsa.txt , dsa is related to hardware switch management.

The effect should be somewhat similar to hardware nat. That's curios why have no one tested performance yet...

edit: updated commit, forgot to add network defaults for some devices

edit2: removed reference to removed phy4 in d7800 dts

Ok I'm now very interested in this new driver architecture… and also completely lost :wink: SGMII is something really new for me. I’ll give a try on my R7800 asap.
Edit: this article helped me: https://anarc.at/blog/2017-04-29-netdev-rise-linux-networking-hw/

Moving to this thread as more corresponding one.
@chunkeey
Wonder if it may solve the issue, will check it tonight
https://source.codeaurora.org/quic/qsdk/kvalo/ath/commit/?h=korg-kvalo/ath-qca&id=6bb099b088c70f76b5f34672a83d4452b1e3af36
https://source.codeaurora.org/quic/qsdk/kvalo/ath/commit/?h=korg-kvalo/ath-qca&id=13c3b26a71dfed57152ccfdb8fb5fb29584ded7c

Interesting solution proposal. The rather long pause caused by the wifi initialisation is quite visible on serial console bootlog.

It makes a difference, but not sure if it helps anything:

Normal, without those two patches:

[   32.842707] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[   34.879625] ath10k_pci 0000:01:00.0: unable to read from the device
[   34.879648] ath10k_pci 0000:01:00.0: could not execute otp for board id check: -110
[   34.897638] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0046,subsystem-vendor=168c,subsystem-device=cafem... from ath10k/QCA9984/hw1.0/board-2.bin
[   34.898423] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 dd636801
[   36.415498] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1

Using those two patches to increase BMI timeout:

[   32.281075] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[   34.523517] ath10k_pci 0000:01:00.0: board id is not exist in otp, ignore it
[   34.536446] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0046,subsystem-vendor=168c,subsystem-device=cafem... from ath10k/QCA9984/hw1.0/board-2.bin
[   34.537238] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 dd636801
[   35.886559] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1

So instead of having
unable to read from the device could not execute otp for board id check: -110
we now have
board id is not exist in otp, ignore it

Hmm, there's a script in oem firmware that puts otp.bin into ath10k firmware folder

Okay I've flashed oem rom and put the whole firmware folder out including otp.bin.
Current ath10k driver doesn't seem to parse otp from a file, maybe there's a way to implement this.
Anyway it seems that there's no otp in our router (at least as ath10k awaits it to be) or otp has nonstandard structure.
@chunkeey

Interessting, I didn't see that. Can somebody please load ath10k_core with debug_mask=0x20 (ATH10K_DBG_BOOT)?
I'm asking because ath10k_pci should then be a little more verbose and tell the result:

    ret = ath10k_bmi_execute(ar, address, BMI_PARAM_GET_EEPROM_BOARD_ID,
                             &result);
    if (ret) {
            ath10k_err(ar, "could not execute otp for board id check: %d\n",
                       ret);
            return ret;
    }

    board_id = MS(result, ATH10K_BMI_BOARD_ID_FROM_OTP);
    chip_id = MS(result, ATH10K_BMI_CHIP_ID_FROM_OTP);

    ath10k_dbg(ar, ATH10K_DBG_BOOT,
               "boot get otp board id result 0x%08x board_id %d chip_id %d\n",
               result, board_id, chip_id);

    if ((result & ATH10K_BMI_BOARD_ID_STATUS_MASK) != 0 ||
        (board_id == 0)) {
            ath10k_dbg(ar, ATH10K_DBG_BOOT,
                       "board id does not exist in otp, ignore it\n");
            return -EOPNOTSUPP;
    }

So, based on the error above, either the board-id was 0, or the board_id_status was not 0.

Just like board-2.bin, the ath10k firmwares are bundles as well. And otp.bin should be part of that firmware.bin.
The qca-swiss-army-knife repo does contain the right tool to create and modify those files:

That said, I would like to see what the "boot get otp board id result ..." is first.

Edit:
@dissent1: By the way, can you dump what the oem driver outputs on dmesg/kern.log?
It should print out something like : "ol_ath_download_firmware: Flash download address ..." and
"First OTP send param .." and much more.

This is not from a Netgear r7800, but a ZyXEL NBG6817 (with the same wlan hardware and issues):

first radio
[ 47.795376] ath_hal: 0.9.17.1 (AR5416, AR9380, WRITE_EEPROM, 11D) [ 47.804498] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved [ 47.813183] ath_dfs: Version 2.0.0 [ 47.813183] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved [ 47.822649] ath_spectral: Version 2.0.0 [ 47.822649] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved [ 47.822680] SPECTRAL module built on Mar 20 2017 21:33:54 [ 47.847204] ath_tx99: Version 2.0 [ 47.847204] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved [ 47.895157] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved [ 48.131333] ath_pci: (Atheros/multi-bss) [ 48.131396] ol_ath_pci_probe: PCI device id 0046 :0046 [ 48.131396] PCI: enabling device 0000:01:00.0 (0140 -> 0142) [ 48.131521] *********** Cascade ************* [ 48.131615] ath_pci 0000:01:00.0: ath DEBUG: sc=0xdc8de000 [ 48.131615] [ 48.131615] ol_ath_pci_configure : num_desired MSI set to 0 [ 48.131646] [ 48.131646] Using PCI Legacy Interrupt [ 48.131646] chip_id 0xa chip_revision 0x0 [ 48.131677] nss register id -1 offload mode enabled = 0 nss config 0 Target Type a [ 48.141424] [ 48.141424] CLOCK PLL skipped [ 48.143548] __ol_ath_attach: dev name wifi0 [ 48.143580] ol_ath_attach() BMI inited. [ 48.143705] ol_ath_attach() BMI Get Target Info. [ 48.143705] Chip id: 0xa, chip version: 0x1000000 [ 48.143705] [ 48.143705] CE WAR Disabled [ 48.143892] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 [ 48.144079] ol_ath_attach() configure Target . [ 48.144142] [ 48.144142] Target Version is 1000000 [ 48.144173] [ 48.144173] Flash Download Address c0000 [ 48.144173] ol_transfer_bin_file: flash data file defined [ 48.144173] Cal location [0]: 00000000 [ 48.144236] [ 48.144236] Wifi0 NAND FLASH Select OFFSET 0x1000 [ 48.162730] qc98xx_verify_checksum: flash checksum passed: 0x334d [ 48.162761] ol_transfer_bin_file 3805: Download Flash data len 12064 [ 48.162917] Board extended Data download address: 0x0 [ 48.183067] [ 48.183067] Board data initialized [ 48.183255] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000 [ 48.183255] [ 48.183255] Selecting OTP binary for CHIP Version 0 [ 48.245860] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920 [ 48.275382] [ 48.275382] First OTP send param 8000 [ 48.490034] br-lan: port 1(eth1) entered forwarding state [ 50.487503] ol_ath_download_firmware :First OTP download and Execute is good address:0x400 return param 4660 [ 50.487503] ol_ath_download_firmware:##Board Id 1 , CHIP Id 0 [ 50.487628] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000 [ 50.506685] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9984/hw.1/boardData_QCA9984_CUS239_5G_v1_001.bin [ 50.540018] ol_transfer_bin_file 3662: downloading file 3, Download data len 12064 [ 50.540331] Board extended Data download address: 0x0 [ 50.560293] ol_ath_download_firmware: Using 0x1234 for the remainder of init [ 50.560324] [ 50.560324] Selecting OTP binary for CHIP Version 0 [ 50.650140] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920 [ 50.679162] [ 50.679162] [Flash] : Ignore Module param [ 50.679162] [ 50.679162] Second otp download Param 10000 [ 52.898812] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0 [ 52.898812] [ 52.898844] Mission mode: Firmware CHIP Version 0 [ 52.979850] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144 [ 53.052983] Swap: bytes_left to copy: fw:16; dma_page:70336 [ 53.053014] Swap: wrong length read:0 [ 53.053014] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 191808 Target address 41b608 [ 53.053108] scn=d8fc0480 target_write_addr=41b608 seg_info=da81b710 [ 53.053108] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2 [ 53.053139] bin_filename=QCA9984/hw.1/athwlan.bin swap_filename=/lib/firmware/QCA9984/hw.1/athwlan.codeswap.bin [ 53.054076] ol_transfer_bin_file: Downloading firmware file: QCA9984/hw.1/athwlan.bin [ 53.222055] ol_transfer_bin_file 3662: downloading file 1, Download data len 361412 [ 53.447828] mc_netlink_receive: Disable bridge snooping! [ 53.805779] mc_netlink_receive: Enable bridge snooping! [ 54.417338] ol_ath_attach() Download FW done. [ 54.417338] ol_ath_attach() HT Create . [ 54.417369] ol_ath_attach() HIF Claim. [ 54.417432] ol_ath_attach() BMI Done. [ 54.417432] ol_ath_attach 6796 host_enable 0 nss_nwifi_offload 0 [ 54.417432] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko) [ 54.417432] OL_ACBKMinfree : 0 [ 54.417463] OL_ACBEMinfree : 0 [ 54.417463] OL_ACVIMinfree : 0 [ 54.417463] OL_ACVOMinfree : 0 [ 54.417494] ol_ath_attach() WMI attached. wmi_handle d8420000 [ 54.420493] CE_recv_buf_enqueue 853 Populate last entry 512 for CE 5 [ 54.420493] CE_recv_buf_enqueue 862 CE 5 wi 511 dest_ptr 0x5909f040 nbytes 0 recv_ctxt 0xdad0cd80 [ 54.422930] Startup Mode-0 set [ 54.422930] pdev attach (null) -1 [ 54.422930] [ 54.422930] <=== cfg max peer id 1056 ====> [ 54.423055] HTC Service:0x0300 ep:1 TX flow control disabled [ 54.424648] htt_peer_map_timer_init Enter pdev d7c20000 hrtimer d7c248b8 [ 54.424648] [ 54.424648] htt_alloc_peer_map_mem : Alloc Success : host q vaddr d7c2c000 paddr 5912c000 [ 54.424648] [ 54.424648] htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts [ 54.424711] CE_pkt_dl_len_set CE 4 Pkt download length 64 [ 54.424773] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from d78a0000 [ 54.425210] HTC Service:0x0100 ep:2 TX flow control disabled [ 54.425866] wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event [ 54.425898] Firmware_Build_Number:68 [ 54.425898] num_rf_chain:0x00000004 ht_cap_info:0x0000085b vht_cap_info:0x339b79f2 vht_supp_mcs:0x0000ffea [ 54.425898] [ 54.425898] RES CFG Support wmi_service_bitmap 9778 [ 54.425898] [ 54.425929] Sending HOST PLATFORM as 0 to TGT [ 54.425929] ol_ath_service_ready_event: tt_support: 1 [ 54.425929] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17 [ 54.425960] idx 1 req 2 num_units 1 num_unit_info 12 unit size 256 actual units 53 [ 54.425991] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256, [ 54.425991] idx 2 req 3 num_units 1 num_unit_info 12 unit size 1024 actual units 53 [ 54.426054] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024, [ 54.426054] idx 3 req 4 num_units 1 num_unit_info 12 unit size 4096 actual units 53 [ 54.426210] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096, [ 54.426210] idx 0 req 1 num_units 0 num_unit_info 2 unit size 1440 actual units 531 [ 54.426398] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 177 unit_len 1440, [ 54.426585] ol_ath_alloc_host_mem_chunk req_id 1 idx 4 num_units 177 unit_len 1440, [ 54.426710] ol_ath_alloc_host_mem_chunk req_id 1 idx 5 num_units 177 unit_len 1440, [ 54.426741] idx 4 req 6 num_units 35 num_unit_info 0 unit size 3072 actual units 35 [ 54.426804] ol_ath_alloc_host_mem_chunk req_id 6 idx 6 num_units 35 unit_len 3072, [ 54.426804] idx 5 req 7 num_units 1 num_unit_info 0 unit size 12288 actual units 1 [ 54.426804] ol_ath_alloc_host_mem_chunk req_id 7 idx 7 num_units 1 unit_len 12288, [ 54.426835] idx 6 req 5 num_units 0 num_unit_info 2 unit size 1876 actual units 531 [ 54.426929] ol_ath_alloc_host_mem_chunk req_id 5 idx 8 num_units 132 unit_len 1876, [ 54.427054] ol_ath_alloc_host_mem_chunk req_id 5 idx 9 num_units 133 unit_len 1876, [ 54.427147] ol_ath_alloc_host_mem_chunk req_id 5 idx 10 num_units 133 unit_len 1876, [ 54.427272] ol_ath_alloc_host_mem_chunk req_id 5 idx 11 num_units 133 unit_len 1876, [ 54.427272] chunk 0 len 13568 requested ,ptr 0x5a5e8000 [ 54.427272] chunk 1 len 54272 requested ,ptr 0x58e70000 [ 54.427303] chunk 2 len 217088 requested ,ptr 0x58e80000 [ 54.427303] chunk 3 len 254880 requested ,ptr 0x58ec0000 [ 54.427303] chunk 4 len 254880 requested ,ptr 0x58f00000 [ 54.427303] chunk 5 len 254880 requested ,ptr 0x58f40000 [ 54.427303] chunk 6 len 107520 requested ,ptr 0x58f80000 [ 54.427303] chunk 7 len 12288 requested ,ptr 0x5a4b4000 [ 54.427335] chunk 8 len 247632 requested ,ptr 0x58fc0000 [ 54.427335] chunk 9 len 249508 requested ,ptr 0x58800000 [ 54.427335] chunk 10 len 249508 requested ,ptr 0x58840000 [ 54.427335] chunk 11 len 249508 requested ,ptr 0x58880000 [ 54.500562] wmi_ready_event_rx: WMI UNIFIED READY event [ 54.500624] ol_ath_connect_htc() WMI is ready [ 54.500687] target uses HTT version 2.2; host uses 2.2 [ 54.505716] ol_ath_attach() connect HTC. [ 54.505716] bypasswmi : 0 [ 54.505716] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. [ 54.505748] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150 [ 54.505779] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0 [ 54.505779] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0 [ 54.505779] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0 [ 54.505779] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150 [ 54.505810] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080 [ 54.505810] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080 [ 54.505810] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080 [ 54.505841] Add VHT80 channel: 5210 [ 54.505841] Add VHT80 channel: 5290 [ 54.505841] Add VHT80 channel: 5530 [ 54.505873] Add VHT80 channel: 5610 [ 54.505873] Add VHT80 channel: 5690 [ 54.505873] Add VHT80 channel: 5775 [ 54.505873] Skipping VHT80 channel 5825 [ 54.505873] Add VHT80_80 channels: 5210 : 5290 [ 54.505904] Add VHT80_80 channels: 5290 : 5210 [ 54.505904] Add VHT80_80 channels: 5530 : 5610 [ 54.505904] Add VHT80_80 channels: 5610 : 5530 [ 54.505966] Add VHT80_80 channels: 5210 : 5530 [ 54.505966] Add VHT80_80 channels: 5530 : 5210 [ 54.505966] Add VHT80_80 channels: 5210 : 5610 [ 54.505966] Add VHT80_80 channels: 5610 : 5210 [ 54.505966] Add VHT80_80 channels: 5210 : 5690 [ 54.505966] Add VHT80_80 channels: 5690 : 5210 [ 54.505998] Add VHT80_80 channels: 5210 : 5775 [ 54.505998] Add VHT80_80 channels: 5775 : 5210 [ 54.505998] Add VHT80_80 channels: 5290 : 5530 [ 54.505998] Add VHT80_80 channels: 5530 : 5290 [ 54.505998] Add VHT80_80 channels: 5290 : 5610 [ 54.505998] Add VHT80_80 channels: 5610 : 5290 [ 54.506029] Add VHT80_80 channels: 5290 : 5690 [ 54.506029] Add VHT80_80 channels: 5690 : 5290 [ 54.506029] Add VHT80_80 channels: 5290 : 5775 [ 54.506029] Add VHT80_80 channels: 5775 : 5290 [ 54.506029] Add VHT80_80 channels: 5530 : 5690 [ 54.506029] Add VHT80_80 channels: 5690 : 5530 [ 54.506029] Add VHT80_80 channels: 5530 : 5775 [ 54.506060] Add VHT80_80 channels: 5775 : 5530 [ 54.506060] Add VHT80_80 channels: 5610 : 5775 [ 54.506060] Add VHT80_80 channels: 5775 : 5610 [ 54.506060] Add VHT80_80 channels: 5690 : 5775 [ 54.506060] Add VHT80_80 channels: 5775 : 5690 [ 54.508653] ol_ath_phyerr_attach: called [ 54.508809] OL Resmgr Init-ed [ 54.508840] ieee80211_bsteering_attach: Band steering initialized [ 54.508872] acfg_attach: 5845: Netlink socket created:d8410e00 [ 54.508872] ol_if_spectral_setup [ 54.508872] SPECTRAL : get_capability not registered [ 54.508872] HAL_CAP_PHYDIAG : Capable [ 54.508903] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237) [ 54.508903] SPECTRAL : get_capability not registered [ 54.508903] HAL_CAP_RADAR : Capable [ 54.508903] SPECTRAL : Need to fix the capablity check for SPECTRAL [ 54.508903] (spectral_attach : 242) [ 54.508903] SPECTRAL : get_capability not registered [ 54.508903] HAL_CAP_SPECTRAL_SCAN : Capable [ 54.508934] SPECTRAL : get_tsf64 not registered [ 54.508934] spectral_init_netlink 78 NULL SKB [ 54.508934] Green-AP : Green-AP : Attached [ 54.508934] [ 54.508934] Green-AP : Attached [ 54.508965] rate power table override is only supported for AR98XX [ 54.508965] ol_ath_smart_ant_attach: Firmware doest not support Smart Antenna. [ 54.508965] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna. [ 54.508997] ieee80211com_init_netlink: 3350: Wifipos 1st Netlink socket created:d8411c00 [ 54.508997] ol_if_dfs_setup: called [ 54.509028] ol_if_dfs_attach: called; ptr=d73c1984, radar_info=d9687bb8 [ 54.509028] dfs_attach: event log enabled by default [ 54.509215] ol_ath_rtt_meas_report_attach: called [ 54.510465] ol_ath_attach() UMAC attach . [ 54.510527] ol_if_dfs_configure: called [ 54.510527] ol_if_dfs_configure: FCC domain [ 54.510559] ol_if_dfs_disable: called [ 54.510590] ol_ath_attach: Calling ol_if_dfs_configure [ 54.510590] [ 54.510590] BURSTING enabled by default [ 54.510715] osif_wrap_attach:432 osif wrap attached [ 54.510746] osif_wrap_devt_init:393 osif wrap dev table init done [ 54.510746] Wrap Attached: Wrap_com =d8410200 ic->ic_wrap_com=d8410200 &wrap_com->wc_devt=d8410200 [ 54.510746] __ol_ath_attach: needed_headroom reservation 60 [ 54.512058] ol_ath_thermal_mitigation_attach: --

1 Like

I'll provide the ath10k output with debug mask enabled a bit later.

OEM boot log is here in the post 10
https://forum.openwrt.org/viewtopic.php?id=64637

1 Like

Second radio:
[ 54.512308] ol_ath_pci_probe: PCI device id 0046 :0046 [ 54.512371] PCI: enabling device 0000:03:00.0 (0140 -> 0142) [ 54.512746] *********** Cascade ************* [ 54.513089] ath_pci 0000:03:00.0: ath DEBUG: sc=0xd83b2000 [ 54.513120] [ 54.513120] ol_ath_pci_configure : num_desired MSI set to 0 [ 54.513214] [ 54.513214] Using PCI Legacy Interrupt [ 54.513277] chip_id 0xa chip_revision 0x0 [ 54.513339] nss register id -1 offload mode enabled = 0 nss config 0 Target Type a [ 54.524367] [ 54.524367] CLOCK PLL skipped [ 54.526429] __ol_ath_attach: dev name wifi1 [ 54.526491] ol_ath_attach() BMI inited. [ 54.526585] ol_ath_attach() BMI Get Target Info. [ 54.526585] Chip id: 0xa, chip version: 0x1000000 [ 54.526616] [ 54.526616] CE WAR Disabled [ 54.526741] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 [ 54.526991] ol_ath_attach() configure Target . [ 54.527085] [ 54.527085] Target Version is 1000000 [ 54.527085] [ 54.527085] Flash Download Address c0000 [ 54.527116] ol_transfer_bin_file: flash data file defined [ 54.527116] Cal location [1]: 00004000 [ 54.527335] [ 54.527335] wifi1 NAND FLASH Select OFFSET 0x5000 [ 54.546173] qc98xx_verify_checksum: flash checksum passed: 0xda75 [ 54.546173] ol_transfer_bin_file 3805: Download Flash data len 12064 [ 54.546391] Board extended Data download address: 0x0 [ 54.569821] [ 54.569821] Board data initialized [ 54.570009] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000 [ 54.570009] [ 54.570009] Selecting OTP binary for CHIP Version 0 [ 54.648203] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920 [ 54.677850] [ 54.677850] First OTP send param 8000 [ 55.422805] [wifi0] FWLOG: [55569] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 ) [ 55.422867] [wifi0] FWLOG: [55569] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 ) [ 55.422867] [wifi0] FWLOG: [55569] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 ) [ 55.422899] [wifi0] FWLOG: [55569] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 ) [ 56.889971] ol_ath_download_firmware :First OTP download and Execute is good address:0x800 return param 4660 [ 56.889971] ol_ath_download_firmware:##Board Id 2 , CHIP Id 0 [ 56.890096] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000 [ 56.890128] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9984/hw.1/boardData_QCA9984_CUS260_2G_v1_002.bin [ 56.953327] ol_transfer_bin_file 3662: downloading file 3, Download data len 12064 [ 56.953545] Board extended Data download address: 0x0 [ 56.973976] ol_ath_download_firmware: Using 0x1234 for the remainder of init [ 56.974008] [ 56.974008] Selecting OTP binary for CHIP Version 0 [ 57.053077] ol_transfer_bin_file 3662: downloading file 0, Download data len 8920 [ 57.082724] [ 57.082724] [Flash] : Ignore Module param [ 57.082755] [ 57.082755] Second otp download Param 10000 [ 57.496657] Switching to Tx Mode-1 Threshold 1000 [ 59.302405] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0 [ 59.302405] [ 59.302405] Mission mode: Firmware CHIP Version 0 [ 59.359918] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144 [ 59.460137] Swap: bytes_left to copy: fw:16; dma_page:70336 [ 59.460137] Swap: wrong length read:0 [ 59.460137] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 191808 Target address 41b608 [ 59.460293] scn=d7480480 target_write_addr=41b608 seg_info=dda74d10 [ 59.460293] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2 [ 59.460293] bin_filename=QCA9984/hw.1/athwlan.bin swap_filename=/lib/firmware/QCA9984/hw.1/athwlan.codeswap.bin [ 59.460324] ol_transfer_bin_file: Downloading firmware file: QCA9984/hw.1/athwlan.bin [ 59.561355] ol_transfer_bin_file 3662: downloading file 1, Download data len 361412 [ 60.742611] ol_ath_attach() Download FW done. [ 60.742611] ol_ath_attach() HT Create . [ 60.742642] ol_ath_attach() HIF Claim. [ 60.742705] ol_ath_attach() BMI Done. [ 60.742705] ol_ath_attach 6796 host_enable 0 nss_nwifi_offload 0 [ 60.742736] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko) [ 60.742736] OL_ACBKMinfree : 0 [ 60.742736] OL_ACBEMinfree : 0 [ 60.742736] OL_ACVIMinfree : 0 [ 60.742736] OL_ACVOMinfree : 0 [ 60.742767] ol_ath_attach() WMI attached. wmi_handle d7570000 [ 60.745454] CE_recv_buf_enqueue 853 Populate last entry 512 for CE 5 [ 60.745485] CE_recv_buf_enqueue 862 CE 5 wi 511 dest_ptr 0x58696040 nbytes 0 recv_ctxt 0xdd629240 [ 60.748203] Startup Mode-0 set [ 60.748203] pdev attach (null) -1 [ 60.748203] [ 60.748234] <=== cfg max peer id 1056 ====> [ 60.748359] HTC Service:0x0300 ep:1 TX flow control disabled [ 60.749890] htt_peer_map_timer_init Enter pdev d7218000 hrtimer d721c8b8 [ 60.749890] [ 60.749890] htt_alloc_peer_map_mem : Alloc Success : host q vaddr d6e80000 paddr 58380000 [ 60.749890] [ 60.749890] htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts [ 60.749984] CE_pkt_dl_len_set CE 4 Pkt download length 64 [ 60.750109] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from d6ea0000 [ 60.751858] HTC Service:0x0100 ep:2 TX flow control disabled [ 60.752608] wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event [ 60.752608] Firmware_Build_Number:68 [ 60.752608] num_rf_chain:0x00000004 ht_cap_info:0x0000085b vht_cap_info:0x339b79f2 vht_supp_mcs:0x0000ffea [ 60.752639] [ 60.752639] RES CFG Support wmi_service_bitmap 9778 [ 60.752639] [ 60.752639] Sending HOST PLATFORM as 0 to TGT [ 60.752639] ol_ath_service_ready_event: tt_support: 1 [ 60.752671] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17 [ 60.752671] idx 1 req 2 num_units 1 num_unit_info 12 unit size 256 actual units 53 [ 60.752733] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256, [ 60.752733] idx 2 req 3 num_units 1 num_unit_info 12 unit size 1024 actual units 53 [ 60.752796] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024, [ 60.752796] idx 3 req 4 num_units 1 num_unit_info 12 unit size 4096 actual units 53 [ 60.752952] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096, [ 60.752952] idx 0 req 1 num_units 0 num_unit_info 2 unit size 1440 actual units 531 [ 60.753139] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 177 unit_len 1440, [ 60.753295] ol_ath_alloc_host_mem_chunk req_id 1 idx 4 num_units 177 unit_len 1440, [ 60.753452] ol_ath_alloc_host_mem_chunk req_id 1 idx 5 num_units 177 unit_len 1440, [ 60.753452] idx 4 req 6 num_units 35 num_unit_info 0 unit size 3072 actual units 35 [ 60.753514] ol_ath_alloc_host_mem_chunk req_id 6 idx 6 num_units 35 unit_len 3072, [ 60.753514] idx 5 req 7 num_units 1 num_unit_info 0 unit size 12288 actual units 1 [ 60.753545] ol_ath_alloc_host_mem_chunk req_id 7 idx 7 num_units 1 unit_len 12288, [ 60.753545] idx 6 req 5 num_units 0 num_unit_info 2 unit size 1876 actual units 531 [ 60.753639] ol_ath_alloc_host_mem_chunk req_id 5 idx 8 num_units 132 unit_len 1876, [ 60.753764] ol_ath_alloc_host_mem_chunk req_id 5 idx 9 num_units 133 unit_len 1876, [ 60.753889] ol_ath_alloc_host_mem_chunk req_id 5 idx 10 num_units 133 unit_len 1876, [ 60.754014] ol_ath_alloc_host_mem_chunk req_id 5 idx 11 num_units 133 unit_len 1876, [ 60.754014] chunk 0 len 13568 requested ,ptr 0x58388000 [ 60.754014] chunk 1 len 54272 requested ,ptr 0x58390000 [ 60.754045] chunk 2 len 217088 requested ,ptr 0x57c00000 [ 60.754045] chunk 3 len 254880 requested ,ptr 0x57c40000 [ 60.754045] chunk 4 len 254880 requested ,ptr 0x57c80000 [ 60.754045] chunk 5 len 254880 requested ,ptr 0x57cc0000 [ 60.754045] chunk 6 len 107520 requested ,ptr 0x57d00000 [ 60.754045] chunk 7 len 12288 requested ,ptr 0x5838c000 [ 60.754076] chunk 8 len 247632 requested ,ptr 0x57d40000 [ 60.754076] chunk 9 len 249508 requested ,ptr 0x57d80000 [ 60.754076] chunk 10 len 249508 requested ,ptr 0x57dc0000 [ 60.754076] chunk 11 len 249508 requested ,ptr 0x57e00000 [ 60.828647] wmi_ready_event_rx: WMI UNIFIED READY event [ 60.828678] ol_ath_connect_htc() WMI is ready [ 60.828741] target uses HTT version 2.2; host uses 2.2 [ 60.833770] ol_ath_attach() connect HTC. [ 60.833801] bypasswmi : 0 [ 60.833801] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. [ 60.833833] ol_regdmn_init_channels: !avail mode 0x680c (0x2) flags 0x2150 [ 60.833833] ol_regdmn_init_channels: !avail mode 0x680c (0x1) flags 0x140 [ 60.833833] ol_regdmn_init_channels: !avail mode 0x680c (0x20) flags 0xd0 [ 60.833864] ol_regdmn_init_channels: !avail mode 0x680c (0x40) flags 0x150 [ 60.833864] ol_regdmn_init_channels: !avail mode 0x680c (0x1000) flags 0x10100 [ 60.833864] ol_regdmn_init_channels: !avail mode 0x680c (0x8000) flags 0x20100 [ 60.833864] ol_regdmn_init_channels: !avail mode 0x680c (0x10000) flags 0x40100 [ 60.833895] ol_regdmn_init_channels: !avail mode 0x680c (0x20000) flags 0x100100 [ 60.833895] ol_regdmn_init_channels: !avail mode 0x680c (0x40000) flags 0x200100 [ 60.833895] ol_regdmn_init_channels: !avail mode 0x680c (0x80000) flags 0x400100 [ 60.833926] ol_regdmn_init_channels: !avail mode 0x680c (0x100000) flags 0x800100 [ 60.833926] ol_regdmn_init_channels: !avail mode 0x680c (0x200000) flags 0x4000100 [ 60.833926] ol_regdmn_init_channels: !avail mode 0x680c (0x400000) flags 0x8000100 [ 60.833989] ol_ath_phyerr_attach: called [ 60.834083] OL Resmgr Init-ed [ 60.834114] ieee80211_bsteering_attach: Band steering initialized [ 60.834114] acfg_attach: using existing sock d8410e00 [ 60.834114] ol_if_spectral_setup [ 60.834145] SPECTRAL : get_capability not registered [ 60.834145] HAL_CAP_PHYDIAG : Capable [ 60.834145] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237) [ 60.834145] SPECTRAL : get_capability not registered [ 60.834145] HAL_CAP_RADAR : Capable [ 60.834176] SPECTRAL : Need to fix the capablity check for SPECTRAL [ 60.834176] (spectral_attach : 242) [ 60.834176] SPECTRAL : get_capability not registered [ 60.834176] HAL_CAP_SPECTRAL_SCAN : Capable [ 60.834176] SPECTRAL : get_tsf64 not registered [ 60.834176] spectral_init_netlink 78 NULL SKB [ 60.834208] Green-AP : Green-AP : Attached [ 60.834208] [ 60.834208] Green-AP : Attached [ 60.834208] rate power table override is only supported for AR98XX [ 60.834239] ol_ath_smart_ant_attach: Firmware doest not support Smart Antenna. [ 60.834239] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna. [ 60.834239] ieee80211com_init_netlink: Socket already created d8411c00 [ 60.834239] ol_if_dfs_setup: called [ 60.834270] ol_if_dfs_attach: called; ptr=d69e9984, radar_info=d9687bb8 [ 60.834270] dfs_attach: event log enabled by default [ 60.834489] ol_ath_rtt_meas_report_attach: called [ 60.834707] ol_ath_attach() UMAC attach . [ 60.834739] ol_if_dfs_configure: called [ 60.834739] ol_if_dfs_configure: FCC domain [ 60.834739] ol_if_dfs_disable: called [ 60.834770] ol_ath_attach: Calling ol_if_dfs_configure [ 60.834770] [ 60.834770] BURSTING enabled by default [ 60.834895] osif_wrap_attach:432 osif wrap attached [ 60.834926] osif_wrap_devt_init:393 osif wrap dev table init done [ 60.834926] Wrap Attached: Wrap_com =dc94da00 ic->ic_wrap_com=dc94da00 &wrap_com->wc_devt=dc94da00 [ 60.834926] __ol_ath_attach: needed_headroom reservation 60 [ 60.835770] ol_ath_thermal_mitigation_attach: -- [ 60.871227] pktlog_init: Initializing Pktlog for AR900B, pktlog_hdr_size = 16 [ 60.871258] pktlog_init: Initializing Pktlog for AR900B, pktlog_hdr_size = 16 [ 60.901936] __sa_init_module [ 61.748109] [wifi1] FWLOG: [62012] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 ) [ 61.748141] [wifi1] FWLOG: [62012] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 ) [ 61.748172] [wifi1] FWLOG: [62012] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 ) [ 61.748203] [wifi1] FWLOG: [62012] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 ) [ 63.824773] Switching to Tx Mode-1 Threshold 1000 [ 64.324586] isCountryCodeValid: EEPROM regdomain 0x0 [ 64.324617] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150 [ 64.324617] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0 [ 64.324617] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0 [ 64.324617] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0 [ 64.324648] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150 [ 64.324648] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080 [ 64.324648] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080 [ 64.324648] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080 [ 64.324679] Add VHT80 channel: 5210 [ 64.324711] Add VHT80 channel: 5290 [ 64.324711] Add VHT80 channel: 5530 [ 64.324711] Add VHT80 channel: 5610 [ 64.324711] Skipping VHT80 channel 5660 [ 64.324711] Skipping VHT80 channel 5680 [ 64.324711] Skipping VHT80 channel 5700 [ 64.324742] Add VHT80_80 channels: 5210 : 5290 [ 64.324742] Add VHT80_80 channels: 5290 : 5210 [ 64.324742] Add VHT80_80 channels: 5530 : 5610 [ 64.324742] Add VHT80_80 channels: 5610 : 5530 [ 64.324773] Add VHT80_80 channels: 5210 : 5530 [ 64.324773] Add VHT80_80 channels: 5530 : 5210 [ 64.324804] Add VHT80_80 channels: 5210 : 5610 [ 64.324804] Add VHT80_80 channels: 5610 : 5210 [ 64.324804] Add VHT80_80 channels: 5290 : 5530 [ 64.324804] Add VHT80_80 channels: 5530 : 5290 [ 64.324804] Add VHT80_80 channels: 5290 : 5610 [ 64.324804] Add VHT80_80 channels: 5610 : 5290 [ 64.332927] ath_ioctl: SIOC80211IFCREATE CALLED [ 64.332958] wmi_unified_vdev_create_send: ID = 0 Type = 1, Subtype = 0 VAP Addr = 60:31:97:33:aa:05: [ 64.333270] Setting dscp for pdev [ 64.333333] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 64.333364] Enabling TX checksum bit for the vap ath0 features 4000 [ 64.333364] Enabling SG bit for the vap ath0 features 4000 [ 64.333364] Enabling SG bit for the vap ath0 features 4000 [ 64.333364] Enabling TSO bit for the vap ath0 features 4000 [ 64.333364] Enabling LRO bit for the vap ath0 features 4000 [ 64.333801] VAP device ath0 created osifp: (d9159480) os_if: (d699c000) [ 64.343455] siwfreq [ 64.343455] Set freq vap 0 stop send + d699c000 [ 64.343548] Set freq vap 0 stop send -d699c000 [ 64.371383] Set wait done --d699c000 [ 64.376194] ath_ioctl: SIOC80211IFCREATE CALLED [ 64.376226] wmi_unified_vdev_create_send: ID = 1 Type = 1, Subtype = 0 VAP Addr = 66:31:97:33:aa:05: [ 64.376601] Setting dscp for pdev [ 64.376663] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 64.376694] Enabling TX checksum bit for the vap ath1 features 4000 [ 64.376694] Enabling SG bit for the vap ath1 features 4000 [ 64.376694] Enabling SG bit for the vap ath1 features 4000 [ 64.376757] Enabling TSO bit for the vap ath1 features 4000 [ 64.376757] Enabling LRO bit for the vap ath1 features 4000 [ 64.377038] VAP device ath1 created osifp: (d6381480) os_if: (d83a0000) [ 64.387253] siwfreq [ 64.387253] Set freq vap 1 stop send + d699c000 [ 64.387347] Set freq vap 1 stop send -d699c000 [ 64.411090] Set wait done --d699c000 [ 64.411090] Set freq vap 1 stop send + d83a0000 [ 64.411215] Set freq vap 1 stop send -d83a0000 [ 64.424617] [wifi0] FWLOG: [65414] WAL_DBGID_DEV_RESET ( 0xc01d, 0x414 ) [ 64.441080] Set wait done --d83a0000 [ 64.446141] ath_ioctl: SIOC80211IFCREATE CALLED [ 64.446204] wmi_unified_vdev_create_send: ID = 2 Type = 1, Subtype = 0 VAP Addr = 6a:31:97:33:aa:05: [ 64.446547] Setting dscp for pdev [ 64.446610] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 64.446610] Enabling TX checksum bit for the vap ath2 features 4000 [ 64.446610] Enabling SG bit for the vap ath2 features 4000 [ 64.446610] Enabling SG bit for the vap ath2 features 4000 [ 64.446610] Enabling TSO bit for the vap ath2 features 4000 [ 64.446641] Enabling LRO bit for the vap ath2 features 4000 [ 64.446954] VAP device ath2 created osifp: (d6383c80) os_if: (d7560000) [ 64.456638] siwfreq [ 64.456638] Set freq vap 2 stop send + d699c000 [ 64.456732] Set freq vap 2 stop send -d699c000 [ 64.481130] Set wait done --d699c000 [ 64.481130] Set freq vap 2 stop send + d83a0000 [ 64.481224] Set freq vap 2 stop send -d83a0000 [ 64.511090] Set wait done --d83a0000 [ 64.511121] Set freq vap 2 stop send + d7560000 [ 64.511184] Set freq vap 2 stop send -d7560000 [ 64.541112] Set wait done --d7560000 [ 64.545985] ath_ioctl: SIOC80211IFCREATE CALLED [ 64.546048] wmi_unified_vdev_create_send: ID = 3 Type = 1, Subtype = 0 VAP Addr = 6e:31:97:33:aa:05: [ 64.546391] Setting dscp for pdev [ 64.546454] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 64.546485] Enabling TX checksum bit for the vap ath3 features 4000 [ 64.546485] Enabling SG bit for the vap ath3 features 4000 [ 64.546485] Enabling SG bit for the vap ath3 features 4000 [ 64.546485] Enabling TSO bit for the vap ath3 features 4000 [ 64.546485] Enabling LRO bit for the vap ath3 features 4000 [ 64.546797] VAP device ath3 created osifp: (d6386480) os_if: (d6394000) [ 64.555545] siwfreq [ 64.555545] Set freq vap 3 stop send + d699c000 [ 64.555701] Set freq vap 3 stop send -d699c000 [ 64.581380] Set wait done --d699c000 [ 64.581412] Set freq vap 3 stop send + d83a0000 [ 64.581537] Set freq vap 3 stop send -d83a0000 [ 64.611371] Set wait done --d83a0000 [ 64.611402] Set freq vap 3 stop send + d7560000 [ 64.611496] Set freq vap 3 stop send -d7560000 [ 64.641393] Set wait done --d7560000 [ 64.641393] Set freq vap 3 stop send + d6394000 [ 64.641518] Set freq vap 3 stop send -d6394000 [ 64.671102] Set wait done --d6394000 [ 64.692721] ME Pool succesfully initialized vaddr - d6580000 paddr - 0 [ 64.692721] num_elems = 2500 buf_size - 64 pool_size = 170000 [ 64.692783] ME Pool succesfully initialized vaddr - d65c0000 paddr - 0 [ 64.692814] num_elems = 2500 buf_size - 64 pool_size = 170000 [ 64.692845] ME Pool succesfully initialized vaddr - d6600000 paddr - 0 [ 64.692845] num_elems = 2500 buf_size - 64 pool_size = 170000 [ 64.692939] ME Pool succesfully initialized vaddr - d6640000 paddr - 0 [ 64.692939] num_elems = 2500 buf_size - 64 pool_size = 170000 [ 64.693002] ME Pool succesfully initialized vaddr - d6680000 paddr - 0 [ 64.693033] num_elems = 1500 buf_size - 64 pool_size = 102000 [ 64.693095] Enable MCAST_TO_UCAST [ 64.922368] mc_netlink_receive: Disable bridge snooping! [ 65.092408] 8021q: adding VLAN 0 to HW filter on device ath0 [ 65.093002] device ath0 entered promiscuous mode [ 65.093064] br-lan: port 2(ath0) entered forwarding state [ 65.093095] br-lan: port 2(ath0) entered forwarding state [ 65.390159] ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 [ 65.421587] br-lan: port 2(ath0) entered disabled state [ 65.444048] [wifi0] FWLOG: [66755] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 65.460637] DEVICE IS DOWN ifname=ath0 [ 65.460887] DEVICE IS DOWN ifname=ath0

1 Like

probed ath10k_core with debug_mask 0x20 and 0xffffffff in both cases only extra string appeared with error parsing pre-cal from DT

Can you please enable CONFIG_PACKAGE_ATH_DEBUG ?

The option is a bit hidden in menuconfig.
Go to Kernel Modules -> Wireless Drivers -> kmod-ath -> Atheros wireless debugging

Dang, I've been looking for it under mac80211 and debugging has been enabled there. I'll provide output in a little while.

Yes, you were right, board id is 0

https://pastebin.com/kw7fa8Dd

This was very helpful :sunglasses:. ath10k is looking for the pre-cal file:

[  177.375205] ath10k_pci 0000:01:00.0: boot did not find a pre calibration file, try DT next: -11

It can't find it. Can you check if they are generated? If not, please rename the two /lib/firmware/ath10k/cal-pci...
to /lib/firmware/ath10k/pre-cal-pci... and reload again.

ath10k should now find the pre-cal.

Note: not finished yet. the R7800 will still need a board-2.bin (I guess I'll email you one)

It works now, board I'd is 2 :slight_smile:
https://pastebin.com/PJS9FrgB
So the solution

  1. Increase bmi timeout
  2. rename cal into pre-cal

:smiley: :+1:

I've emailed you the R7800's board file. (I can't upload it here, because it's not an "image" :laughing: )

@slh: I made a board-2.bin file for the NBG6817 too. (e-mail?)

@blogic, @hnyman I think these board-2.bin's can go to ipq-wifi.

So, what's the preferred option? Move the current ones into a IPQ4019 subdirectory,
and make space for QCA9984, QCA99X0 and QCA9888?