diff --git a/package/kernel/rtl88x2bu/Makefile b/package/kernel/rtl88x2bu/Makefile index 8569378788..6f283a666c 100644 --- a/package/kernel/rtl88x2bu/Makefile +++ b/package/kernel/rtl88x2bu/Makefile @@ -11,15 +11,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtl88x2bu PKG_RELEASE:=1 -PKG_SOURCE_URL:=https://github.com/cilynx/rtl88x2bu.git +PKG_SOURCE_URL:=https://github.com/morrownr/88x2bu.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2021-01-21 -PKG_SOURCE_VERSION:=48e7c19c92a77554403e1347447f8e2cfd780228 -PKG_MIRROR_HASH:=2991028fb7bd7e31d041b1e99d0e0d86781fff95fc70e4560ca9fcbe038f063f +PKG_SOURCE_DATE:=2021-11-09 +PKG_SOURCE_VERSION:=47a666315d0a5ff37b53adb48ca21404787565cf +PKG_MIRROR_HASH:=454449d0d11dec7cfc4196899ddbb6cd4851dcc767b7f40e293820952a12b024 PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=LICENSE -PKG_MAINTAINTER:=ElonH PKG_BUILD_PARALLEL:=1 @@ -50,13 +49,10 @@ NOSTDINC_FLAGS = \ EXTRA_CFLAGS:= \ -DRTW_SINGLE_WIPHY \ -DRTW_USE_CFG80211_STA_EVENT \ - -DCONFIG_RADIO_WORK \ -DCONFIG_IOCTL_CFG80211 \ -DCONFIG_CONCURRENT_MODE EXTRA_KCONFIG:= \ - CONFIG_POWER_SAVING=n \ - CONFIG_RTW_DEBUG=y \ CONFIG_RTL8822BU=m \ USER_MODULE_NAME=rtl88x2bu diff --git a/package/kernel/rtl88x2bu/patches/010-remove-repeat-flies.patch b/package/kernel/rtl88x2bu/patches/010-remove-repeat-flies.patch index 51bbd8d3e0..67cfa1d87a 100644 --- a/package/kernel/rtl88x2bu/patches/010-remove-repeat-flies.patch +++ b/package/kernel/rtl88x2bu/patches/010-remove-repeat-flies.patch @@ -27,8 +27,8 @@ index 0d20a7e..f0a9f88 100644 +#include +#include "rtl_autoconf.h" #include "hal_ic_cfg.h" - #if defined(PLATFORM_LINUX) && defined (PLATFORM_WINDOWS) + #define CONFIG_RSSI_PRIORITY diff --git a/include/linux/wireless.h b/include/linux/old_unused_rtl_wireless.h similarity index 100% rename from include/linux/wireless.h diff --git a/package/kernel/rtl88x2bu/patches/020-change-value-of-vht-enable-and-usb-mode.patch b/package/kernel/rtl88x2bu/patches/020-change-value-of-vht-enable-and-usb-mode.patch new file mode 100644 index 0000000000..2944a514cf --- /dev/null +++ b/package/kernel/rtl88x2bu/patches/020-change-value-of-vht-enable-and-usb-mode.patch @@ -0,0 +1,20 @@ +--- a/os_dep/linux/os_intfs.c ++++ b/os_dep/linux/os_intfs.c +@@ -309,7 +309,7 @@ int rtw_bfee_rf_number = 0; /*BeamformeeCapRfNum Rf path number, 0 for auto, ot + #endif /* CONFIG_80211N_HT */ + + #ifdef CONFIG_80211AC_VHT +-int rtw_vht_enable = 1; /* 0:disable, 1:enable, 2:force auto enable */ ++int rtw_vht_enable = 2; /* 0:disable, 1:enable, 2:force auto enable */ + module_param(rtw_vht_enable, int, 0644); + + int rtw_ampdu_factor = 7; +@@ -392,7 +392,7 @@ int rtw_drv_ant_band_switch = 1; /* 0:OFF , 1:ON, Driver control antenna band sw + int rtw_single_ant_path; /*0:main ant , 1:aux ant , Fixed single antenna path, default main ant*/ + + /* 0: doesn't switch, 1: switch from usb2.0 to usb 3.0 2: switch from usb3.0 to usb 2.0 */ +-int rtw_switch_usb_mode = 0; ++int rtw_switch_usb_mode = 1; + + #ifdef CONFIG_USB_AUTOSUSPEND + int rtw_enusbss = 1;/* 0:disable,1:enable */