you should clone in this way:
code:
- git clone https://github.com/rdm-dev/rtl8189ES_linux.git
- cd rtl8189ES_linux/
- git checkout 52ee6388111fbaf990ec60e93b086cafa6cc373a
Makefile settings:
CONFIG_80211W - not sure, probably not needed
CONFIG_WIFI_MONITOR = y
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_SUN8I_W5P1 = y (actually, W5P1 and W3P1 are not appropriate, that's why you need to copy file in next step)
then copy platform_ARM_SUNnI_sdio.c from original kernel source (drivers/net/wireless/rtl8189es/platform) to platform folder. You don't need to enable anything to be build as a module.
H3 is ARCH_SUN8IW7.
You can build everything with just:
code:
- make KSRC=<kernel header path>
where <kernel header path> is path to kernel headers, obviously.