Unable to start mediatec wireless interface mt7615

the device won't start and this is what I found in the kernel log
mt7615e 0000:00:10.0: Firmware is not ready for download

the packages related to that card that I installed were
kmod-mt7615-common
kmod-mt7615-firmware
kmod-mt7615e
kmod-mt76-connac

Does anyone have a suggestion what I can try next?

this is what I found in the syslog after trying to start the device

Wed Nov 24 14:43:36 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Wed Nov 24 14:43:36 2021 daemon.err hostapd: Could not set interface wlan0 flags (UP): I/O error
Wed Nov 24 14:43:36 2021 daemon.err hostapd: nl80211: Could not set interface 'wlan0' UP
Wed Nov 24 14:43:36 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Wed Nov 24 14:43:36 2021 daemon.err hostapd: nl80211 driver initialization failed.
Wed Nov 24 14:43:36 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Wed Nov 24 14:43:36 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Wed Nov 24 14:43:36 2021 daemon.notice netifd: radio0 (7818): Command failed: Invalid argument
Wed Nov 24 14:43:36 2021 daemon.notice netifd: radio0 (7818): Device setup failed: HOSTAPD_START_FAILED
Wed Nov 24 14:43:51 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Wed Nov 24 14:43:51 2021 daemon.err hostapd: Could not set interface wlan0 flags (UP): I/O error
Wed Nov 24 14:43:51 2021 daemon.err hostapd: nl80211: Could not set interface 'wlan0' UP
Wed Nov 24 14:43:51 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Wed Nov 24 14:43:51 2021 daemon.err hostapd: nl80211 driver initialization failed.
Wed Nov 24 14:43:51 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Wed Nov 24 14:43:51 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Wed Nov 24 14:43:51 2021 daemon.notice netifd: radio0 (8066): Command failed: Invalid argument
Wed Nov 24 14:43:51 2021 daemon.notice netifd: radio0 (8066): Device setup failed: HOSTAPD_START_FAILED

what, where, how did you install ?

openwrt runs in a VM x64.
I installed related mediatec firmware using the software menu in luci
also I installed hostapd for the wireless encryption

if it's a VM, are you sure the mt7615 is exposed correctly towards openwrt ... ?
if you boot openwrt from an USB flash drive, on the same HW, does the radio work ?

I believe it is correctly passed through as the host is now using the vfio-pci drivers rather than the mediatec one

this is the output from lspci -v on the host

2c:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7615 (prog-if 80)
        Subsystem: Device 7615:14c3
        Flags: bus master, fast devsel, latency 0, IRQ 132, IOMMU group 31
        Memory at f7b00000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Power Management version 3
        Capabilities: [80] Express Endpoint, MSI 01
        Capabilities: [100] Virtual Channel
        Kernel driver in use: vfio-pci
        Kernel modules: mt7615e

and this is how it is listed in the vm

00:10.0 Unclassified device [0002]: MEDIATEK Corp. Device 7615 (prog-if 80)
	Subsystem: Device 7615:14c3
	Physical Slot: 16
	Flags: bus master, fast devsel, latency 0, IRQ 65
	Memory at fc400000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Endpoint, MSI 01
	Kernel driver in use: mt7615e

I did not try yet with a usb flash drive. Hopefully there are some other things to explore first before I have to take that system offline as it will disturb the users

I have a new lead.
daemon.notice netifd: radio0 (6671): ls: /sys/class/ieee80211: No such file or directory
after digging online somehow compat-wireless is missing. digging more I checked if I had kmod-mac80211 installed but it is. maybe reinstall that?
Can I try something else?