Android 12 how to add drivers

The Radxa guide to build AOSP doesn’t have the RTL8852BE drivers installed,
The kernel only has the RTL8852BU version. Ive copied over the correct source files, and selected RTL8852BE in ‘make menuconfig’ to be built as a module, (Selecting it to be built into the kernel introduces error, same goes for RTL8852BU, it also has to be built as a module)

1.The RTL8852BE.so file is compiles correctly but not included into the update.img
2. when I copy the file over to the device and run insmod it fails to load correctly

insmod 8852be.ko
[ 69.515930][ T315] type=1400 audit(1677961417.563:105): avc: denied { module_load } for comm=“insmod” path="/storage/592B-C92C/8852be.ko" dev=“fuse” ino=1048728 scontext=u:r:su:s0 tcontext=u:object_r:fuse:s0 tclass=system permissive=1
[ 74.857127][ T1999]
[ 74.857216][ T1999] =======================================================
[ 74.857227][ T1999] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[ 74.857236][ T1999] =======================================================
[ 74.857246][ T1999] Realtek 8852BU USB WiFi driver (Powered by Rockchip) init.
[ 74.857257][ T1999] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 74.857268][ T1999] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 74.963285][ T1999] [WLAN_RFKILL]: wifi turn on power [GPIO20-1]
[ 74.964170][ T1999] rtl8852be 0002:21:00.0: enabling device (0000 -> 0003)
[ 75.284216][ T1999] eric-tx CALL alloc_txring !!!
[ 75.284848][ T1999] eric-tx CALL alloc_txring !!!
[ 75.285436][ T1999] eric-tx CALL alloc_txring !!!

The card does work as ive been using it with the Radxa supplied image fine

Any ideas? thanks

the android images have rtl8852be kernel modules build in . so it is total useless what your doing .

it is just your rtl8852be card proberly from a laptop wich have diffrent device id

and the rtl8852bu is not compiled at a 5b android image

the card is the official one brought from Radxa

here is the what i have saved in the modules folder

ls /vendor/lib/modules/
8852bu.ko cyw43455.ko cyw5557x_pcie.ko modules.dep r8125.ko
bcmdhd.ko cyw54591_pcie.ko cyw5557x_sdio.ko modules.load r8168.ko
cyw43438.ko cyw54591_sdio.ko modules.alias modules.softdep

and connected devices found on PCI bus

lspci
21:00.0 Class 0280: 10ec:b852
20:00.0 Class 0604: 1d87:3588
41:00.0 Class 0200: 10ec:8125
40:00.0 Class 0604: 1d87:3588

as you can see, it has defiantly built the 8852bu module

aosp from the guide builds just fine