[SOLVED] Unable to use AW7916-NPD Wifi 6E mini-pci module

Hi I am attempting to test AW7916-NPD module on OpenWrt for libremesh development purposes, so I have an HiLink HLK-7621A evaluation board with an AsiaRF AW7916-NPD WiFi 6E in the mini-pci slot, the radio seems correctly recognized by lspci but neither wifi neither iw commands seems to be aware of it, looking into dmesg output I found this lines that seems related

As a side node I noted that ethernet macaddress and as a consequence IPv6 link local address changes at every reboot, is this to be considered normal for this board?

Thanks for your help in advance!

EDIT: This outputs is what you would get with AW7915-NPD while attempting to use firmawre fo AW7916-NPD !!

[   10.085472] pci 0000:00:02.0: enabling device (0006 -> 0007)
[   10.096815] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[   10.256869] mt7915e 0000:01:00.0: Direct firmware load for mediatek/mt7915_rom_patch.bin failed with error -2
[   10.276675] mt7915e 0000:01:00.0: Falling back to sysfs fallback for: mediatek/mt7915_rom_patch.bin
[   10.425560] mt7915e: probe of 0000:01:00.0 failed with error -12

I have built the firmware from today source at commit fe0081eecf43bfd92ac68aa0f3ce7165aaddb4f2

selected the board plus kmod-mt7916-firmware and pciutils any suggestion on what i can do to fix this problem?

Following full output from relevant commands


root@OpenWrt:~# dmesg 
[    0.000000] Linux version 5.15.148 (gio@g10fl) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r0-c8c2f522) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Mar 4 15:28:57 2024
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:4
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is HiLink HLK-7621A evaluation board
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2} total 2
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 11 pages/cpu s14512 r8192 d22352 u45056
[    0.000000] pcpu-alloc: s14512 r8192 d22352 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 248904K/262144K available (7014K kernel code, 622K rwdata, 1444K rodata, 1272K init, 216K bss, 13240K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000003] sched_clock: 64 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns
[    0.016154] Calibrating delay loop... 666.41 BogoMIPS (lpj=3332096)
[    0.088448] pid_max: default: 32768 minimum: 301
[    0.098285] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.112688] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.131239] rcu: Hierarchical SRCU implementation.
[    0.141175] smp: Bringing up secondary CPUs ...
[    0.150704] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.150727] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.150744] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.150787] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.210864] Synchronize counters for CPU 1: done.
[    0.270522] smp: Brought up 1 node, 2 CPUs
[    0.282785] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.302240] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.315974] pinctrl core: initialized pinctrl subsystem
[    0.327630] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.339933] thermal_sys: Registered thermal governor 'step_wise'
[    0.349143] FPU Affinity set after 13320 emulations
[    0.372750] clocksource: Switched to clocksource GIC
[    0.383755] NET: Registered PF_INET protocol family
[    0.393539] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.408574] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.425107] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.440458] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.455673] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.469852] TCP: Hash tables configured (established 2048 bind 2048)
[    0.482584] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.495483] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.509633] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.520814] PCI: CLS 0 bytes, default 32
[    0.531005] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.548505] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.560089] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.583304] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.594765] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.606190] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.617728] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.630997] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.648461] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.664689] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.032758] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    1.046524] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    1.060336] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    1.070019] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.084154] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.096708] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.107551] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.121201] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.133634] pci 0000:00:02.0: [0e8d:0801] type 01 class 0x060400
[    1.145469] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.157897] pci 0000:00:02.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    1.170454] pci 0000:00:02.0: supports D1
[    1.178290] pci 0000:00:02.0: PME# supported from D0 D1 D3hot
[    1.191591] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    1.203498] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.217803] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.232128] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.246576] pci 0000:01:00.0: supports D1 D2
[    1.254938] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.268097] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.298847] pci 0000:00:02.0: PCI bridge to [bus 01-ff]
[    1.309145] pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
[    1.321219] pci 0000:00:02.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.334697] pci 0000:00:02.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.349046] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.362217] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
[    1.375309] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.389136] pci 0000:00:02.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.402609] pci 0000:00:02.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.416958] pci 0000:00:02.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    1.430437] pci 0000:00:02.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.442534] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.457916] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.473302] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.488682] pci 0000:00:02.0: PCI bridge to [bus 01]
[    1.498512] pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
[    1.510611] pci 0000:00:02.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.524084] pci 0000:00:02.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.539543] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.553558] printk: console [ttyS0] disabled
[    1.562039] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 14, base_baud = 3125000) is a 16550A
[    1.579996] printk: console [ttyS0] enabled
[    1.596556] printk: bootconsole [early0] disabled
[    1.619451] spi-mt7621 1e000b00.spi: sys_freq: 250000000
[    1.631820] ------------[ cut here ]------------
[    1.641072] WARNING: CPU: 1 PID: 1 at drivers/mtd/spi-nor/core.c:2863 spi_nor_init+0x17c/0x184
[    1.658310] enabling reset hack; may not recover from unexpected reboots
[    1.671652] Modules linked in:
[    1.677744] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.15.148 #0
[    1.689866] Stack : 80c9abf0 80083b94 00000000 00000004 00000000 00000000 8142f964 80a20000
[    1.706514]         80860000 80786210 814528b8 8085ae43 00000000 00000001 8142f910 81450000
[    1.723161]         00000000 00000000 80786210 8142f7b0 ffffefff 00000000 ffffffea 00000000
[    1.739806]         8142f7bc 0000007d 808609f0 ffffffff 80786210 00000001 00000000 80461144
[    1.756449]         00000009 80c9abf0 807d0000 81656c00 00000018 80405128 00000004 80a20004
[    1.773095]         ...
[    1.777955] Call Trace:
[    1.782803] [<80007db4>] show_stack+0x28/0xf0
[    1.791491] [<80379cc0>] dump_stack_lvl+0x60/0x80
[    1.800845] [<8002df2c>] __warn+0x9c/0x124
[    1.809009] [<8002e040>] warn_slowpath_fmt+0x8c/0xac
[    1.818888] [<80461144>] spi_nor_init+0x17c/0x184
[    1.828251] [<804619d8>] spi_nor_scan+0x7a4/0xba0
[    1.837610] [<80462718>] spi_nor_probe+0x94/0x310
[    1.846970] [<804164b8>] really_probe.part.0+0xac/0x354
[    1.857366] [<804169ec>] driver_probe_device+0x4c/0x154
[    1.867761] [<80417044>] __device_attach_driver+0xd0/0x15c
[    1.878676] [<80413fa4>] bus_for_each_drv+0x70/0xb0
[    1.888400] [<80416d68>] __device_attach+0xe0/0x180
[    1.898104] [<80415404>] bus_probe_device+0xa0/0xbc
[    1.907814] [<80412868>] device_add+0x3e4/0x8e0
[    1.916830] [<80481d88>] __spi_add_device+0x80/0x160
[    1.926710] [<80481ec8>] spi_add_device+0x60/0x9c
[    1.936067] [<8048286c>] spi_register_controller+0x7f4/0xb34
[    1.947325] [<804853a8>] mt7621_spi_probe+0x168/0x220
[    1.957380] [<80418ce8>] platform_probe+0x50/0xa4
[    1.966744] [<804164b8>] really_probe.part.0+0xac/0x354
[    1.977138] [<804169ec>] driver_probe_device+0x4c/0x154
[    1.987531] [<8041717c>] __driver_attach+0xac/0x1ac
[    1.997235] [<80413ef8>] bus_for_each_dev+0x68/0xa4
[    2.006943] [<804156d8>] bus_add_driver+0x150/0x238
[    2.016650] [<80417ae4>] driver_register+0x98/0x154
[    2.026353] [<80001644>] do_one_initcall+0x50/0x1b4
[    2.036057] [<808e319c>] kernel_init_freeable+0x26c/0x308
[    2.046816] [<806d2b38>] kernel_init+0x20/0x110
[    2.055856] [<80002ed8>] ret_from_kernel_thread+0x14/0x1c
[    2.066600] 
[    2.069617] ---[ end trace 33de82999dd811dc ]---
[    2.078894] spi-nor spi0.0: w25q256 (32768 Kbytes)
[    2.088560] 4 fixed-partitions partitions found on MTD device spi0.0
[    2.101260] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    2.115857] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    2.130699] Creating 4 MTD partitions on "spi0.0":
[    2.140330] 0x000000000000-0x000000030000 : "u-boot"
[    2.151509] 0x000000030000-0x000000040000 : "u-boot-env"
[    2.163134] 0x000000040000-0x000000050000 : "factory"
[    2.174787] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    2.189903] 0x000000050000-0x000002000000 : "firmware"
[    2.201835] 2 uimage-fw partitions found on MTD device firmware
[    2.213714] Creating 2 MTD partitions on "firmware":
[    2.223612] 0x000000000000-0x0000002baae4 : "kernel"
[    2.233500] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    2.251411] 0x0000002baae4-0x000001fb0000 : "rootfs"
[    2.261342] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    2.280479] mtd: setting mtd5 (rootfs) as root device
[    2.290696] 1 squashfs-split partitions found on MTD device rootfs
[    2.303050] 0x000000700000-0x000001fb0000 : "rootfs_data"
[    2.444058] mtk_soc_eth 1e100000.ethernet: generated random MAC address 82:ea:9b:8d:40:14
[    2.460514] mtk_soc_eth 1e100000.ethernet: generated random MAC address 02:23:98:e5:34:29
[    2.478035] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.497684] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 17
[    2.517031] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 17
[    2.538105] i2c_dev: i2c /dev entries driver
[    2.549470] NET: Registered PF_INET6 protocol family
[    2.562189] Segment Routing with IPv6
[    2.569665] In-situ OAM (IOAM) with IPv6
[    2.577583] NET: Registered PF_PACKET protocol family
[    2.588126] 8021q: 802.1Q VLAN Support v1.8
[    2.601733] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.634500] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.649071] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    2.653634] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=19)
[    2.687148] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=20)
[    2.710090] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=21)
[    2.733018] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=22)
[    2.755726] DSA: tree 0 setup
[    2.768487] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.786822] Freeing unused kernel image (initmem) memory: 1272K
[    2.798701] This architecture does not have kernel memory protection.
[    2.811541] Run /sbin/init as init process
[    2.819705]   with arguments:
[    2.819713]     /sbin/init
[    2.819718]   with environment:
[    2.819723]     HOME=/
[    2.819727]     TERM=linux
[    3.277007] init: Console is alive
[    3.284220] init: - watchdog -
[    4.076492] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.137114] usbcore: registered new interface driver usbfs
[    4.148275] usbcore: registered new interface driver hub
[    4.159024] usbcore: registered new device driver usb
[    4.180114] xhci-mtk 1e1c0000.xhci: supply vbus not found, using dummy regulator
[    4.195336] xhci-mtk 1e1c0000.xhci: supply vusb33 not found, using dummy regulator
[    4.210764] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.221414] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.241493] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    4.259845] xhci-mtk 1e1c0000.xhci: irq 15, io mem 0x1e1c0000
[    4.271516] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.282116] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.297032] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    4.310780] hub 1-0:1.0: USB hub found
[    4.318495] hub 1-0:1.0: 2 ports detected
[    4.327473] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.344559] hub 2-0:1.0: USB hub found
[    4.352137] hub 2-0:1.0: 1 port detected
[    4.366374] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.391373] init: - preinit -
[    5.173961] random: jshn: uninitialized urandom read (4 bytes read)
[    5.286059] random: jshn: uninitialized urandom read (4 bytes read)
[    5.327685] random: jshn: uninitialized urandom read (4 bytes read)
[    5.581369] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.601472] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.603312] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    5.632892] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.795304] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    7.813040] urandom-seed: Seed file not found (/etc/urandom.seed)
[    7.903796] procd: - early -
[    7.909727] procd: - watchdog -
[    8.526564] procd: - watchdog -
[    8.533474] procd: - ubus -
[    8.629628] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.644446] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.657472] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.677461] procd: - init -
[    9.503409] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.538528] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized.
[    9.814504] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[    9.829539] Backport generated by backports.git 193becf2
[   10.085472] pci 0000:00:02.0: enabling device (0006 -> 0007)
[   10.096815] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[   10.256869] mt7915e 0000:01:00.0: Direct firmware load for mediatek/mt7915_rom_patch.bin failed with error -2
[   10.276675] mt7915e 0000:01:00.0: Falling back to sysfs fallback for: mediatek/mt7915_rom_patch.bin
[   10.425560] mt7915e: probe of 0000:01:00.0 failed with error -12
[   10.546959] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.920268] urngd: v1.0.2 started.
[   11.733981] random: jshn: uninitialized urandom read (4 bytes read)
[   11.838732] random: jshn: uninitialized urandom read (4 bytes read)
[   11.892256] random: jshn: uninitialized urandom read (4 bytes read)
[   12.208454] random: crng init done
[   12.215431] random: 38 urandom warning(s) missed due to ratelimiting
[   42.572286] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   42.596179] jffs2_build_filesystem(): unlocking the mtd device... 
[   42.596209] done.
[   42.612500] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   44.298047] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   44.361108] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   44.377181] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   44.402400] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   44.420786] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   44.437948] br-lan: port 1(lan1) entered blocking state
[   44.448499] br-lan: port 1(lan1) entered disabled state
[   44.466728] device lan1 entered promiscuous mode
[   44.476039] device eth0 entered promiscuous mode
[   44.525347] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   44.547636] br-lan: port 2(lan2) entered blocking state
[   44.558226] br-lan: port 2(lan2) entered disabled state
[   44.576890] device lan2 entered promiscuous mode
[   44.625128] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   44.646175] br-lan: port 3(lan3) entered blocking state
[   44.656717] br-lan: port 3(lan3) entered disabled state
[   44.675050] device lan3 entered promiscuous mode
[   44.706885] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   44.727850] br-lan: port 4(lan4) entered blocking state
[   44.738431] br-lan: port 4(lan4) entered disabled state
[   44.757437] device lan4 entered promiscuous mode
[   44.794307] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:04] driver [MediaTek MT7530 PHY] (irq=POLL)
[   44.813309] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   47.511247] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   47.530971] br-lan: port 1(lan1) entered blocking state
[   47.541514] br-lan: port 1(lan1) entered forwarding state
[   47.568837] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  111.546650] done.
[  111.550522] jffs2: notice: (1658) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  111.675740] overlayfs: upper fs does not support tmpfile.
root@OpenWrt:~# lspci
00:02.0 PCI bridge: Device 0e8d:0801 (rev 01)
01:00.0 Unclassified device [0002]: MEDIATEK Corp. MT7915E 802.11ax PCI Express Wireless Network Adapter

root@OpenWrt:~# lsmod
authenc                 3486  2 crypto_hw_eip93,authencesn
authencesn              4050  0 
cfg80211              305525  6 mt7915e,mt76x2_common,mt76x02_lib,mt76_connac_lib,mt76,mac80211
cmac                    2546  0 
compat                   734  2 mac80211,cfg80211
crc_ccitt               1806  0 
crc32c_generic          1458  1 
crypto_hw_eip93        32007  0 
des_generic             1714  0 
drbg                   17714  0 
gpio_button_hotplug     6770  0 
hmac                    2578  0 
hwmon                   9286  1 mt7915e
jitterentropy_rng       7561  0 
leds_gpio               3154  0 
libcrc32c                759  1 nf_tables
libdes                 18229  2 crypto_hw_eip93,des_generic
libsha256               3844  1 sha256_generic
mac80211              634728  5 mt7915e,mt76x2e,mt76x02_lib,mt76_connac_lib,mt76
md5                     4914  0 
mt76                   55988  5 mt7915e,mt76x2e,mt76x2_common,mt76x02_lib,mt76_connac_lib
mt76_connac_lib        43960  1 mt7915e
mt76x02_lib            44140  2 mt76x2e,mt76x2_common
mt76x2_common          12418  1 mt76x2e
mt76x2e                10753  0 
mt7915e               114602  0 
nf_conntrack           75455  7 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nf_nat,nf_flow_table
nf_defrag_ipv4          1441  1 nf_conntrack
nf_defrag_ipv6          6492  1 nf_conntrack
nf_flow_table          23962  4 nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_flow_offload
nf_flow_table_inet       754  0 
nf_flow_table_ipv4       562  0 
nf_flow_table_ipv6       562  0 
nf_log_syslog          10674  0 
nf_nat                 25102  4 nft_redir,nft_nat,nft_masq,nft_chain_nat
nf_reject_ipv4          4127  2 nft_reject_ipv4,nft_reject_inet
nf_reject_ipv6          4612  2 nft_reject_ipv6,nft_reject_inet
nf_tables             179704195 nft_fib_inet,nf_flow_table_ipv6,nf_flow_table_ipv4,nf_flow_table_inet,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_objref,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_counter,nft_chain_nat
nfnetlink               6662  1 nf_tables
nft_chain_nat            978  2 
nft_counter             2418 17 
nft_ct                  7698  4 
nft_fib                 1622  3 nft_fib_inet,nft_fib_ipv6,nft_fib_ipv4
nft_fib_inet             786  0 
nft_fib_ipv4            2165  1 nft_fib_inet
nft_fib_ipv6            2965  1 nft_fib_inet
nft_flow_offload        3602  0 
nft_hash                2514  0 
nft_limit               4178  5 
nft_log                 1970  0 
nft_masq                1906  1 
nft_nat                 2674  0 
nft_numgen              1618  0 
nft_objref              1938  0 
nft_quota               2322  0 
nft_redir               1746  0 
nft_reject              1415  3 nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet
nft_reject_inet         1010  2 
nft_reject_ipv4          754  0 
nft_reject_ipv6          754  0 
nls_base                5466  1 usbcore
seqiv                   1714  0 
sha1_generic            2681  0 
sha256_generic          2557  0 
sha512_generic          9597  0 
usb_common              4063  4 xhci_plat_hcd,xhci_mtk_hcd,xhci_hcd,usbcore
usbcore               156988  4 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd,xhci_hcd
xhci_hcd              116917  3 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd
xhci_mtk_hcd           10351  0 
xhci_pci                4402  0 
xhci_plat_hcd           6194  0

root@OpenWrt:~# opkg
opkg      opkg-key
root@OpenWrt:~# opkg list
base-files - 60-r0-fe0081ee
busybox - 1.36.1-1
ca-bundle - 20240203-1
dnsmasq - 2.89-8
dropbear - 2022.83-1
firewall4 - 2023-11-03-698a5335-1
fstools - 2024-01-22-08cd7083-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2024-01-24-2c5887cb-1
hostapd-common - 2023-09-08-e5ccbfc6-6
iperf3 - 3.16-1
iw - 5.19-1
iwinfo - 2023-11-19-a34977c0-1
jansson4 - 2.14-3
jshn - 2024-01-26-c1be5057-1
jsonfilter - 2024-01-23-594cfa86-1
kernel - 5.15.148-1-e96f75e3c8d42eb21cc19c09237cd0b5
kmod-cfg80211 - 5.15.148+6.6.15-1
kmod-crypto-aead - 5.15.148-1
kmod-crypto-authenc - 5.15.148-1
kmod-crypto-ccm - 5.15.148-1
kmod-crypto-cmac - 5.15.148-1
kmod-crypto-crc32c - 5.15.148-1
kmod-crypto-ctr - 5.15.148-1
kmod-crypto-des - 5.15.148-1
kmod-crypto-gcm - 5.15.148-1
kmod-crypto-gf128 - 5.15.148-1
kmod-crypto-ghash - 5.15.148-1
kmod-crypto-hash - 5.15.148-1
kmod-crypto-hmac - 5.15.148-1
kmod-crypto-hw-eip93 - 5.15.148-1
kmod-crypto-manager - 5.15.148-1
kmod-crypto-md5 - 5.15.148-1
kmod-crypto-null - 5.15.148-1
kmod-crypto-rng - 5.15.148-1
kmod-crypto-seqiv - 5.15.148-1
kmod-crypto-sha1 - 5.15.148-1
kmod-crypto-sha256 - 5.15.148-1
kmod-crypto-sha512 - 5.15.148-1
kmod-gpio-button-hotplug - 5.15.148-3
kmod-hwmon-core - 5.15.148-1
kmod-leds-gpio - 5.15.148-1
kmod-lib-crc-ccitt - 5.15.148-1
kmod-lib-crc32c - 5.15.148-1
kmod-mac80211 - 5.15.148+6.6.15-1
kmod-mt76-connac - 5.15.148+2024-02-03-6124ea91-1
kmod-mt76-core - 5.15.148+2024-02-03-6124ea91-1
kmod-mt76x02-common - 5.15.148+2024-02-03-6124ea91-1
kmod-mt76x2 - 5.15.148+2024-02-03-6124ea91-1
kmod-mt76x2-common - 5.15.148+2024-02-03-6124ea91-1
kmod-mt7915e - 5.15.148+2024-02-03-6124ea91-1
kmod-mt7916-firmware - 5.15.148+2024-02-03-6124ea91-1
kmod-nf-conntrack - 5.15.148-1
kmod-nf-conntrack6 - 5.15.148-1
kmod-nf-flow - 5.15.148-1
kmod-nf-log - 5.15.148-1
kmod-nf-log6 - 5.15.148-1
kmod-nf-nat - 5.15.148-1
kmod-nf-reject - 5.15.148-1
kmod-nf-reject6 - 5.15.148-1
kmod-nfnetlink - 5.15.148-1
kmod-nft-core - 5.15.148-1
kmod-nft-fib - 5.15.148-1
kmod-nft-nat - 5.15.148-1
kmod-nft-offload - 5.15.148-1
kmod-nls-base - 5.15.148-1
kmod-thermal - 5.15.148-1
kmod-usb-core - 5.15.148-1
kmod-usb-xhci-hcd - 5.15.148-1
kmod-usb-xhci-mtk - 5.15.148-1
kmod-usb3 - 5.15.148-1
libatomic1 - 12.3.0-4
libblobmsg-json20240126 - 2024-01-26-c1be5057-1
libc - 1.2.4-4
libgcc1 - 12.3.0-4
libiperf3 - 3.16-1
libiwinfo-data - 2023-11-19-a34977c0-1
libiwinfo20230701 - 2023-11-19-a34977c0-1
libjson-c5 - 0.17-1
libjson-script20240126 - 2024-01-26-c1be5057-1
libkmod - 31-1
libmbedtls12 - 2.28.7-2
libmnl0 - 1.0.5-1
libnftnl11 - 1.2.6-1
libnl-tiny1 - 2023-12-05-965c4bf4-1
libpci - 3.10.0-1
libpthread - 1.2.4-4
libubox20240126 - 2024-01-26-c1be5057-1
libubus20231128 - 2023-11-28-f84eb599-1
libuci20130104 - 2023-08-10-5781664d-1
libuclient20201210 - 2023-04-13-007d9454-1
libucode20230711 - 2024-02-21-ba3855ae-1
libudebug - 2023-12-06-6d3f51f9
libustream-mbedtls20201210 - 2023-11-26-263b9a97-1
logd - 2024-01-24-2c5887cb-1
mtd - 26
netifd - 2024-01-04-f01345ec-1
nftables-json - 1.0.9-1
odhcp6c - 2023-05-12-bcd28363-20
odhcpd-ipv6only - 2023-10-24-d8118f6e-1
openwrt-keyring - 2022-03-25-62471e69-2
opkg - 2022-02-24-d038e5b6-2
pciids - 0.379-1
pciutils - 3.10.0-1
procd - 2024-02-24-1901aba9-1
procd-seccomp - 2024-02-24-1901aba9-1
procd-ujail - 2024-02-24-1901aba9-1
ubi-utils - 2.1.6-1
ubox - 2024-01-24-2c5887cb-1
ubus - 2023-11-28-f84eb599-1
ubusd - 2023-11-28-f84eb599-1
uci - 2023-08-10-5781664d-1
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2024-02-21-ba3855ae-1
ucode-mod-fs - 2024-02-21-ba3855ae-1
ucode-mod-nl80211 - 2024-02-21-ba3855ae-1
ucode-mod-rtnl - 2024-02-21-ba3855ae-1
ucode-mod-ubus - 2024-02-21-ba3855ae-1
ucode-mod-uci - 2024-02-21-ba3855ae-1
ucode-mod-uloop - 2024-02-21-ba3855ae-1
urandom-seed - 3
urngd - 2023-11-01-44365eb1-1
usign - 2020-05-23-f1f65026-1
wifi-scripts - 1.0-1
wireless-regdb - 2024.01.23-1
wpad-basic-mbedtls - 2023-09-08-e5ccbfc6-6
zlib - 1.3.1-1

False alarm the problem was testing against the wrong board the one with AW7915-NPD instead of the AW7916-NPD mounted :-/

The mac address changing at every reboot helped creating the confusion... here the output of relevant commands now that the card seems to work, just in case someone else needs information about this WiFi 6E radio

It behaves as if two indipended phy where installed on the system one on the 2.4GHz
band and one on the 5GHz or 6GHz band, a lot of capabilities are listed too, will look into that later

root@OpenWrt:~# iw list
moved to pastebin because won't fit in a post

root@OpenWrt:~# dmesg 
[    0.000000] Linux version 5.15.148 (gio@g10fl) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r0-c8c2f522) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Mar 4 15:28:57 2024
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:4
[...CUT...]
[   10.253588] pci 0000:00:02.0: enabling device (0000 -> 0003)
[   10.264946] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[   10.526949] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20230202144915a
[   10.526949] 
[   11.050688] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20230202145005
[   11.304390] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20230202143332
[   11.502854] mt7915e 0000:01:00.0: registering led 'mt76-phy0'
[   11.543758] mt7915e 0000:01:00.0: registering led 'mt76-phy1'
[...CUT...]
root@OpenWrt:~# lspci
00:02.0 PCI bridge: Device 0e8d:0801 (rev 01)
01:00.0 Network controller: MEDIATEK Corp. Device 7906