I'm running OpenWrt 25.12.5 on a Raspberry Pi 5. The Pi has an additional hat that has a 2.5Gbit ethernet adapter that I have configured as the LAN with the Pi's original adapter connected to my ISP's modem for internet. This is working fine. The hat also has a slot for a WiFi module in which I have installed a Realtek RTL8822CE.
I have installed both kmod-rtw88-8822ce and rtl8822ce-firmware. However after a reboot the WiFi module does not show under Network > Wireless in Luci. Only the Pi's built in Cypress module is displayed.
If I ssh in, lspci displays the device:-
...
0001:03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
...
However dmesg displays the issue:-
...
[ 9.464221] rtw88_8822ce 0001:03:00.0: enabling device (0000 -> 0002)
[ 9.471195] rtw88_8822ce 0001:03:00.0: failed to allocate tx ring
[ 9.477707] rtw88_8822ce 0001:03:00.0: failed to allocate pci resources
[ 9.484792] rtw88_8822ce 0001:03:00.0: failed to setup pci resources
[ 9.493997] rtw88_8822ce 0001:03:00.0: Firmware version 9.9.15, H2C version 15
[ 9.501697] rtw88_8822ce 0001:03:00.0: WOW Firmware version 9.9.4, H2C version 15
[ 9.501721] rtw88_8822ce 0001:03:00.0: probe with driver rtw88_8822ce failed with error -12
...
I really have no idea how to proceed from this point. I don't think it is a hardware issue as I tried RaspAP previously and was able to use the second WiFi module. But RaspAP did not have the features I required, hence switching to OpenWrt.
Any help would be appreciated.