Hi, I'm trying to compile the 8812au driver on the odroid XU4 with kernel odroidxu4-4.9.y with VHT enabled in the Makefile (which is required for 802.11ac), but it fails with some linker error.
diff --git a/drivers/net/wireless/rtl8812au/Makefile b/drivers/net/wireless/rtl8812au/Makefile
index b75aeb1..dcce863 100755
--- a/drivers/net/wireless/rtl8812au/Makefile
+++ b/drivers/net/wireless/rtl8812au/Makefile
@@ -83,7 +83,7 @@ CONFIG_AP_WOWLAN = n
######### Notify SDIO Host Keep Power During Syspend ##########
CONFIG_RTW_SDIO_PM_KEEP_POWER = y
###################### MP HW TX MODE FOR VHT #######################
-CONFIG_MP_VHT_HW_TX_MODE = n
+CONFIG_MP_VHT_HW_TX_MODE = y
###################### Platform Related #######################
CONFIG_PLATFORM_I386_PC = y
CONFIG_PLATFORM_ANDROID_X86 = n
@@ -1016,10 +1016,11 @@ ifeq ($(CONFIG_MP_VHT_HW_TX_MODE), y)
EXTRA_CFLAGS += -DCONFIG_MP_VHT_HW_TX_MODE
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
## For I386 X86 ToolChain use Hardware FLOATING
-EXTRA_CFLAGS += -mhard-float
+EXTRA_CFLAGS += -mfpu=neon -mfloat-abi=softfp
else
## For ARM ToolChain use Hardware FLOATING
-EXTRA_CFLAGS += -mfloat-abi=hard
+EXTRA_CFLAGS += -mfpu=neon -mfloat-abi=softfp
+#-mfloat-abi=softfp
endif
endif
Compilation output:
CC [M] drivers/net/wireless/rtl8812au/hal/phydm/rtl8812a/halphyrf_8812a_ce.o
CC [M] drivers/net/wireless/rtl8812au/hal/phydm/rtl8812a/phydm_regconfig8812a.o
CC [M] drivers/net/wireless/rtl8812au/hal/phydm/rtl8812a/phydm_rtl8812a.o
CC [M] drivers/net/wireless/rtl8812au/hal/phydm/txbf/haltxbfjaguar.o
CC [M] drivers/net/wireless/rtl8812au/platform/platform_ops.o
CC [M] drivers/net/wireless/rtl8812au/core/rtw_mp.o
LD [M] drivers/net/wireless/rtl8812au/8812au.o
Kernel: arch/arm/boot/Image is ready
Building modules, stage 2.
Kernel: arch/arm/boot/zImage is ready
MODPOST 1009 modules
ERROR: "mpt_ProSetPMacTx" [drivers/net/wireless/rtl8812au/8812au.ko] undefined!
scripts/Makefile.modpost:91: recipe for target 'modpost' failed
make[1]: *** [modpost] Error 1
Makefile:1196: recipe for target 'modules' failed
make: *** [modules] Error 2
Does anyone know how to compile the 8812au driver with VHT enabled?
Hi, I'm trying to compile the 8812au driver on the odroid XU4 with kernel odroidxu4-4.9.y with VHT enabled in the Makefile (which is required for 802.11ac), but it fails with some linker error.
Compilation output:
Does anyone know how to compile the 8812au driver with VHT enabled?