I've been breaking my brains trying to compile a rtl8192eu driver from Github for the ipq40xx platform. I have a Fritzbox 4040 and use the USB port with a wireless dongle in client mode. The rtl8xxx drivers don't work properly; I can scan for APs but can't connect to anything.
I've compiled this driver on both x86 and arm and it works great and was wondering how I could add the driver in the OpenWrt build system. I've compiled from scratch numerous times but never tried to cross compile drivers/modules from Github.
I used another wireless driver included with OpenWrt as package as example and modified the Makefile but the build always fails. I've spend a few days trying and compiling but kept failing and trying to fix the errors gave me a headache and I had to give up.
Really hoping someone here is willing and able to help me add the driver and build it for the Fritzbox 4040. I'm no programmer so I need someone to ELI5 certain things. I do have some experience compiling kernels and tinkering like that but thats where it stops.
Driver: https://github.com/clnhub/rtl8192eu-linux
Example used: https://github.com/openwrt/openwrt/tree/openwrt-19.07/package/kernel/rtl8812au-ct