OpenWRT with Raspberrypi5 and MiniPCIe wifi module

Hi,
I am trying to add an external WIFI module to the raspberry pi 5 with Openwrt firmware flashed.
Hardware used:
Raspberry pi 5.
Waveshare HAT module.
Waveshare PCIe TO MiniPCIe HAT+ module
Mikrotik R11e-2HPnD wifi module.
Problem:
When I try to detect the module using lspci command the hardware is not detected. Actually it should be plug and play.
I even enabled pcie interface in config file but to no avail.

Thanks,

does it work with the vanilla Raspberry OS ?

check if MediaTek 7915e Not Functional on Latest Snapshot applies here too.

1 Like

Are you sure the pcie cable is correctly plugged? Afaik there is a production error on the cable and it should be installed reversed. (Don't ask me how I know that -.-)

:open_mouth:

@Ansuel I tried reversing the cable but the pow led on HAT didnt glow which glowed in default also the wifi module led glows in default and not in reversed

can you post a picture of the module and cable?

@ANSUEL

need to remove the card, bruh ....

also is the hat correctly detected and configured? It’s a bit off topic to openwrt but I have a raspberry 5 and used the same pcie module hat so I’m more than happy to help. The pcie card should be at least detected so it’s either a problem of the cable or the configuration.

@Ansuel

root@OpenWrt:~# lspci
00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
root@OpenWrt:~#

And also does your led1 and led2 glow on hat when powered on.