Compiling ath10k-ct sources

My repository with jalapeno changes: https://github.com/mobythevan/lede-jalapeno

This of course has the issue looking for firmware-6.bin and I basically have not tested anything other than ping internet over radio 0. But check it out if you get time while I continue working with the driver and firmware.

EDIT: I did a checkout and build of this, booted image and pinged internet

Great,
I have created a PR to add Candela Tech firmware for IPQ4019 as it is missing in LEDE currently.
This should enable a lot of features missing in the stock firmware.
It is a bit behind their current build but hopefully they will bump it soon.
https://github.com/mobythevan/lede-jalapeno/pull/2

There is no problem with the failing request_firmware() for firmware-6.bin, that one is only available for selected chipsets, for all others it falls back to firmware-5.bin transparently.

Awesome,thanks

I compiled with your ct firmware change. I selected the ct firmware in menuconfig and changed driver to ct. Here is the bootlog, has problems with the driver (EDIT: has problems with or without your change, seems to fail before firware load matters).

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.67 (bryanc@bryanc-Aspire-V3-771) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r0-97495ae) ) #0 SMP Thu Dec 14 19:27:45 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: 8devices Jalapeno v2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 13 pages/cpu @cfdb8000 s20940 r8192 d24116 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64512
[    0.000000] Kernel command line: ubi.mtd=ubi rootfstype=squashfs
[    0.000000] Bootloader command line not present
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 251616K/260096K available (3829K kernel code, 245K rwdata, 1224K rodata, 232K init, 240K bss, 8480K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc05c58b8   (3831 kB)
[    0.000000]       .init : 0xc0718000 - 0xc0752000   ( 232 kB)
[    0.000000]       .data : 0xc0752000 - 0xc078f4c0   ( 246 kB)
[    0.000000]        .bss : 0xc0791000 - 0xc07cd268   ( 241 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000007] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000024] Switching to timer-based delay loop, resolution 20ns
[    0.000260] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000278] pid_max: default: 32768 minimum: 301
[    0.000391] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000406] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001051] CPU: Testing write buffer coherency: ok
[    0.001391] Setting up static identity map for 0x80208280 - 0x802082d8
[    0.005782] Brought up 4 CPUs
[    0.005803] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.005811] CPU: All CPU(s) started in SVC mode.
[    0.011129] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.011324] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011349] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.011512] pinctrl core: initialized pinctrl subsystem
[    0.012842] NET: Registered protocol family 16
[    0.013154] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.040001] cpuidle: using governor ladder
[    0.070029] cpuidle: using governor menu
[    0.121865] usbcore: registered new interface driver usbfs
[    0.121967] usbcore: registered new interface driver hub
[    0.122063] usbcore: registered new device driver usb
[    0.122123] pps_core: LinuxPPS API ver. 1 registered
[    0.122135] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.122167] PTP clock support registered
[    0.124219] clocksource: Switched to clocksource arch_sys_counter
[    0.125347] NET: Registered protocol family 2
[    0.126065] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.126117] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.126171] TCP: Hash tables configured (established 2048 bind 2048)
[    0.126237] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.126273] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.126481] NET: Registered protocol family 1
[    0.127937] No memory allocated for crashlog
[    0.128197] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.135071] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.135087] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.140254] io scheduler noop registered
[    0.140272] io scheduler deadline registered (default)
[    0.144734] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.144801] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.144856] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.144911] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.145075] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.145881] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.145932] msm_serial 78af000.serial: uartclk = 1843200
[    0.145983] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 125, base_baud = 115200) is a MSM
[    0.146012] msm_serial: console setup on port #0
[    0.629375] console [ttyMSM0] enabled
[    0.634449] msm_serial: driver initialized
[    0.646095] loop: module loaded
[    0.647288] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.648981] m25p80 spi0.0: found s25fl064k, expected mx25l1606e
[    0.655389] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.661023] 8 ofpart partitions found on MTD device spi0.0
[    0.665863] Creating 8 MTD partitions on "spi0.0":
[    0.671315] 0x000000000000-0x000000040000 : "SBL1"
[    0.677183] 0x000000040000-0x000000060000 : "MIBIB"
[    0.681930] 0x000000060000-0x0000000c0000 : "QSEE"
[    0.686712] 0x0000000c0000-0x0000000d0000 : "CDT"
[    0.691499] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS"
[    0.696349] 0x0000000e0000-0x0000000f0000 : "APPSBLENV"
[    0.701330] 0x0000000f0000-0x000000170000 : "APPSBL"
[    0.706606] 0x000000170000-0x000000180000 : "ART"
[    0.712843] libphy: ipq40xx_mdio: probed
[    0.749639] ESS reset ok!
[    0.782662] ESS reset ok!
[    0.853037] PHY 0 single test PSGMII issue happen!
[    1.178407] PHY0 test see issue!
[    1.218680] ESS reset ok!
[    1.644732] libphy: Fixed MDIO Bus: probed
[    1.644758] libphy: mdio_driver_register: qca8k
[    1.845028] i2c /dev entries driver
[    1.846912] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 666000 KHz
[    1.847396] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 716800 KHz
[    1.855219] sdhci: Secure Digital Host Controller Interface driver
[    1.863296] sdhci: Copyright(c) Pierre Ossman
[    1.869697] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.937315] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xaa
[    1.937554] nand: Winbond W25N01GV 1G 3.3V 8-bit
[    1.942974] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.947966] Scanning device for bad blocks
[    2.020322] random: fast init done
[    2.586647] random: crng init done
[    2.623596] 1 ofpart partitions found on MTD device spi0.1
[    2.623628] Creating 1 MTD partitions on "spi0.1":
[    2.628009] 0x000000000000-0x000008000000 : "ubi"
[    2.636741] NET: Registered protocol family 10
[    2.639358] NET: Registered protocol family 17
[    2.642120] 8021q: 802.1Q VLAN Support v1.8
[    2.646420] Registering SWP/SWPB emulation handler
[    2.656334] ubi0: attaching mtd8
[   15.114075] ubi0: scanning is finished
[   15.250974] ubi0: attached mtd8 (name "ubi", size 128 MiB)
[   15.251049] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   15.255460] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   15.262256] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   15.269149] ubi0: good PEBs: 1024, bad PEBs: 0, corrupted PEBs: 0
[   15.275914] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[   15.282138] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1814776924
[   15.289322] ubi0: available PEBs: 0, total reserved PEBs: 1024, PEBs reserved for bad PEB handling: 20
[   15.298635] ubi0: background thread "ubi_bgt0d" started, PID 104
[   15.308834] block ubiblock0_1: created from ubi0:1(rootfs)
[   15.313814] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[   15.319181] hc▒[   15.367105] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[   15.369179] Freeing unused kernel memory: 232K
[   15.373254] This architecture does not have kernel memory protection.
[   16.647389] init: Console is alive
[   16.647661] init: - watchdog -
[   18.643932] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   18.855180] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   18.860040] SCSI subsystem initialized
[   18.873107] ehci-platform: EHCI generic platform driver
[   19.034331] Raw USB3 Calibration value 729
[   19.203170] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   19.203763] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   19.209799] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x02010010
[   19.216253] xhci-hcd xhci-hcd.0.auto: irq 192, io mem 0x08a00000
[   19.233749] hub 1-0:1.0: USB hub found
[   19.234833] hub 1-0:1.0: 1 port detected
[   19.240801] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   19.241220] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   19.247761] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   19.262938] hub 2-0:1.0: USB hub found
[   19.263692] hub 2-0:1.0: 1 port detected
[   19.271505] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   19.272064] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[   19.278277] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x02010010
[   19.284606] xhci-hcd xhci-hcd.1.auto: irq 193, io mem 0x06000000
[   19.302560] hub 3-0:1.0: USB hub found
[   19.303327] hub 3-0:1.0: 1 port detected
[   19.309893] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   19.310313] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[   19.316432] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   19.331986] hub 4-0:1.0: USB hub found
[   19.332768] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[   19.373714] usbcore: registered new interface driver usb-storage
[   19.375782] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   19.386437] init: - preinit -
[   21.037133] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.038436] ess_edma c080000.edma: eth0: GMAC Link is up with phy_speed=1000
[   21.041895] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   24.627974] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 175
[   25.444491] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[   25.444535] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   25.451318] UBIFS (ubi0:2): FS size: 119357440 bytes (113 MiB, 940 LEBs), journal size 5967872 bytes (5 MiB, 47 LEBs)
[   25.461249] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[   25.471818] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID 95E4D6A6-D40B-4695-8E4B-5CF36F98769C, small LPT model
[   25.484361] mount_root: overlay filesystem has not been fully initialized yet
[   25.490513] mount_root: switching to ubifs overlay
- config restore -
[   25.769136] urandom-seed: Seed file not found (/etc/urandom.seed)
[   25.903464] procd: - early -
[   25.903593] procd: - watchdog -
[   26.545330] procd: - watchdog -
[   26.548101] procd: - ubus -
[   27.015639] procd: - init -
Please press Enter to activate this console.
[   27.593572] kmodloader: loading kernel modules from /etc/modules.d/*
[   27.605600] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   27.622364] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   27.622435] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   27.664051] batman_adv: B.A.T.M.A.N. advanced 2017.4 (compatibility version 15) loaded
[   27.679466] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   27.679610] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   27.685508] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   27.692285] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   27.698698] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   27.704931] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   27.712404] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   27.718825] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   27.725242] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   27.732712] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   27.739233] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   27.745557] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   27.751532] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   27.758454] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   27.766040] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   27.772629] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   27.779075] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   27.786307] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   27.792591] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   27.799906] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   27.807292] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   27.813499] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   27.819940] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   27.826717] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   27.833741] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   27.840196] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   27.846577] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   27.852908] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   27.858921] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   27.865513] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   27.872207] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   27.878717] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   27.885132] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   27.891917] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   27.899981] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   27.906492] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   27.913411] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   27.919167] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   27.926294] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   27.932959] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   27.939657] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   27.946387] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   27.952736] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   27.995951] usbcore: registered new interface driver cdc_acm
[   27.995985] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   28.002539] ip_tables: (C) 2000-2006 Netfilter Core Team
[   28.014037] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   28.043905] xt_time: kernel timezone is -0000
[   28.047428] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   28.047502] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   28.054054] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   28.060977] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   28.067449] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   28.073676] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   28.081184] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   28.087584] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   28.093982] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   28.101495] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   28.107983] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   28.114315] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   28.120291] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   28.127222] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   28.134792] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   28.141387] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   28.147815] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   28.155051] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   28.161349] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   28.168660] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   28.176054] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   28.182258] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   28.188696] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   28.195472] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   28.202500] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   28.208961] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   28.215327] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   28.221678] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   28.227690] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   28.234281] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   28.240978] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   28.247487] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   28.253886] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   28.260716] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   28.268749] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   28.275261] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   28.282183] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   28.287935] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   28.295076] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   28.301731] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   28.308427] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   28.315173] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   28.321505] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   28.361409] PPP generic driver version 2.4.2
[   28.362746] NET: Registered protocol family 24
[   28.368738] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   28.369061] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   28.375961] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   28.382766] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   28.389320] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   28.395552] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   28.403043] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   28.409449] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   28.415859] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   28.423355] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   28.429858] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   28.436199] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   28.442154] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   28.449115] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   28.456663] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   28.463251] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   28.469684] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   28.476917] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   28.483203] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   28.490516] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   28.497913] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   28.504112] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   28.510551] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   28.517326] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   28.524364] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   28.530802] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   28.537153] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   28.543522] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   28.549531] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   28.556122] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   28.562815] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   28.569323] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   28.575741] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   28.582540] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   28.590591] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   28.597100] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   28.604024] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   28.609776] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   28.616924] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   28.623568] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   28.630267] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   28.637006] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   28.643350] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   28.690158] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   28.690238] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   28.696028] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   28.702811] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   28.709368] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   28.715605] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   28.723091] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   28.729500] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   28.735919] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   28.743404] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   28.749908] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   28.756245] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   28.762211] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   28.769153] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   28.776714] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   28.783309] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   28.789738] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   28.796979] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   28.803270] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   28.810581] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   28.817983] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   28.824185] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   28.830607] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   28.837396] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   28.844431] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   28.850873] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   28.857225] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   28.863590] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   28.869598] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   28.876192] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   28.882886] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   28.889412] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   28.895810] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   28.902606] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   28.910656] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   28.917170] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   28.924094] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   28.929844] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   28.936984] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   28.943637] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   28.950345] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   28.957074] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   28.963418] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   29.014704] kmodloader: 2 modules could not be probed
[   29.014806] kmodloader: - ath10k_core - 0
[   29.018786] kmodloader: dependency not loaded ath10k_core
[   29.022777] kmodloader: - ath10k_pci - 1
[   33.317983] spi_qup 78b5000.spi: unexpected irq 00000000 00000000 00000d40
[   33.932579] ess_edma c080000.edma: eth0: GMAC Link is up with phy_speed=1000
[   33.933845] br-lan: port 1(eth0) entered blocking state
[   33.938751] br-lan: port 1(eth0) entered disabled state
[   33.944111] device eth0 entered promiscuous mode
[   33.953016] br-lan: port 1(eth0) entered blocking state
[   33.953722] br-lan: port 1(eth0) entered forwarding state



BusyBox v1.27.2 () built-in shell (ash)

Hm, that looks like the driver issue for sure.
I don't think you need to select ct driver at all.
Shouldn't selecting CT firmware use the ordinary driver with modified firmware?

OK, I can try that. I thought for my final use of IBSS I would need the ct driver.

Those errors look like my mc80211/iface.c is not compatible with the ct driver.

Actually, you may be right.
It could easily be that driver is really out of date.
LEDE has a version from 2017-06-13 while Candela Tech updates their driver pretty often.
It wouldn't hurt to test with bumped version.

Can you help me on how to use a newer version of the driver. I know where to git the sources from greearb, but I am unsuccessful in how to build the driver and get it in my compile. I don't understand the directions in the readme.

As a note I compiled with normal ath10k driver and new ct-firmware. I don't see support for IBSS when I do "iw list" as shown here:

Supported interface modes:
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client 
                 * P2P-GO     
                 * P2P-device 

Notice that the 3 P2P lines are new since the firwmare changed to ct. But I expect to see IBSS in this list if ad-hoc is supported.

Sure,it should be enough to change the date,commit and hash to todays version on git.
LEDE already has ath10k-ct package so just updating Makefile should be enough.

Sorry for newbie question, but I don't know how to find or generate the PKG_MIRROR_HASH. I see the source date and source version on greearb project. I did some searching last week and got stuck at this spot because I don't understand the mirror hash number.

There is an option to skip has verification introduced a couple of days ago.
But the hash should be the same if you download zip version of current commit,then you check its SHA256 checksum and use that.

Found the commit,it was actually today.
Really usefull for finding out hashes
https://github.com/lede-project/source/commit/f4b9d9d6f13c898d473ce678234339e4a9dba5b2

OK, That helps a lot because it tells me why the hash is used to start with. A way to indentify the trusted source. OK, I will try out newest code for ath10k-ct and report back.

Yeah,it is used so you can verify that downloaded source code package is genuine,so nobody can redirect your download request to a modified package

I made a PR to update ath10k-ct to current version.
https://github.com/mobythevan/lede-jalapeno/pull/3

OK, I appreciate the help Robert, but I still get some problems:

Boot messages show unknown symbols

[   27.679466] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   27.679610] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   27.685508] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   27.692285] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   27.698698] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   27.704931] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   27.712404] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   27.718825] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   27.725242] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   27.732712] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   27.739233] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   27.745557] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   27.751532] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   27.758454] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   27.766040] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   27.772629] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   27.779075] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   27.786307] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   27.792591] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   27.799906] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   27.807292] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   27.813499] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   27.819940] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   27.826717] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   27.833741] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   27.840196] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   27.846577] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   27.852908] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   27.858921] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   27.865513] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   27.872207] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   27.878717] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   27.885132] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   27.891917] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   27.899981] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   27.906492] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   27.913411] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   27.919167] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   27.926294] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   27.932959] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   27.939657] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   27.946387] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   27.952736] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   27.995951] usbcore: registered new interface driver cdc_acm
[   27.995985] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   28.002539] ip_tables: (C) 2000-2006 Netfilter Core Team
[   28.014037] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   28.043905] xt_time: kernel timezone is -0000
[   28.047428] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   28.047502] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   28.054054] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   28.060977] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   28.067449] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   28.073676] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   28.081184] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   28.087584] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   28.093982] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   28.101495] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   28.107983] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   28.114315] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   28.120291] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   28.127222] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   28.134792] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   28.141387] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   28.147815] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   28.155051] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   28.161349] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   28.168660] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   28.176054] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   28.182258] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   28.188696] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   28.195472] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   28.202500] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   28.208961] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   28.215327] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   28.221678] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   28.227690] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   28.234281] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   28.240978] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   28.247487] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   28.253886] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   28.260716] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   28.268749] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   28.275261] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   28.282183] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   28.287935] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   28.295076] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   28.301731] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   28.308427] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   28.315173] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   28.321505] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   28.361409] PPP generic driver version 2.4.2
[   28.362746] NET: Registered protocol family 24
[   28.368738] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   28.369061] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   28.375961] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   28.382766] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   28.389320] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   28.395552] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   28.403043] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   28.409449] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   28.415859] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   28.423355] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   28.429858] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   28.436199] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   28.442154] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   28.449115] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   28.456663] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   28.463251] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   28.469684] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   28.476917] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   28.483203] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   28.490516] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   28.497913] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   28.504112] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   28.510551] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   28.517326] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   28.524364] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   28.530802] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   28.537153] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   28.543522] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   28.549531] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   28.556122] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   28.562815] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   28.569323] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   28.575741] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   28.582540] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   28.590591] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   28.597100] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   28.604024] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   28.609776] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   28.616924] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   28.623568] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   28.630267] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   28.637006] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   28.643350] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   28.690158] ath10k_core: Unknown symbol ieee80211_connection_loss (err 0)
[   28.690238] ath10k_core: Unknown symbol ieee80211_manage_rx_ba_offl (err 0)
[   28.696028] ath10k_core: Unknown symbol ieee80211_txq_get_depth (err 0)
[   28.702811] ath10k_core: Unknown symbol ieee80211_free_hw (err 0)
[   28.709368] ath10k_core: Unknown symbol ieee80211_iterate_stations_atomic (err 0)
[   28.715605] ath10k_core: Unknown symbol ieee80211_beacon_loss (err 0)
[   28.723091] ath10k_core: Unknown symbol ieee80211_register_hw (err 0)
[   28.729500] ath10k_core: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[   28.735919] ath10k_core: Unknown symbol ieee80211_restart_hw (err 0)
[   28.743404] ath10k_core: Unknown symbol ieee80211_wake_queue (err 0)
[   28.749908] ath10k_core: Unknown symbol ieee80211_find_sta (err 0)
[   28.756245] ath10k_core: Unknown symbol ieee80211_tx_status_irqsafe (err 0)
[   28.762211] ath10k_core: Unknown symbol ieee80211_iter_chan_contexts_atomic (err 0)
[   28.769153] ath10k_core: Unknown symbol wiphy_to_ieee80211_hw (err 0)
[   28.776714] ath10k_core: Unknown symbol ath_reg_notifier_apply (err 0)
[   28.783309] ath10k_core: Unknown symbol ieee80211_queue_delayed_work (err 0)
[   28.789738] ath10k_core: Unknown symbol ieee80211_proberesp_get (err 0)
[   28.796979] ath10k_core: Unknown symbol ieee80211_find_sta_by_ifaddr (err 0)
[   28.803270] ath10k_core: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
[   28.810581] ath10k_core: Unknown symbol ath_is_world_regd (err 0)
[   28.817983] ath10k_core: Unknown symbol ieee80211_wake_queues (err 0)
[   28.824185] ath10k_core: Unknown symbol ieee80211_report_low_ack (err 0)
[   28.830607] ath10k_core: Unknown symbol ieee80211_beacon_get_template (err 0)
[   28.837396] ath10k_core: Unknown symbol ieee80211_free_txskb (err 0)
[   28.844431] ath10k_core: Unknown symbol ieee80211_alloc_hw_nm (err 0)
[   28.850873] ath10k_core: Unknown symbol ieee80211_tx_dequeue (err 0)
[   28.857225] ath10k_core: Unknown symbol ieee80211_tx_status (err 0)
[   28.863590] ath10k_core: Unknown symbol ieee80211_stop_queue (err 0)
[   28.869598] ath10k_core: Unknown symbol ieee80211_ready_on_channel (err 0)
[   28.876192] ath10k_core: Unknown symbol ieee80211_stop_queues (err 0)
[   28.882886] ath10k_core: Unknown symbol ieee80211_vif_to_wdev (err 0)
[   28.889412] ath10k_core: Unknown symbol ieee80211_scan_completed (err 0)
[   28.895810] ath10k_core: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
[   28.902606] ath10k_core: Unknown symbol ieee80211_unregister_hw (err 0)
[   28.910656] ath10k_core: Unknown symbol dfs_pattern_detector_init (err 0)
[   28.917170] ath10k_core: Unknown symbol ath_regd_init (err 0)
[   28.924094] ath10k_core: Unknown symbol ieee80211_csa_update_counter (err 0)
[   28.929844] ath10k_core: Unknown symbol ieee80211_beacon_get_tim (err 0)
[   28.936984] ath10k_core: Unknown symbol ieee80211_radar_detected (err 0)
[   28.943637] ath10k_core: Unknown symbol ieee80211_csa_is_complete (err 0)
[   28.950345] ath10k_core: Unknown symbol ieee80211_queue_work (err 0)
[   28.957074] ath10k_core: Unknown symbol ieee80211_csa_finish (err 0)
[   28.963418] ath10k_core: Unknown symbol ieee80211_rx_napi (err 0)
[   29.014704] kmodloader: 2 modules could not be probed
[   29.014806] kmodloader: - ath10k_core - 0
[   29.018786] kmodloader: dependency not loaded ath10k_core
[   29.022777] kmodloader: - ath10k_pci - 1

I searched on this problem and found one post that talked about dependencies. So I made sure the config has all of the following enabled:

DEPENDS:=+kmod-mac80211 +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT @PCI_SUPPORT +@KERNEL_RELAY +kmod-hwmon-core

It does have all of those. Then I notice in that Makefile the kernel version was set to 4.13, so I changed to 4.9 here:

# Build the 4.13 ath10k-ct driver version.  Other options are "-4.9", or
# leave un-defined for 4.7 kernel.  Probably this should match as closely as
# possible to whatever mac80211 backports version is being used.
CT_KVER="-4.9"

But then my compile fails with these errors. I don't see any more information in the newest driver sources to tell me what to try next.

/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c: In function 'ath10k_htt_rx_h_rates':
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:640:19: error: 'RX_FLAG_HT' undeclared (first use in this function)
   status->flag |= RX_FLAG_HT;
                   ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:640:19: note: each undeclared identifier is reported only once for each function it appears in
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:642:20: error: 'RX_FLAG_SHORT_GI' undeclared (first use in this function)
    status->flag |= RX_FLAG_SHORT_GI;
                    ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:644:20: error: 'RX_FLAG_40MHZ' undeclared (first use in this function)
    status->flag |= RX_FLAG_40MHZ;
                    ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:696:9: error: 'struct ieee80211_rx_status' has no member named 'vht_nss'
   status->vht_nss = nss;
         ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:711:10: error: 'struct ieee80211_rx_status' has no member named 'vht_flag'
    status->vht_flag |= RX_VHT_FLAG_80MHZ;
          ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:711:24: error: 'RX_VHT_FLAG_80MHZ' undeclared (first use in this function)
    status->vht_flag |= RX_VHT_FLAG_80MHZ;
                        ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:714:10: error: 'struct ieee80211_rx_status' has no member named 'vht_flag'
    status->vht_flag |= RX_VHT_FLAG_160MHZ;
          ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:714:24: error: 'RX_VHT_FLAG_160MHZ' undeclared (first use in this function)
    status->vht_flag |= RX_VHT_FLAG_160MHZ;
                        ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:718:19: error: 'RX_FLAG_VHT' undeclared (first use in this function)
   status->flag |= RX_FLAG_VHT;
                   ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c: In function 'ath10k_htt_rx_h_ppdu':
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:898:9: error: 'struct ieee80211_rx_status' has no member named 'vht_nss'
   status->vht_nss = 0;
         ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:899:9: error: 'struct ieee80211_rx_status' has no member named 'vht_flag'
   status->vht_flag &= ~RX_VHT_FLAG_80MHZ;
         ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:899:24: error: 'RX_VHT_FLAG_80MHZ' undeclared (first use in this function)
   status->vht_flag &= ~RX_VHT_FLAG_80MHZ;
                        ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:900:21: error: 'RX_FLAG_HT' undeclared (first use in this function)
   status->flag &= ~(RX_FLAG_HT |
                     ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:901:7: error: 'RX_FLAG_VHT' undeclared (first use in this function)
       RX_FLAG_VHT |
       ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:902:7: error: 'RX_FLAG_SHORT_GI' undeclared (first use in this function)
       RX_FLAG_SHORT_GI |
       ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:903:7: error: 'RX_FLAG_40MHZ' undeclared (first use in this function)
       RX_FLAG_40MHZ |
       ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c: In function 'ath10k_process_rx':
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:965:23: error: 'RX_FLAG_HT' undeclared (first use in this function)
      (status->flag & (RX_FLAG_HT | RX_FLAG_VHT)) == 0 ?
                       ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:965:36: error: 'RX_FLAG_VHT' undeclared (first use in this function)
      (status->flag & (RX_FLAG_HT | RX_FLAG_VHT)) == 0 ?
                                    ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:969:21: error: 'RX_FLAG_40MHZ' undeclared (first use in this function)
      status->flag & RX_FLAG_40MHZ ? "40" : "",
                     ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:970:12: error: 'struct ieee80211_rx_status' has no member named 'vht_flag'
      status->vht_flag & RX_VHT_FLAG_80MHZ ? "80" : "",
            ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:970:25: error: 'RX_VHT_FLAG_80MHZ' undeclared (first use in this function)
      status->vht_flag & RX_VHT_FLAG_80MHZ ? "80" : "",
                         ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:971:12: error: 'struct ieee80211_rx_status' has no member named 'vht_flag'
      status->vht_flag & RX_VHT_FLAG_160MHZ ? "160" : "",
            ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:971:25: error: 'RX_VHT_FLAG_160MHZ' undeclared (first use in this function)
      status->vht_flag & RX_VHT_FLAG_160MHZ ? "160" : "",
                         ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:972:21: error: 'RX_FLAG_SHORT_GI' undeclared (first use in this function)
      status->flag & RX_FLAG_SHORT_GI ? "sgi " : "",
                     ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:974:12: error: 'struct ieee80211_rx_status' has no member named 'vht_nss'
      status->vht_nss,
            ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c: In function 'ath10k_htt_t2h_msg_handler':
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:2490:4: error: implicit declaration of function '__ieee80211_get_channel' [-Werror=implicit-function-declaration]
    __ieee80211_get_channel(ar->hw->wiphy, freq);
    ^
/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.c:2489:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   ar->tgt_oper_chan =
                     ^
cc1: some warnings being treated as errors
make[5]: *** [/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9/htt_rx.o] Error 1
make[4]: *** [_module_/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/ath10k-4.9] Error 2
make[3]: *** [/home/bryanc/lede-jalapeno/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2017-12-15-d4ef048b/.built] Error 2
make[2]: *** [package/kernel/ath10k-ct/compile] Error 2
make[1]: *** [/home/bryanc/lede-jalapeno/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make: *** [world] Error 2

To summarize, I compile with the kernel version set to 4.13 (default) in package/kernel/ath10k-ct/Makefile and the compile completes but has the unkown symbols. Or I change to kernel version 4.9 and get the compile errors. I'm trying to understand what those errors are telling me about wrong files, etc.

You should build 4.13 version, you can see the description that it should as close as possible to backports version.
And since backports are from 4.14 you need 4.13 version.

I have no idea why there are so much unknown symbol errors in ath10k-ct.

Maybe it would be good idea to contact package maintainer?

OK, I will do that. I also notice this, but it will not clone so I can't look into the files to see if I am missing something:

For full kernel source that these drivers came from, see:

http://dmz2.candelatech.com/?p=linux-4.7.dev.y/.git;a=summary
git clone git://dmz2.candelatech.com/linux-4.7.dev.y

Been working on this a lot while I try to contact the maintainer. The unknown symbols are happening because the MAC80211 module is not loaded I think. If I boot an image with the ath10k driver I can do "cat proc/kallsym | grep ieee" and see all of the missing symbols are there with the ath10k driver and they are coming from the MAC80211 module. So I am trying to figure out why the MAC80211 is not loading when I change the compile to use the ath10k-ct driver. I'm learning a lot but progress is slowwww... :slight_smile:

EDIT: lsmod shows MAC80211 is not loaded after boot

Can you check if mac80211 is selected when ath10k-ct is selected in make menuconfig