SHA256
1
0
forked from pool/rtl8812au

Compare commits

..

2 Commits

6 changed files with 48 additions and 8 deletions

View File

@ -0,0 +1,29 @@
diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c
index e5176da..939cf04 100644
--- a/os_dep/linux/ioctl_cfg80211.c
+++ b/os_dep/linux/ioctl_cfg80211.c
@@ -6901,6 +6901,9 @@ static void rtw_get_chbwoff_from_cfg80211_chan_def(
static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
+ , struct net_device *netdevice
+#endif
, struct cfg80211_chan_def *chandef
#else
, struct ieee80211_channel *chan
diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
index 1c2fd22..6b1e5b6 100644
--- a/os_dep/linux/os_intfs.c
+++ b/os_dep/linux/os_intfs.c
@@ -31,8 +31,8 @@ MODULE_VERSION(DRIVERVERSION);
* This declaration was created to resolve an error on Rockchip.
* You can modify or add flags in the fs/Makefile.
*/
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)
- MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0)
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
#endif
/* module param defaults */

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5e1fbfedad800d157c1ebf086ca00f76bcf5108da1617bf483b95bd5a374c5d
size 33120781

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33dd8221ec4f5a83789ff33e4ae7744f9b27d2814b71bd36c0e4be8690d056f1
size 33124365

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 31 01:58:20 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
- Add patch fixing Linux 6.13 build:
fix-linux-6.13-build.patch
- Update to latest revision git20241117
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 26 06:55:40 UTC 2024 - Konstantin Voinov <kv@kott.no-ip.biz> Sun May 26 06:55:40 UTC 2024 - Konstantin Voinov <kv@kott.no-ip.biz>

View File

@ -1,4 +1,4 @@
name: rtl8812au name: rtl8812au
version: 5.13.6+git20240429.cbe2fd6 version: 5.13.6+git20241117.ad90dfb
mtime: 1714434722 mtime: 1731879017
commit: cbe2fd6682c6eca5e8b527ddc0c1bede282b637a commit: ad90dfb072ed4aed0703f1209272195214fb4300

View File

@ -1,7 +1,7 @@
# #
# spec file for package rtl8812au # spec file for package rtl8812au
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!kernel_module_directory:%define kernel_module_directory /lib/modules} %{?!kernel_module_directory:%define kernel_module_directory /lib/modules}
Name: rtl8812au Name: rtl8812au
Version: 5.13.6+git20240429.cbe2fd6 Version: 5.13.6+git20241117.ad90dfb
Release: 0 Release: 0
Summary: Kernel driver for Realtek 802.11ac 8812au wifi cards Summary: Kernel driver for Realtek 802.11ac 8812au wifi cards
License: GPL-2.0-only License: GPL-2.0-only
@ -35,6 +35,8 @@ Patch0: fix-backported-ndo_select_queue.patch
Patch1: fix-backported-update_mgmt_frame_registrations.patch Patch1: fix-backported-update_mgmt_frame_registrations.patch
# PATCH-FIX-OPENSUSE fix-15.6.patch # PATCH-FIX-OPENSUSE fix-15.6.patch
Patch2: fix-15.6.patch Patch2: fix-15.6.patch
# PATCH-FIX-OPENSUSE fix-linux-6.13-build.patch
Patch3: fix-linux-6.13-build.patch
BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: %{kernel_module_package_buildreqs}
BuildRequires: bc BuildRequires: bc
BuildRequires: binutils BuildRequires: binutils
@ -80,6 +82,8 @@ https://github.com/maurossi/rtl8812au/ .
%patch -P 2 -p1 %patch -P 2 -p1
%endif %endif
%patch -P 3 -p1
set -- * set -- *
mkdir source mkdir source
mv "$@" source/ mv "$@" source/