I recently bought a MediaTek MT7916 for use in a wireless router that I am building. Unfortunately, I'm having issues getting the card detected by OpenWRT. Here's a list of the troubleshooting steps I've taken. Most are hardware-related but I have done some software-related shenanigans based on my level of expertise, all of which have failed:
Put the card in another slot on the motherboard
Swapped out the MT7916 for another MT7916
Swapped out the adapter card for another adapter card
Installed the MT-7916 firmware
I don't know if its a hardware-related issue but I feel I'd have to get VERY unlucky to get two dead cards in a row.
I sshed into the router (firrst time I've ever sshed into something I might add) and installed the programs that allow you to do lspci. I don't see the wifi card on the list, however. It's plugged in though.
Hmmmm... I don't know if that is going to be a factor. It's a different motherboard than what I'm using at home but a PCI Express slot can, if built to proper spec, provide up to 9.9W of power alone to a 1x card, (3.3V at 3A). This exceeds the 9W that the card can theoretically draw. That said, definitely possible.
True, however, a regular PCIe x2 slot provides up to 4 pins with +3.3V (and 9? ground pins on a quick count). If the adapter, in the assumption that mPCIe typically needs only about max. 1A doesn't connect all of them, it depends on how the pins are connected on the board, conductivity of the connector, ...
I installed OpenWRT master on a virtual machine running in Proxmox and the card it detected inside the VM when using lspci, also I see the firmware and the modules are loaded but I do not see any network interfaces.
I tried both with the 5.15 kernel and 6.1 testing kernel and results are the same. Curiously when I use the same card on an Archlinux VM in Proxmox runing on kernel 6.6 it is detected and I'm able to see the two interfaces since it is a DBDC card.
Could it be that the OpenWRT kernel does not have full support yet for this MT7916 chip ?
I just tested and booted OpenWRT from an USB stick (directly on bare metal) and the result is the same. The Wifi card is detected I see the modules are loaded but I cannot see any wlan interface being shown.
Also as I mentioned in my previous post on another VM running Archlinux kernel 6.6.2 same hardware the card is detected and I see 2 wifi interfaces.