Try to recompile the driver with Linux-Kernel 6.1 (Armbian 23.02.0-trunk.0005 Kinetic) , with 5.xx it worked perfect.
Linux astrodroid 6.1.0-rc5-rk3568-odroid #trunk.0005 SMP PREEMPT Sun Dec 4 03:16:10 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
CC [M] /home/astrodroid/rtl8812au/core/efuse/rtw_efuse.o
CC [M] /home/astrodroid/rtl8812au/os_dep/osdep_service.o
/home/astrodroid/rtl8812au/os_dep/osdep_service.c: In function ‘rtw_random32’:
/home/astrodroid/rtl8812au/os_dep/osdep_service.c:2591:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
2591 | return prandom_u32();
| ^~~~~~~~~~~
| prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:250: /home/astrodroid/rtl8812au/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1992: /home/astrodroid/rtl8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-rc5-rk3568-odroid'
Try to recompile the driver with Linux-Kernel 6.1 (Armbian 23.02.0-trunk.0005 Kinetic) , with 5.xx it worked perfect.