diff --git a/package/kernel/rtl8192eu/Makefile b/package/kernel/rtl8192eu/Makefile index 55f38bdbfc..4b70495743 100644 --- a/package/kernel/rtl8192eu/Makefile +++ b/package/kernel/rtl8192eu/Makefile @@ -1,20 +1,17 @@ +# SPDX-License-Identifier: GPL-3.0-only # -# Copyright (C) 2021 ImmortalWrt -# -# This is free software, licensed under the GNU General Public License v3. -# See /LICENSE for more information. -# +# Copyright (C) 2021 ImmortalWrt.org include $(TOPDIR)/rules.mk PKG_NAME:=rtl8192eu -PKG_RELEASE:=1 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE_URL:=https://github.com/Mange/rtl8192eu-linux-driver.git PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2021-05-12 -PKG_SOURCE_VERSION:=546419675335bb80d4548e22ccef915573a5a1e2 -PKG_MIRROR_HASH:=a425a934d973aad20bc51ab2d1131bb81d2c6ebab687a029310e78cf9c81c4f3 +PKG_SOURCE_DATE:=2021-10-23 +PKG_SOURCE_VERSION:=744bbe52976e51895fce2c1d4075f97a98dca2b2 +PKG_MIRROR_HASH:=8624216a6dabfdfcde122b5f05da5cafae621a165c7b88c6f9cc6e451c000f58 PKG_BUILD_PARALLEL:=1 diff --git a/package/kernel/rtl8192eu/patches/010-disable-default-build-x86.patch b/package/kernel/rtl8192eu/patches/010-disable-default-build-x86.patch index 861f241000..06c58f46ab 100644 --- a/package/kernel/rtl8192eu/patches/010-disable-default-build-x86.patch +++ b/package/kernel/rtl8192eu/patches/010-disable-default-build-x86.patch @@ -1,6 +1,6 @@ --- a/Makefile +++ b/Makefile -@@ -124,7 +124,7 @@ CONFIG_MP_VHT_HW_TX_MODE = n +@@ -119,7 +119,7 @@ CONFIG_MP_VHT_HW_TX_MODE = n ###################### Platform Related ####################### CONFIG_PLATFORM_ARM_RPI = n CONFIG_PLATFORM_ARM_AARCH64 = n diff --git a/package/kernel/rtl8192eu/patches/030-wireless-5.8.patch b/package/kernel/rtl8192eu/patches/030-wireless-5.8.patch index ea5260c65a..4f486fdd78 100644 --- a/package/kernel/rtl8192eu/patches/030-wireless-5.8.patch +++ b/package/kernel/rtl8192eu/patches/030-wireless-5.8.patch @@ -1,6 +1,15 @@ --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c -@@ -7484,7 +7484,7 @@ exit: +@@ -439,7 +439,7 @@ u8 rtw_cfg80211_ch_switch_notify(_adapte + + #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) + if (started) { +-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0)) ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) || defined(BUILD_OPENWRT)) + cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, false); + #else + cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0); +@@ -7456,7 +7456,7 @@ exit: return ret; } @@ -9,7 +18,7 @@ static void cfg80211_rtw_mgmt_frame_register(struct wiphy *wiphy, #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)) struct wireless_dev *wdev, -@@ -9948,7 +9948,7 @@ static struct cfg80211_ops rtw_cfg80211_ops = { +@@ -9920,7 +9920,7 @@ static struct cfg80211_ops rtw_cfg80211_ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE) .mgmt_tx = cfg80211_rtw_mgmt_tx,