MR3420v1, wifi not detected in 21.02.1

Hi,

I have MR3420v1 that already upgraded the flash to 16/64.
I make image of 21.02.1 and successfully upload to the router.

The problem is, there are missing wifi tab on luci/wireless file on /etc/config.
While on previous LEDE version, wireless device is detected.

Here are log on 21.02.1

[    0.000000] Linux version 5.4.154 (root@OpenWRT) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 Sun Oct 24 09:01:35 2021
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-Link TL-MR3420 v1
[    0.000000] SoC: Atheros AR7241 rev 1
[    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]   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] 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: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=0007fff0
[    0.000000] Readback ErrCtl register=0007fff0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 57156K/65536K available (4943K kernel code, 183K rwdata, 1136K rodata, 1216K init, 196K bss, 8380K 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] random: get_random_bytes called from start_kernel+0x358/0x54c with crng_init=0
[    0.000000] CPU clock: 400.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007978] Calibrating delay loop... 265.98 BogoMIPS (lpj=531968)
[    0.050187] pid_max: default: 32768 minimum: 301
[    0.055092] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.062476] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.076803] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.086680] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.093701] pinctrl core: initialized pinctrl subsystem
[    0.100463] NET: Registered protocol family 16
[    0.148443] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.163021] clocksource: Switched to clocksource MIPS
[    0.169905] NET: Registered protocol family 2
[    0.174662] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.182889] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.191409] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.199156] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.206288] TCP: Hash tables configured (established 1024 bind 1024)
[    0.212916] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.219580] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.227096] NET: Registered protocol family 1
[    0.231547] PCI: CLS 0 bytes, default 32
[    0.240894] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.258812] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.264757] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.296303] pinctrl-single 18040028.pinmux: 64 pins, size 8
[    0.302727] gpio-export gpio-export: 1 gpio(s) exported
[    0.309136] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.316646] printk: console [ttyS0] disabled
[    0.321114] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 16550A
[    0.329923] printk: console [ttyS0] enabled
[    0.338345] printk: bootconsole [early0] disabled
[    0.368985] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.373908] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.380314] Creating 3 MTD partitions on "spi0.0":
[    0.385188] 0x000000000000-0x000000020000 : "u-boot"
[    0.391762] 0x000000020000-0x000000ff0000 : "firmware"
[    0.401551] 2 tplink-fw partitions found on MTD device firmware
[    0.407591] Creating 2 MTD partitions on "firmware":
[    0.412621] 0x000000000000-0x0000001f724b : "kernel"
[    0.419119] 0x0000001f724c-0x000000fd0000 : "rootfs"
[    0.425424] mtd: device 3 (rootfs) set to be root filesystem
[    0.433808] 1 squashfs-split partitions found on MTD device rootfs
[    0.440128] 0x000000540000-0x000000fd0000 : "rootfs_data"
[    0.447099] 0x000000ff0000-0x000001000000 : "art"
[    0.456299] libphy: Fixed MDIO Bus: probed
[    0.804140] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.139013] random: fast init done
[    1.443493] libphy: ag71xx_mdio: probed
[    1.448428] libphy: ar8xxx-mdio: probed
[    1.455517] switch0: Atheros AR724X/AR933X built-in rev. 2 switch registered on mdio.0
[    1.497154] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.507287] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.513763] i2c /dev entries driver
[    1.520631] NET: Registered protocol family 10
[    1.532510] Segment Routing with IPv6
[    1.536459] NET: Registered protocol family 17
[    1.541061] 8021q: 802.1Q VLAN Support v1.8
[    1.546653] PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
[    1.553257]  MEM 0x0000000010000000..0x0000000013ffffff
[    1.558538]   IO 0x0000000000000000..0x0000000000000000
[    1.564082] PCI host bridge to bus 0000:00
[    1.568268] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    1.575202] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.580825] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.587669] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.595703] pci 0000:00:00.0: [168c:002e] type 00 class 0x028000
[    1.601835] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1000ffff 64bit]
[    1.608855] pci 0000:00:00.0: supports D1
[    1.612921] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.620446] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.627155] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    1.952649] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd041, driver=Generic PHY]
[    1.963338] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.984936] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    2.002015] Freeing unused kernel memory: 1216K
[    2.006608] This architecture does not have kernel memory protection.
[    2.013092] Run /sbin/init as init process
[    3.403206] init: Console is alive
[    3.406960] init: - watchdog -
[    5.583252] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.669187] usbcore: registered new interface driver usbfs
[    5.674891] usbcore: registered new interface driver hub
[    5.680428] usbcore: registered new device driver usb
[    5.701197] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.720474] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.738756] init: - preinit -
[    8.056089] random: jshn: uninitialized urandom read (4 bytes read)
[    8.502617] random: jshn: uninitialized urandom read (4 bytes read)
[    8.572778] random: jshn: uninitialized urandom read (4 bytes read)
[    8.875098] eth0: link up (1000Mbps/Full duplex)
[    8.887282] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.449588] jffs2: notice: (531) jffs2_build_xattr_subsystem: complete building xattr subsystem, 8 of xdatum (0 unchecked, 1 orphan) and 9 of xref (1 dead, 0 orphan) found.
[   13.467995] mount_root: switching to jffs2 overlay
[   13.481708] overlayfs: upper fs does not support tmpfile.
[   13.496340] urandom-seed: Seeding with /etc/urandom.seed
[   13.663211] eth0: link down
[   13.685158] procd: - early -
[   13.688296] procd: - watchdog -
[   14.351760] procd: - watchdog -
[   14.357537] procd: - ubus -
[   14.460019] urandom_read: 5 callbacks suppressed
[   14.460030] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.474351] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.495128] procd: - init -
[   16.083546] kmodloader: loading kernel modules from /etc/modules.d/*
[   16.207059] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35
[   16.214709] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32
[   16.298200] xt_time: kernel timezone is -0000
[   16.674827] PPP generic driver version 2.4.2
[   16.688398] NET: Registered protocol family 24
[   16.848302] ath9k 0000:00:00.0: Direct firmware load for ath9k-eeprom-pci-0000:00:00.0.bin failed with error -2
[   16.858524] ath9k 0000:00:00.0: Falling back to sysfs fallback for: ath9k-eeprom-pci-0000:00:00.0.bin
[   17.225645] urngd: v1.0.2 started.
[   17.725336] random: crng init done
[   17.781331] ath: phy0: Unable to load EEPROM file ath9k-eeprom-pci-0000:00:00.0.bin
[   17.789140] ath9k 0000:00:00.0: Failed to initialize device
[   17.794872] ath9k: probe of 0000:00:00.0 failed with error -22
[   17.839664] kmodloader: done loading kernel modules from /etc/modules.d/*
[   40.319605] eth0: link up (1000Mbps/Full duplex)
[   40.325229] br-lan: port 1(eth0) entered blocking state
[   40.330583] br-lan: port 1(eth0) entered disabled state

Here are 3420v1 log on LEDE (17.01.7)

[    0.000000] Linux version 4.4.182 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) 5:43 2019
[    0.000000] MyLoader: sysp=ffffffff, boardp=ffffffff, parts=ffffffff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7241 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    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 803e24b0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    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] 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: 16256
[    0.000000] Kernel command line: board=TL-MR3420  console=ttyS0,115200 rootfstype=squashfs,jffs2 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=0007f440
[    0.000000] Readback ErrCtl register=0007f440
[    0.000000] Memory: 60296K/65536K available (3133K kernel code, 167K rwdata, 420K rodata, 304K init, 197K bss, 5240K reserved, 0K 
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007966] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.090695] pid_max: default: 32768 minimum: 301
[    0.095530] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102200] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.113023] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.122962] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.130824] NET: Registered protocol family 16
[    0.137138] MIPS: machine is TP-LINK TL-MR3420
[    0.577671] registering PCI controller with io_map_base unset
[    0.627949] PCI host bridge to bus 0000:00
[    0.632100] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.639082] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.644696] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.651551] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.659577] pci 0000:00:00.0: [168c:002e] type 00 class 0x028000
[    0.659616] pci 0000:00:00.0: fixup device configuration
[    0.666721] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1000ffff 64bit]
[    0.666855] pci 0000:00:00.0: supports D1
[    0.666879] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.667192] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.667239] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.674621] pci 0000:00:00.0: using irq 40 for pin 1
[    0.680658] clocksource: Switched to clocksource MIPS
[    0.687276] NET: Registered protocol family 2
[    0.693086] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.700129] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.706610] TCP: Hash tables configured (established 1024 bind 1024)
[    0.713167] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.719072] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.725765] NET: Registered protocol family 1
[    0.730203] PCI: CLS 0 bytes, default 32
[    0.737285] Crashlog allocated RAM at address 0x3f00000
[    0.765576] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.771509] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.784980] io scheduler noop registered
[    0.788934] io scheduler deadline registered (default)
[    0.794475] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.805019] console [ttyS0] disabled
[    0.828666] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12500000) is a 16550A
[    0.837445] console [ttyS0] enabled
[    0.844463] bootconsole [early0] disabled
[    0.859897] m25p80 spi0.0: found gd25q128, expected m25p80
[    0.865512] m25p80 spi0.0: gd25q128 (16384 Kbytes)
[    0.872028] 5 tp-link partitions found on MTD device spi0.0
[    0.877642] Creating 5 MTD partitions on "spi0.0":
[    0.882536] 0x000000000000-0x000000020000 : "u-boot"
[    0.889599] 0x000000020000-0x0000001599f8 : "kernel"
[    0.897029] 0x0000001599f8-0x000000ff0000 : "rootfs"
[    0.904473] mtd: device 2 (rootfs) set to be root filesystem
[    0.910223] 1 squashfs-split partitions found on MTD device rootfs
[    0.916518] 0x000000390000-0x000000ff0000 : "rootfs_data"
[    0.924338] 0x000000ff0000-0x000001000000 : "art"
[    0.931592] 0x000000020000-0x000000ff0000 : "firmware"
[    0.957846] libphy: ag71xx_mdio: probed
[    1.552154] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[    1.594218] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.182362] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.192550] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.201419] NET: Registered protocol family 10
[    2.211576] NET: Registered protocol family 17
[    2.216129] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you 
[    2.229006] 8021q: 802.1Q VLAN Support v1.8
[    2.235412] hctosys: unable to open rtc device (rtc0)
[    2.246886] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.256540] Freeing unused kernel memory: 304K
[    3.579586] init: Console is alive
[    3.583382] init: - watchdog -
[    4.808449] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.919829] usbcore: registered new interface driver usbfs
[    4.925594] usbcore: registered new interface driver hub
[    4.931132] usbcore: registered new device driver usb
[    4.943225] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.951809] ehci-platform: EHCI generic platform driver
[    4.957183] ehci-platform ehci-platform: EHCI Host Controller
[    4.963078] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.973235] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.990712] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.998293] hub 1-0:1.0: USB hub found
[    5.002661] hub 1-0:1.0: 1 port detected
[    5.007709] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.025578] init: - preinit -
[    5.864301] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.897392] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
[    7.461986] eth0: link up (1000Mbps/Full duplex)
[    7.466674] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.171598] jffs2: notice: (386) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orpha0 dead, 0 orphan) found.
[    9.190270] mount_root: switching to jffs2 overlay
[    9.205662] urandom-seed: Seeding with /etc/urandom.seed
[    9.501607] eth0: link down
[    9.521261] procd: - early -
[    9.524279] procd: - watchdog -
[   10.206191] procd: - watchdog -
[   10.209683] procd: - ubus -
[   10.231099] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[   10.272664] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.282496] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.291722] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.301260] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.310334] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.319700] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.329010] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[   10.338781] procd: - init -
[   10.775668] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.788531] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.810493] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   10.818632] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   10.830220] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.846894] nf_conntrack version 0.5.0 (946 buckets, 3784 max)
[   10.906125] xt_time: kernel timezone is -0000
[   10.987365] PPP generic driver version 2.4.2
[   10.994955] NET: Registered protocol family 24
[   11.049051] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   11.060005] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   11.068647] ath: EEPROM regdomain: 0x0
[   11.068662] ath: EEPROM indicates default country code should be used
[   11.068676] ath: doing EEPROM country->regdmn map search
[   11.068702] ath: country maps to regdmn code: 0x3a
[   11.068718] ath: Country alpha2 being used: US
[   11.068731] ath: Regpair used: 0x3a
[   11.083280] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.091540] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=40
[   11.248871] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.906750] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
[   20.585895] device eth0 entered promiscuous mode
[   20.607075] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   20.668015] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   22.099374] ath: EEPROM regdomain: 0x8168
[   22.103484] ath: EEPROM indicates we should expect a country code
[   22.109612] ath: doing EEPROM country->regdmn map search
[   22.114978] ath: country maps to regdmn code: 0x3
[   22.119708] ath: Country alpha2 being used: ID
[   22.124183] ath: Regpair used: 0x3
[   22.127612] ath: regdomain 0x8168 dynamically updated by user
[   22.192066] eth0: link up (1000Mbps/Full duplex)
[   22.196786] br-lan: port 1(eth0) entered forwarding state
[   22.202313] br-lan: port 1(eth0) entered forwarding state

I've upload art image on the art partition.

What's I'm missing?
How to recover the wifi?

Did you keep settings when you ran the upgrade?

Seems it's not compatible between version, so I decide not to keep setting.

Did you include the owl-loader? Just a guess

I've just re-create image with owl-loader, but seems no effect yet.

Seems ath9k on 21.02.1 unable to recognize the wireless module.

Someone know what file and where to put this file?
Is this art.bin file?

[ 17.781331] ath: phy0: Unable to load EEPROM file ath9k-eeprom-pci-0000:00:00.0.bin

When I switch back to lede, wifi is detected.

What is the difference between them?
What part is the source that I need to modify to get wireless detected?

This device is not supported on 21.02.1

The last supported version was 17.01.5

The old version reads wifi cal data direct from flash every time it boots up. The new version reads the flash once during the first boot and prepares a file in the filesystem, which the driver then reads during subsequent reboots. In a dual band device the file seems like it is in /lib/firmware/ath10k, despite it being data for ath9k. I don't have a single band device running 21.02 to look there.

Thank you for this info...
Now I can understand why eth9k is looking the .bin file in the bootlog.

Is there a way to generate the file? or how to reconfigure the wireless when it seems the fw unable generate the file from the art partition?

Maybe, is there a way to use again the art partition during boot?

This file is auto generated during first attempt to load eeprom by /etc/hotplug.d/firmware/10-ath9k-eeprom script:

	netgear,wnr1000-v2|\
	netgear,wnr2000-v3|\
	netgear,wnr612-v2|\
	on,n150r|\
	tplink,tl-mr3220-v1|\
	tplink,tl-mr3420-v1|\
	tplink,tl-wr740n-v1|\
	tplink,tl-wr740n-v3|\
	tplink,tl-wr741-v1|\
	tplink,tl-wr743nd-v1|\
	tplink,tl-wr841-v7)
		caldata_extract "art" 0x1000 0x1000
		;;

But if you changed boardname (tplink,tl-mr3420-v1) or incorrectly move art partition eeprom file ath9k-eeprom-pci-0000:00:00.0.bin will be absent or contain incorrect data.
If art partition is correct you can generate the file by command:

dd if=/dev/mtd5 of=/lib/firmware/ath9k-eeprom-pci-0000:00:00.0.bin bs=1 skip=$((0x1000))  count=$((0x1000))

where /dev/mtd5 is mtd-device for art partition.
Or check/correct boardname in scripts and reboot router.

1 Like

If you don't need to install additional packages there's OpenWrt 21.02.x ath79 tiny LuCI
Same user have also released ath79 19.07 images OpenWrt 19.07.1 ath79 tiny LuCI

How would ath79 19.07.1 or 21.02.x work on a 17.01.5 device?

ath79 is smaller, and you can actually fit more/other things (like Luci) into those 4mb.

I obviously haven't tried the image for the specific device, but other 4/32.

Still compatible with 17.01.5?

they are newer versions, what do you mean by compatible ?

The last supported version of OpenWRT for that device was 17.01.5.

not specifically 17.0.5, but devices EOLed by 18.06.9 - one of the 4/32 MB tp-link devices.

Hardware data (posted above) says 17.01.5

I'm aware, but these are community builds, not covered by the wiki.

They lack basic openwrt functionality, like PPP opkg, etc, but are still usable, depending on the use case.

I got that it was an OP build...

However, then said it didn't have what the LEDE build had...

Which seemed to be a consequence of trying to run 21.02.1 on an unsupported device.