Realtek 8822CE wifi not working but bluetooth working

Solution 1:

I had the same problem, and I finally found a solution. See here.

In short: it turns out the driver that should support this hardware (rtw88) was available and compatible with this hardware already in kernel > 5.2, but it is not set to recognize this hardware.

To fix the problem I had to compile linux kernel with a small modification to the source code:

Locate the file: ./linux/drivers/net/wireless/realtek/rtw88/pci.c, and edit it. Look for the string '0xC822', and replace it with '0xC82F'