Compare commits

..

No commits in common. "69e8fbdef264ead337863d60df178765e2cbeed4" and "23dafacc8a13586070b2b7e2b82f04548e037e1b" have entirely different histories.

5 changed files with 32 additions and 11 deletions

View File

@ -1,7 +1,7 @@
pkgbase = openhd-git
pkgdesc = Open-source digital FPV system
pkgver = 2.6.0.r31.gc762b40
pkgrel = 3
pkgver = 2.6.0.r9.g6360d3f
pkgrel = 2
url = https://openhdfpv.org
arch = any
license = GPL3
@ -13,7 +13,6 @@ pkgbase = openhd-git
depends = gst-plugin-libcamera
depends = libpcap
depends = libsodium
depends = poco
depends = sdl2
depends = sudo
depends = v4l-utils

View File

@ -2,13 +2,13 @@
pkgname=openhd-git
_reponame=OpenHD
pkgver=2.6.0.r31.gc762b40
pkgrel=3
pkgver=2.6.0.r9.g6360d3f
pkgrel=2
pkgdesc='Open-source digital FPV system'
arch=(any)
url='https://openhdfpv.org'
license=(GPL3)
depends=(gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-plugin-libcamera libpcap libsodium poco sdl2 sudo v4l-utils)
depends=(gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-plugin-libcamera libpcap libsodium sdl2 sudo v4l-utils)
makedepends=(cmake git)
optdepends=(
'rtl88x2bu-openhd-dkms-git: driver for RTL88x2BU Wi-Fi cards'

View File

@ -1,7 +1,7 @@
pkgbase = rtl8812au-openhd-dkms-git
pkgdesc = Realtek RTL88xxAU WiFi USB driver (with OpenHD patches)
pkgver = 5.2.20.2.r878.gc070e02
pkgrel = 6
pkgrel = 5
url = https://github.com/OpenHD/rtl8812au
arch = any
license = GPL2
@ -9,6 +9,8 @@ pkgbase = rtl8812au-openhd-dkms-git
depends = dkms
depends = bc
source = git+https://github.com/OpenHD/rtl8812au.git
source = fix-6.9.0-build.patch
sha256sums = SKIP
sha256sums = a527f89fecb9fbf8249e2e72859560f4381376873bb8a408047870df07a8d79b
pkgname = rtl8812au-openhd-dkms-git

View File

@ -2,23 +2,28 @@
pkgname=rtl8812au-openhd-dkms-git
_modname=88XXau_ohd
pkgver=5.2.20.2.r899.gcf0a55a
pkgver=5.2.20.2.r878.gc070e02
_pkgver=5.2.20.2
pkgrel=1
pkgrel=5
pkgdesc='Realtek RTL88xxAU WiFi USB driver (with OpenHD patches)'
arch=(any)
url='https://github.com/OpenHD/rtl8812au'
license=(GPL2)
depends=('dkms' 'bc')
makedepends=('git')
source=('git+https://github.com/OpenHD/rtl8812au.git')
sha256sums=('SKIP')
source=('git+https://github.com/OpenHD/rtl8812au.git' 'fix-6.9.0-build.patch')
sha256sums=('SKIP' 'a527f89fecb9fbf8249e2e72859560f4381376873bb8a408047870df07a8d79b')
pkgver() {
cd "${srcdir}/rtl8812au"
printf '%s.r%s.g%s' "${_pkgver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
prepare() {
cd "${srcdir}/rtl8812au"
patch -p1 -i "$srcdir/fix-6.9.0-build.patch"
}
package() {
cd "${srcdir}/rtl8812au"
mkdir -p "${pkgdir}/usr/src/${_modname}-${pkgver}"

View File

@ -0,0 +1,15 @@
diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c
index e26dbda..b47021d 100644
--- a/os_dep/linux/ioctl_cfg80211.c
+++ b/os_dep/linux/ioctl_cfg80211.c
@@ -408,7 +408,9 @@ u8 rtw_cfg80211_ch_switch_notify(_adapter *adapter, u8 ch, u8 bw, u8 offset, u8
if (ret != _SUCCESS)
goto exit;
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 9, 0))
+ cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2))
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);