Compare commits

...

2 Commits

5 changed files with 11 additions and 32 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -1,15 +0,0 @@
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);