Custom image 802.11ac not working

Hi everyone,

I've been testing an image compiled for OpenWISP with ansible-openwisp2-imagegenerator, compiled from OpenWRT 18.06 branch, it works as usual but when I tested it on an ubiquiti unifi AC mesh I noticed that only the 2GHz radio was available: the 5GHz is neither defined in /etc/config/wireless neither shows up in the iw phy output.

So I reflashed the same device with the official stable OpenWRT 18.06 ant noticed the radio appears and works regularly, that's when I was told and I understood that the ath10k kernel module was missing from my image.

So I added the ath10k kmod package, recompiled, tested again, the module appears in the output of lsmod but same situation: the 5GHz radio is neither defined in /etc/config/wireless neither shows up in the iw phy output.

I'm wondering what other package or configuration is missing. Can you help me figure it out?

I attach the output of the following:

  • opkg list-installed
  • dmesg
  • lsmod
  • iw phy
  • compilation configuration
  • the command used to generate the final image with the custom imagebuilder:

opkg list-installed:

base-files - 192-r7407-1cd945ea22
busybox - 1.28.3-4
ca-certificates - 20180409
curl - 7.60.0-3
dnsmasq - 2.80-1
dropbear - 2017.75-5.1
firewall - 2018-07-26-aa8846bb-1
fstools - 2018-04-16-e2436836-1
fwtool - 1
hostapd-common - 2018-04-09-fa617ee6-5
iw - 4.14-1
iwinfo - 2018-07-24-94b1366d-1
jshn - 2018-07-25-c83a84af-2
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.9.138-1-bb59abb50863b9a25a105389df4bfbe3
kmod-ath - 4.9.138+2017-11-01-9
kmod-ath10k - 4.9.138+2017-11-01-9
kmod-ath9k - 4.9.138+2017-11-01-9
kmod-ath9k-common - 4.9.138+2017-11-01-9
kmod-cfg80211 - 4.9.138+2017-11-01-9
kmod-gpio-button-hotplug - 4.9.138-2
kmod-ipt-conntrack - 4.9.138-1
kmod-ipt-core - 4.9.138-1
kmod-ipt-nat - 4.9.138-1
kmod-mac80211 - 4.9.138+2017-11-01-9
kmod-nf-conntrack - 4.9.138-1
kmod-nf-conntrack6 - 4.9.138-1
kmod-nf-ipt - 4.9.138-1
kmod-nf-nat - 4.9.138-1
kmod-nf-reject - 4.9.138-1
kmod-nls-base - 4.9.138-1
kmod-tun - 4.9.138-1
kmod-usb-core - 4.9.138-1
kmod-usb-ehci - 4.9.138-1
kmod-usb-ledtrig-usbport - 4.9.138-1
kmod-usb-ohci - 4.9.138-1
kmod-usb2 - 4.9.138-1
libblobmsg-json - 2018-07-25-c83a84af-2
libc - 1.1.19-1
libcurl - 7.60.0-3
libgcc - 7.3.0-1
libip4tc - 1.6.2-1
libip6tc - 1.6.2-1
libiwinfo - 2018-07-24-94b1366d-1
libiwinfo-lua - 2018-07-24-94b1366d-1
libjson-c - 0.12.1-2
libjson-script - 2018-07-25-c83a84af-2
liblua - 5.1.5-1
liblucihttp - 2018-05-18-cb119ded-1
liblucihttp-lua - 2018-05-18-cb119ded-1
liblzo - 2.10-1
libmbedtls - 2.12.0-1
libnl-tiny - 0.1-5
libpthread - 1.1.19-1
libubox - 2018-07-25-c83a84af-2
libubus - 2018-07-26-40e0931e-1
libubus-lua - 2018-07-26-40e0931e-1
libuci - 2018-08-11-4c8b4d6e-1
libuci-lua - 2018-08-11-4c8b4d6e-1
libuclient - 2018-11-24-3ba74ebc-1
libustream-mbedtls - 2018-05-22-5322f9db-1
libxtables - 1.6.2-1
logd - 2018-02-14-128bc35f-2
lua - 5.1.5-1
lua-cjson - 2.1.0-2
luafilesystem - 1.6.2-1
luci - git-18.340.83383-3dea6b5-1
luci-app-firewall - git-18.340.83383-3dea6b5-1
luci-base - git-18.340.83383-3dea6b5-1
luci-lib-ip - git-18.340.83383-3dea6b5-1
luci-lib-jsonc - git-18.340.83383-3dea6b5-1
luci-lib-nixio - git-18.340.83383-3dea6b5-1
luci-mod-admin-full - git-18.340.83383-3dea6b5-1
luci-proto-ipv6 - git-18.340.83383-3dea6b5-1
luci-proto-ppp - git-18.340.83383-3dea6b5-1
luci-ssl - git-18.340.83383-3dea6b5-1
luci-theme-bootstrap - git-18.340.83383-3dea6b5-1
mtd - 23
netifd - 2018-10-07-d0fa124e-1
odhcpd-ipv6only - 1.10-1
openvpn-mbedtls - 2.4.5-4
openwisp-config-mbedtls - 0.4.6a-1
openwrt-keyring - 2018-05-18-103a32e9-1
opkg - 2017-12-07-3b417b9f-2
procd - 2018-03-28-dfb68f85-1
px5g-mbedtls - 6
rpcd - 2018-08-16-41333abe-1
rpcd-mod-iwinfo - 2018-08-16-41333abe-1
rpcd-mod-rrdns - 20170710
swconfig - 11
uboot-envtools - 2018.03-1
ubox - 2018-02-14-128bc35f-2
ubus - 2018-07-26-40e0931e-1
ubusd - 2018-07-26-40e0931e-1
uci - 2018-08-11-4c8b4d6e-1
uclient-fetch - 2018-11-24-3ba74ebc-1
uhttpd - 2018-11-28-cdfc902a-1
uhttpd-mod-ubus - 2018-06-26-796d42bc-1
usign - 2015-07-04-ef641914-1
wireless-regdb - 2017-10-20-4343d359
wpad - 2018-04-09-fa617ee6-5

dmesg:

[    0.000000] Linux version 4.9.138 (federico@jenkins) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7391-0d549271d3) ) #0 Fri Dec 7 20:41:56 2018
[    0.000000] MyLoader: sysp=71151177, boardp=755157d1, parts=1775ff13
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 8046c394, node_mem_map 81000020
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=UBNT-UF-AC-LITE mtdparts=spi0.0:384k(u-boot)ro,64k(u-boot-env)ro,7744k(firmware),7744k(ubnt-airos)ro,128k(bs),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124816K/131072K available (3179K kernel code, 168K rwdata, 800K rodata, 324K init, 205K bss, 6256K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008216] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.071025] pid_max: default: 32768 minimum: 301
[    0.075975] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.082947] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092677] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103083] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.110549] NET: Registered protocol family 16
[    0.116549] MIPS: machine is Ubiquiti UniFi-AC-LITE/MESH
[    0.359917] registering PCI controller with io_map_base unset
[    0.378371] PCI host bridge to bus 0000:00
[    0.382701] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.389979] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.395846] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.403001] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.411371] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    0.411380] pci 0000:00:00.0: invalid calibration data
[    0.416821] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.416868] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.416935] pci 0000:00:00.0: supports D1
[    0.416942] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.417112] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.417133] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.424850] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.432488] pci 0000:00:00.0: using irq 40 for pin 1
[    0.438279] clocksource: Switched to clocksource MIPS
[    0.444521] NET: Registered protocol family 2
[    0.449792] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.457147] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.463892] TCP: Hash tables configured (established 1024 bind 1024)
[    0.470676] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.476843] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.483696] NET: Registered protocol family 1
[    0.488358] PCI: CLS 0 bytes, default 32
[    0.492328] Crashlog allocated RAM at address 0x3f00000
[    0.498824] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.511054] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.517198] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.535275] io scheduler noop registered
[    0.539444] io scheduler deadline registered (default)
[    0.545113] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.552185] console [ttyS0] disabled
[    0.576016] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.585113] console [ttyS0] enabled
[    0.592661] bootconsole [early0] disabled
[    0.604358] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.609652] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.615759] Creating 7 MTD partitions on "spi0.0":
[    0.620726] 0x000000000000-0x000000060000 : "u-boot"
[    0.627883] 0x000000060000-0x000000070000 : "u-boot-env"
[    0.635129] 0x000000070000-0x000000800000 : "firmware"
[    0.654614] 2 uimage-fw partitions found on MTD device firmware
[    0.660778] 0x000000070000-0x0000001d0000 : "kernel"
[    0.667072] 0x0000001d0000-0x000000800000 : "rootfs"
[    0.673631] mtd: device 4 (rootfs) set to be root filesystem
[    0.679564] 1 squashfs-split partitions found on MTD device rootfs
[    0.685953] 0x0000004e0000-0x000000800000 : "rootfs_data"
[    0.693314] 0x000000800000-0x000000f90000 : "ubnt-airos"
[    0.700541] 0x000000f90000-0x000000fb0000 : "bs"
[    0.707005] 0x000000fb0000-0x000000ff0000 : "cfg"
[    0.713663] 0x000000ff0000-0x000001000000 : "EEPROM"
[    0.721388] libphy: Fixed MDIO Bus: probed
[    0.734606] libphy: ag71xx_mdio: probed
[    1.469821] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[    1.480745] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    1.488221] NET: Registered protocol family 10
[    1.495406] NET: Registered protocol family 17
[    1.500187] 8021q: 802.1Q VLAN Support v1.8
[    1.509928] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.519002] Freeing unused kernel memory: 324K
[    1.523586] This architecture does not have kernel memory protection.
[    2.135230] init: Console is alive
[    2.138991] init: - watchdog -
[    2.492568] random: fast init done
[    3.157741] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.329904] usbcore: registered new interface driver usbfs
[    3.335668] usbcore: registered new interface driver hub
[    3.341261] usbcore: registered new device driver usb
[    3.351097] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.359213] ehci-platform: EHCI generic platform driver
[    3.366859] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.374342] ohci-platform: OHCI generic platform driver
[    3.380399] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.398253] init: - preinit -
[    4.058836] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.083158] random: procd: uninitialized urandom read (4 bytes read)
[    6.121292] eth0: link up (100Mbps/Full duplex)
[    6.126005] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.316464] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    7.342508] urandom-seed: Seed file not found (/etc/urandom.seed)
[    7.512182] eth0: link down
[    7.524656] procd: - early -
[    7.527709] procd: - watchdog -
[    8.132695] procd: - watchdog -
[    8.136168] procd: - ubus -
[    8.255224] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.342634] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.349641] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.356982] procd: - init -
[    8.749199] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.836452] tun: Universal TUN/TAP device driver, 1.6
[    8.841719] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    8.852822] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[    8.861144] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[    8.873082] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[    8.924925] xt_time: kernel timezone is -0000
[    8.947931] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.005785] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    9.011833] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[    9.292086] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[    9.303165] ath10k_pci 0000:00:00.0: Falling back to user helper
[    9.430617] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[    9.440111] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[    9.450826] ath10k_pci 0000:00:00.0: Falling back to user helper
[    9.607776] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[    9.616914] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[    9.627983] ath10k_pci 0000:00:00.0: Falling back to user helper
[    9.782775] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[    9.792270] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[    9.803338] ath10k_pci 0000:00:00.0: Falling back to user helper
[    9.931757] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[    9.941262] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[    9.952336] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.079862] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   10.089388] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   10.100464] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.229033] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   10.238530] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-2.bin failed with error -2
[   10.249601] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.378181] firmware ath10k!QCA988X!hw2.0!firmware-2.bin: firmware_loading_store: map pages failed
[   10.387659] ath10k_pci 0000:00:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA988X/hw2.0: -11
[   10.398644] ath10k_pci 0000:00:00.0: could not fetch firmware files (-11)
[   10.405656] ath10k_pci 0000:00:00.0: could not probe fw (-11)
[   10.481755] ath: EEPROM regdomain: 0x0
[   10.481763] ath: EEPROM indicates default country code should be used
[   10.481765] ath: doing EEPROM country->regdmn map search
[   10.481778] ath: country maps to regdmn code: 0x3a
[   10.481782] ath: Country alpha2 being used: US
[   10.481785] ath: Regpair used: 0x3a
[   10.491717] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   10.495287] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47
[   10.546114] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.756593] urandom_read: 5 callbacks suppressed
[   11.756599] random: jshn: uninitialized urandom read (4 bytes read)
[   20.501668] br-lan: port 1(eth0) entered blocking state
[   20.507071] br-lan: port 1(eth0) entered disabled state
[   20.512819] device eth0 entered promiscuous mode
[   20.578518] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   22.601326] eth0: link up (100Mbps/Full duplex)
[   22.606052] br-lan: port 1(eth0) entered blocking state
[   22.611481] br-lan: port 1(eth0) entered forwarding state
[   22.658316] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   39.054180] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   39.088325] jffs2_build_filesystem(): unlocking the mtd device...
[   39.094534] done.
[   39.096521] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   55.748417] done.
[   55.750442] jffs2: notice: (1414) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   72.690223] IPv6: ADDRCONF(NETDEV_UP): br-tapvpn: link is not ready
[  101.830308] random: crng init done

lsmod:

ath                    17523  4 ath9k,ath9k_common,ath9k_hw,ath10k_core
ath10k_core           262336  1 ath10k_pci
ath10k_pci             32323  0
ath9k                  94427  0
ath9k_common           11789  1 ath9k
ath9k_hw              337868  2 ath9k,ath9k_common
cfg80211              211098  5 ath9k,ath9k_common,ath10k_core,ath,mac80211
compat                  7423  6 ath9k,ath9k_common,ath10k_pci,ath10k_core,mac80211,cfg80211
ehci_hcd               33271  1 ehci_platform
ehci_platform           3984  0
gpio_button_hotplug     4624  0
ip_tables               9581  4 iptable_nat,iptable_mangle,iptable_filter
ipt_MASQUERADE           688  1
ipt_REJECT               944  2
iptable_filter           752  1
iptable_mangle           976  0
iptable_nat              784  1
ledtrig_usbport         2240  0
mac80211              413992  2 ath9k,ath10k_core
nf_conntrack           49831  8 nf_conntrack_ipv6,xt_state,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack_rtcache
nf_conntrack_ipv4       4752  9
nf_conntrack_ipv6       5104  0
nf_conntrack_rtcache    2480  0
nf_defrag_ipv4           822  1 nf_conntrack_ipv4
nf_defrag_ipv6          4366  1 nf_conntrack_ipv6
nf_log_common           2351  1 nf_log_ipv4
nf_log_ipv4             3184  0
nf_nat                  8939  4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4             3409  1 iptable_nat
nf_nat_masquerade_ipv4    1468  1 ipt_MASQUERADE
nf_nat_redirect          987  1 xt_REDIRECT
nf_reject_ipv4          2179  1 ipt_REJECT
nls_base                5056  1 usbcore
ohci_hcd               22559  1 ohci_platform
ohci_platform           3248  0
tun                    17327  4
usb_common              1534  1 usbcore
usbcore               124555  5 ledtrig_usbport,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd
x_tables               12554 18 iptable_mangle,iptable_filter,ipt_REJECT,ipt_MASQUERADE,ip_tables,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG
xt_LOG                   784  0
xt_REDIRECT              688  0
xt_TCPMSS               2704  0
xt_comment               528 50
xt_conntrack            2224  8
xt_limit                1040  1
xt_mac                   656  0
xt_mark                  688  0
xt_multiport            1232  0
xt_nat                  1168  0
xt_state                 720  0
xt_tcpudp               1744  4
xt_time                 1648  0

iw phy:

Wiphy phy1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x3 RX 0x3
	Configured Antennas: TX 0x3 RX 0x3
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ee
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-15
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (disabled)
			* 2472 MHz [13] (disabled)
			* 2484 MHz [14] (disabled)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing

Imagebuilder make command:

packages="-iptables -ip6tables -ppp -ppp-mod-pppoe -firewall -odhcpd -odhcp6c -wpad-mini wpad iwinfo uhttpd px5g luci-ssl libustream-mbedtls openvpn-mbedtls openwisp-config-mbedtls uhttpd-mod-ubus kmod-ath10k lua-cjson rpcd-mod-iwinfo"
make image PROFILE="Default" \
           PACKAGES="$packages"

the .config file used to compile the imagebuilder: https://pastebin.com/BqBh4zZB

Adding the package ath10k-firmware-qca988x-ct fixed it.

Thanks to the guys on IRC for the support.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.