mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
Preparing adding 8821au & 8814au support
This commit is contained in:
parent
e93c18ca09
commit
1b8650bf7e
38
Makefile
38
Makefile
@ -195,6 +195,34 @@ ifeq ($(CONFIG_PCI_HCI), y)
|
||||
HCI_NAME = pci
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_RTL8812A)_$(CONFIG_RTL8821A)_$(CONFIG_RTL8814A), y_n_n)
|
||||
|
||||
EXTRA_CFLAGS += -DDRV_NAME=\"rtl88xxau\"
|
||||
ifeq ($(CONFIG_USB_HCI), y)
|
||||
USER_MODULE_NAME = 88XXau
|
||||
endif
|
||||
ifeq ($(CONFIG_PCI_HCI), y)
|
||||
USER_MODULE_NAME = 88XXae
|
||||
endif
|
||||
ifeq ($(CONFIG_SDIO_HCI), y)
|
||||
USER_MODULE_NAME = 88XXas
|
||||
endif
|
||||
|
||||
else
|
||||
EXTRA_CFLAGS += -DDRV_NAME=\"rtl8812au\"
|
||||
endif
|
||||
|
||||
#ifeq ($(RTL8814), 1)
|
||||
#CONFIG_RTL8812A = n
|
||||
#CONFIG_RTL8821A = n
|
||||
#CONFIG_RTL8814A = y
|
||||
#endif
|
||||
|
||||
#ifeq ($(RTL8821), 1)
|
||||
#CONFIG_RTL8812A = y
|
||||
#CONFIG_RTL8821A = y
|
||||
#CONFIG_RTL8814A = n
|
||||
#endif
|
||||
|
||||
_OS_INTFS_FILES := os_dep/osdep_service.o \
|
||||
os_dep/linux/os_intfs.o \
|
||||
@ -1194,6 +1222,16 @@ ifeq ($(CONFIG_IP_R_MONITOR), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_IP_R_MONITOR
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LED_CONTROL), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LED_CONTROL
|
||||
ifeq ($(RTL8814), 1)
|
||||
EXTRA_CFLAGS += -DCONFIG_SW_LED -DCONFIG_RTW_SW_LED
|
||||
endif
|
||||
ifeq ($(CONFIG_LED_ENABLE), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LED_ENABLE
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_RTW_WIFI_HAL), y)
|
||||
#EXTRA_CFLAGS += -DCONFIG_RTW_WIFI_HAL_DEBUG
|
||||
EXTRA_CFLAGS += -DCONFIG_RTW_WIFI_HAL
|
||||
|
@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl88xxau"
|
||||
PACKAGE_VERSION="5.6.4~20190522"
|
||||
PACKAGE_VERSION="5.6.4~20190530"
|
||||
CLEAN="'make' clean"
|
||||
BUILT_MODULE_NAME[0]=88XXau
|
||||
PROCS_NUM=`nproc`
|
||||
|
@ -22,7 +22,7 @@
|
||||
*/
|
||||
#define AUTOCONF_INCLUDED
|
||||
#define RTL871X_MODULE_NAME "8812AU"
|
||||
#define DRV_NAME "rtl8812au"
|
||||
//#define DRV_NAME "rtl8812au"
|
||||
|
||||
|
||||
#define CONFIG_USB_HCI
|
||||
|
Loading…
Reference in New Issue
Block a user