rtl8822bu: remove unmaintained driver

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-08-18 17:06:21 -04:00
parent 5b149a8eaa
commit 017e27cdf7
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
5 changed files with 0 additions and 170 deletions

View file

@ -1,2 +0,0 @@
DIST rtl8822bu-5.3.1_p20190920.tar.gz 3559097 BLAKE2B c14c4b2be2f29f705161040102b498d796fe5ef5928a17f535f7389ccd35e2d0f23d9bad5e9bcc8136066b71d2eb4594742499643ec688532dd430de1aad1a1a SHA512 0c6090f757b074cb19abfac108eb515ff8e2d6a1fc83472ed3679a614cf2d19c77ee41335bc5d0e78874bb582649cf6fe1161e8fe5fcd147533a57ecf183c667
DIST rtl8822bu-5.8.7.4_p20210626.tar.gz 4037363 BLAKE2B a14e294742b555f81bde4a92e2e8c40a3b6244f212d1ada796ebad9d586d8a17adc8504a4f161479c5c970d9c8f82676fc772a9f8d4fc7dbef3e8446c7bbb815 SHA512 705ecc6957aad4050971dab59fa5678990933ca58e2e8e61a5b6ff3ab5a8207554b50f190c6bc13cc841884087ca066ea58b2571a3b4ec6bf10f1804a24ea1d7

View file

@ -1,34 +0,0 @@
--- a/include/ieee80211.h 2021-07-20 10:59:56.475986578 +0200
+++ b/include/ieee80211.h 2021-07-20 11:06:59.724255108 +0200
@@ -1452,13 +1452,31 @@
#define PORT_FMT "%u"
#define PORT_ARG(x) ntohs(*((u16 *)(x)))
+#ifdef PLATFORM_FREEBSD /* Baron change func to macro */
#define is_multicast_mac_addr(Addr) ((((Addr[0]) & 0x01) == 0x01) && ((Addr[0]) != 0xff))
#define is_broadcast_mac_addr(Addr) ((((Addr[0]) & 0xff) == 0xff) && (((Addr[1]) & 0xff) == 0xff) && \
(((Addr[2]) & 0xff) == 0xff) && (((Addr[3]) & 0xff) == 0xff) && (((Addr[4]) & 0xff) == 0xff) && \
(((Addr[5]) & 0xff) == 0xff))
#define is_zero_mac_addr(Addr) ((Addr[0] == 0x00) && (Addr[1] == 0x00) && (Addr[2] == 0x00) && \
(Addr[3] == 0x00) && (Addr[4] == 0x00) && (Addr[5] == 0x00))
+#else
+extern __inline int is_multicast_mac_addr(const u8 *addr)
+{
+ return (addr[0] != 0xff) && (0x01 & addr[0]);
+}
+
+extern __inline int is_broadcast_mac_addr(const u8 *addr)
+{
+ return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \
+ (addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));
+}
+extern __inline int is_zero_mac_addr(const u8 *addr)
+{
+ return ((addr[0] == 0x00) && (addr[1] == 0x00) && (addr[2] == 0x00) && \
+ (addr[3] == 0x00) && (addr[4] == 0x00) && (addr[5] == 0x00));
+}
+#endif /* PLATFORM_FREEBSD */
#define CFG_IEEE80211_RESERVE_FCS (1<<0)
#define CFG_IEEE80211_COMPUTE_FCS (1<<1)

View file

@ -1,44 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod
DESCRIPTION="RTL88x2BU driver with monitor mode and frame injection"
HOMEPAGE="https://github.com/EntropicEffect/rtl8822bu.git"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/EntropicEffect/rtl8822bu.git"
else
HASH_COMMIT="683af4d8d36950a45e563cad255780cb994c5e4b"
SRC_URI="https://github.com/EntropicEffect/rtl8822bu/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/rtl8822bu-${HASH_COMMIT}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="kernel_linux"
# compile against selected (not running) target
pkg_setup() {
if use kernel_linux; then
BUILD_TARGETS="clean modules"
MODULE_NAMES="88x2bu(misc:)"
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR}"
linux-mod_pkg_setup
else
die "Could not determine proper ${PN} package"
fi
}
src_prepare() {
sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile || die
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die
default
}

View file

@ -1,46 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod
DESCRIPTION="RTL88x2BU driver with monitor mode and frame injection"
HOMEPAGE="https://github.com/morrownr/88x2bu.git"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/morrownr/88x2bu.git"
else
HASH_COMMIT="d57710b441e71c5dbdb0bc3daae05904a03b21e4"
SRC_URI="https://github.com/morrownr/88x2bu/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/88x2bu-${HASH_COMMIT}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="kernel_linux"
PATCHES=( "${FILESDIR}"/80211r.patch )
# compile against selected (not running) target
pkg_setup() {
if use kernel_linux; then
BUILD_TARGETS="clean modules"
MODULE_NAMES="88x2bu(misc:)"
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} V=1"
linux-mod_pkg_setup
else
die "Could not determine proper ${PN} package"
fi
}
src_prepare() {
#sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile || die
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die
default
}

View file

@ -1,44 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod
DESCRIPTION="RTL88x2BU driver with monitor mode and frame injection"
HOMEPAGE="https://github.com/EntropicEffect/rtl8822bu.git"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/EntropicEffect/rtl8822bu.git"
else
HASH_COMMIT="683af4d8d36950a45e563cad255780cb994c5e4b"
SRC_URI="https://github.com/EntropicEffect/rtl8822bu/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/rtl8822bu-${HASH_COMMIT}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="kernel_linux"
# compile against selected (not running) target
pkg_setup() {
if use kernel_linux; then
BUILD_TARGETS="clean modules"
MODULE_NAMES="88x2bu(misc:)"
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR}"
linux-mod_pkg_setup
else
die "Could not determine proper ${PN} package"
fi
}
src_prepare() {
sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile || die
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die
default
}