Hi,
Just to try, I compiled the AR7xxx instead of AR79. And surprise, I got wifi....
For now, this is good enough for me, but I still have the device for a few days, so let me know if you want me to experiment something.
DMESG :
[ 0.000000] Linux version 4.14.132 (shepheje@laptop) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10564-fc2df4f705)) #0 Fri Jul 26 21:50:21 2019
[ 0.000000] MyLoader: sysp=8760e2d5, boardp=87358a9d, parts=1d2c1034
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 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-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 80545ae0, node_mem_map 81000020
[ 0.000000] Normal zone: 144 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x4a0 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: board=CPE210V3 mtdparts=spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 58940K/65536K available (3908K kernel code, 199K rwdata, 912K rodata, 284K init, 210K bss, 6596K 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:650.000MHz, DDR:392.382MHz, AHB:216.666MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[ 0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[ 0.008264] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[ 0.074883] pid_max: default: 32768 minimum: 301
[ 0.080056] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.087037] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.098072] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.108524] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.115714] NET: Registered protocol family 16
[ 0.122303] MIPS: machine is TP-LINK CPE210 v3
[ 0.383503] clocksource: Switched to clocksource MIPS
[ 0.390284] NET: Registered protocol family 2
[ 0.395879] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.403244] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.410029] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.416958] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.423151] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.430245] NET: Registered protocol family 1
[ 0.434934] PCI: CLS 0 bytes, default 32
[ 0.441779] Crashlog allocated RAM at address 0x3f00000
[ 0.449340] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.463452] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.469677] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.496687] io scheduler noop registered
[ 0.500826] io scheduler deadline registered (default)
[ 0.506670] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.513906] console [ttyS0] disabled
[ 0.537848] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.546961] console [ttyS0] enabled
[ 0.554526] bootconsole [early0] disabled
[ 0.568815] m25p80 spi0.0: found gd25q64, expected m25p80
[ 0.577235] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[ 0.582063] 6 cmdlinepart partitions found on MTD device spi0.0
[ 0.588243] Creating 6 MTD partitions on "spi0.0":
[ 0.593211] 0x000000000000-0x000000020000 : "u-boot"
[ 0.600758] 0x000000020000-0x000000030000 : "partition-table"
[ 0.608648] 0x000000030000-0x000000040000 : "product-info"
[ 0.617296] 0x000000040000-0x0000007c0000 : "firmware"
[ 0.646504] 2 tplink-fw partitions found on MTD device firmware
[ 0.652650] 0x000000040000-0x0000001d913a : "kernel"
[ 0.658812] 0x0000001e0000-0x0000007c0000 : "rootfs"
[ 0.664905] mtd: device 5 (rootfs) set to be root filesystem
[ 0.670802] 1 squashfs-split partitions found on MTD device rootfs
[ 0.677278] 0x000000440000-0x0000007c0000 : "rootfs_data"
[ 0.686822] 0x0000007c0000-0x0000007f0000 : "config"
[ 0.693913] 0x0000007f0000-0x000000800000 : "ART"
[ 0.702951] libphy: Fixed MDIO Bus: probed
[ 0.741521] libphy: ag71xx_mdio: probed
[ 1.376555] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.386741] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.395251] NET: Registered protocol family 10
[ 1.406313] Segment Routing with IPv6
[ 1.410205] NET: Registered protocol family 17
[ 1.415779] 8021q: 802.1Q VLAN Support v1.8
[ 1.429186] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.438995] Freeing unused kernel memory: 284K
[ 1.443633] This architecture does not have kernel memory protection.
[ 2.192458] init: Console is alive
[ 2.196426] init: - watchdog -
[ 2.503513] random: fast init done
[ 3.178238] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.233207] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.251383] init: - preinit -
[ 3.928299] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.017123] eth0: link up (100Mbps/Full duplex)
[ 6.021864] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.284477] jffs2: notice: (399) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and 5 of xref (2 dead, 0 orphan) found.
[ 7.302204] mount_root: switching to jffs2 overlay
[ 7.337787] overlayfs: upper fs does not support tmpfile.
[ 7.349667] urandom-seed: Seeding with /etc/urandom.seed
[ 7.533226] eth0: link down
[ 7.552262] procd: - early -
[ 7.555514] procd: - watchdog -
[ 8.195140] procd: - watchdog -
[ 8.198789] procd: - ubus -
[ 8.319819] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.328798] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.336056] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.343964] procd: - init -
[ 9.154656] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.224243] urngd: v1.0.0 started.
[ 9.271389] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.305006] Loading modules backported from Linux version v5.2-rc7-0-g6fbc7275c7a9
[ 9.312840] Backport generated by backports.git v5.2-rc7-1-0-g021a6ba1
[ 9.346683] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.372034] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 9.524694] xt_time: kernel timezone is -0000
[ 9.590400] random: crng init done
[ 9.594015] random: 7 urandom warning(s) missed due to ratelimiting
[ 9.650111] PPP generic driver version 2.4.2
[ 9.658023] NET: Registered protocol family 24
[ 9.719093] ath: EEPROM regdomain: 0x0
[ 9.719106] ath: EEPROM indicates default country code should be used
[ 9.719109] ath: doing EEPROM country->regdmn map search
[ 9.719128] ath: country maps to regdmn code: 0x3a
[ 9.719135] ath: Country alpha2 being used: US
[ 9.719138] ath: Regpair used: 0x3a
[ 9.734380] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 9.736625] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[ 9.826907] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 21.564043] br-lan: port 1(eth0) entered blocking state
[ 21.569484] br-lan: port 1(eth0) entered disabled state
[ 21.575349] device eth0 entered promiscuous mode
[ 21.620274] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 23.617234] eth0: link up (100Mbps/Full duplex)
[ 23.622003] br-lan: port 1(eth0) entered blocking state
[ 23.627479] br-lan: port 1(eth0) entered forwarding state
[ 23.753708] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 24.281510] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 26.905314] wlan0: authenticate with b0:4e:26:35:6f:22
[ 26.924718] wlan0: send auth to b0:4e:26:35:6f:22 (try 1/3)
[ 26.932377] wlan0: authenticated
[ 26.943623] wlan0: associate with b0:4e:26:35:6f:22 (try 1/3)
[ 26.983103] wlan0: RX AssocResp from b0:4e:26:35:6f:22 (capab=0xc11 status=0 aid=3)
[ 26.991429] wlan0: associated
[ 27.105135] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
IWINFO still shows some unknown, but less
root@OpenWrt:~# iwinfo
wlan0 ESSID: "xxx-link"
Access Point: D8:0D:17:47:1E:18
Mode: Client Channel: 10 (2.457 GHz)
Tx-Power: 25 dBm Link Quality: 54/70
Signal: -56 dBm Noise: -95 dBm
Bit Rate: 78.0 MBit/s
Encryption: WPA2 PSK (TKIP, CCMP)
Type: nl80211 HW Mode(s): 802.11bgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0