mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-12-01 17:32:04 +00:00
Merge pull request #244 from kimocoder/v5.2.20
Add support for RPI 3 Model B+ and other ARM64 chipsets
This commit is contained in:
commit
67e27a15be
23
Makefile
23
Makefile
@ -116,6 +116,7 @@ CONFIG_MP_VHT_HW_TX_MODE = y
|
|||||||
###################### Platform Related #######################
|
###################### Platform Related #######################
|
||||||
CONFIG_PLATFORM_I386_PC = y
|
CONFIG_PLATFORM_I386_PC = y
|
||||||
CONFIG_PLATFORM_ARM_RPI = n
|
CONFIG_PLATFORM_ARM_RPI = n
|
||||||
|
CONFIG_PLATFORM_ARM64_RPI = n
|
||||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||||
CONFIG_PLATFORM_JB_X86 = n
|
CONFIG_PLATFORM_JB_X86 = n
|
||||||
@ -1086,6 +1087,17 @@ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
|||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM64_RPI), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
ARCH ?= arm64
|
||||||
|
CROSS_COMPILE ?=
|
||||||
|
KVER ?= $(shell uname -r)
|
||||||
|
KSRC := /lib/modules/$(KVER)/build
|
||||||
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
|
INSTALL_PREFIX :=
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_NV_TK1), y)
|
ifeq ($(CONFIG_PLATFORM_NV_TK1), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NV_TK1
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NV_TK1
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
@ -1109,6 +1121,17 @@ KSRC :=/mnt/newdisk/android_sdk/nvidia_tk1/android_L/out/target/product/shieldta
|
|||||||
MODULE_NAME = wlan
|
MODULE_NAME = wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM64), y)
|
||||||
|
ARCH := arm64
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
CROSS_COMPILE := aarch64-linux-gnu-
|
||||||
|
KVER ?= $(shell uname -r)
|
||||||
|
KSRC := /lib/modules/$(KVER)/build
|
||||||
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
|
INSTALL_PREFIX :=
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
|
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
|
||||||
#ARCH := arm
|
#ARCH := arm
|
||||||
|
@ -43,6 +43,13 @@ For Raspberry (RPI)
|
|||||||
```
|
```
|
||||||
sudo apt-get install raspberrypi-kernel-headers
|
sudo apt-get install raspberrypi-kernel-headers
|
||||||
```
|
```
|
||||||
|
|
||||||
|
or, on Raspberry Pi 3 Model B+
|
||||||
|
```
|
||||||
|
CONFIG_PLATFORM_I386_PC = n
|
||||||
|
CONFIG_PLATFORM_ARM64_RPI = y
|
||||||
|
```
|
||||||
|
|
||||||
For setting monitor mode
|
For setting monitor mode
|
||||||
1. Fix problematic interference in monitor mode.
|
1. Fix problematic interference in monitor mode.
|
||||||
```
|
```
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.2.20.2~20181107"
|
PACKAGE_VERSION="5.2.20.2~20181213"
|
||||||
CLEAN="'make' clean"
|
CLEAN="'make' clean"
|
||||||
BUILT_MODULE_NAME[0]=88XXau
|
BUILT_MODULE_NAME[0]=88XXau
|
||||||
PROCS_NUM=`nproc`
|
PROCS_NUM=`nproc`
|
||||||
|
Loading…
Reference in New Issue
Block a user