mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 15:44:18 +00:00
Odroid C2 fix + minor cleanup
This commit is contained in:
parent
a8cd963ea5
commit
d628a7441c
4
Makefile
4
Makefile
@ -1068,7 +1068,7 @@ EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/aarch64/arm64/ )
|
||||
ARCH ?= $(SUBARCH)
|
||||
CROSS_COMPILE ?=
|
||||
KVER ?= $(shell uname -r)
|
||||
@ -1814,7 +1814,7 @@ ARCH := arm
|
||||
CROSS_COMPILE := /home/android_sdk/Telechips/v13.05_r1-tcc-android-4.2.2_tcc893x-evm_build/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
|
||||
KSRC := /home/android_sdk/Telechips/v13.05_r1-tcc-android-4.2.2_tcc893x-evm_build/kernel
|
||||
MODULE_NAME := wlan
|
||||
endif
|
||||
endif
|
||||
|
||||
# ARM64 - odroid-c2 and such
|
||||
ifeq ($(CONFIG_PLATFORM_ARM64), y)
|
||||
|
@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl88xxau"
|
||||
PACKAGE_VERSION="5.1.5~20180506"
|
||||
PACKAGE_VERSION="5.1.5~20180513"
|
||||
CLEAN="make clean"
|
||||
BUILT_MODULE_NAME[0]=8812au
|
||||
DEST_MODULE_LOCATION[0]="/updates"
|
||||
|
@ -921,7 +921,7 @@ static int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_pa
|
||||
param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) {
|
||||
if (param->u.crypt.idx >= WEP_KEYS
|
||||
#ifdef CONFIG_IEEE80211W
|
||||
&& param->u.crypt.idx >= BIP_MAX_KEYID
|
||||
|| param->u.crypt.idx >= BIP_MAX_KEYID
|
||||
#endif /* CONFIG_IEEE80211W */
|
||||
) {
|
||||
ret = -EINVAL;
|
||||
@ -1629,14 +1629,6 @@ static int cfg80211_rtw_set_default_key(struct wiphy *wiphy,
|
||||
|
||||
}
|
||||
|
||||
static int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy,
|
||||
struct net_device *ndev, u8 key_index
|
||||
)
|
||||
{
|
||||
RTW_INFO(FUNC_NDEV_FMT " key index: %d\n", FUNC_NDEV_ARG(ndev), key_index);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0))
|
||||
static int cfg80211_rtw_set_rekey_data(struct wiphy *wiphy,
|
||||
struct net_device *ndev,
|
||||
@ -6567,9 +6559,6 @@ static struct cfg80211_ops rtw_cfg80211_ops = {
|
||||
.get_key = cfg80211_rtw_get_key,
|
||||
.del_key = cfg80211_rtw_del_key,
|
||||
.set_default_key = cfg80211_rtw_set_default_key,
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30))
|
||||
.set_default_mgmt_key = cfg80211_rtw_set_default_mgmt_key,
|
||||
#endif
|
||||
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0))
|
||||
.set_rekey_data = cfg80211_rtw_set_rekey_data,
|
||||
#endif /*CONFIG_GTK_OL*/
|
||||
|
Loading…
Reference in New Issue
Block a user