I have been running into some problems getting a stable performance from my AsiaRF AW7915-NPD card, ever since kernel version 5.15 (which was the last working version for me).
That being said, this isn't a problem, specific to OpenWrt, but to any distro using kernel past 5.15.
I lack the skills and knowledge (and perhaps the tools) to diagnose what exactly is causing this but you can see my other thread (which at this point is a few years old).
I have tried downloading different eeprom but I have my doubts that anything in /lib/firmware/mediatek/ is actually used by the driver, or maybe the driver is using some other EEPROM, or maybe there is a race condition somewhere during the initialization because sometimes, like 1 out of 15 reboots, the card works, but when it works, it is actually very stable.
The rest of the reboots, I get random crashes, freezes, kernel panics within a minute or two after booting up to OpenWrt, sometimes it does not crash but the card still fails to work - all this happens more than 90% of the time.
I am still unsure what is causing this but as a part of my wider investigation, I have been somewhat fixated that it must be the driver not loading the correct eeprom because I have compared:
/sys/kernel/debug/ieee80211/phy0/mt76/eeprom
with
/lib/firmware/mediatek/mt7915_eeprom.bin
and they appear to be different. They differ even when the card boots properly.
I suspect there might be an eeprom on the card itself which the driver reads, meaning that any custom firmware in /lib/firmware/mediatek/ gets skipped.
My question is: should there be any difference in the eeproms, i.e. how does the mt76 driver work with mt7915e and most importantly, how do I guarantee that the correct eeprom gets loaded?