package/rtl8812au-aircrack-ng: new package
authorPeter Seiderer <ps.report@gmx.net>
Mon, 5 Jul 2021 19:15:33 +0000 (21:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 20 Jul 2021 20:24:18 +0000 (22:24 +0200)
Add rtl8812au-aircrack-ng (alternative to rtl8821au), recommended
e.g. for Alfa cards ([1]) and as opposed to rtl8821au does not crash
in case of configured for IBSS mode and supports iw set freq command in
monitor mode.

[1] https://docs.alfa.com.tw/Support/Linux/RTL8811AU

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/rtl8812au-aircrack-ng/Config.in [new file with mode: 0644]
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash [new file with mode: 0644]
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk [new file with mode: 0644]

index c519a6cfbb7ca6de8b8f2a5e4740f169b3b43049..65ab98351e7d82f6c76eb517c005b87f54573521 100644 (file)
@@ -2156,6 +2156,7 @@ F:        package/qt5/
 F:     package/quotatool/
 F:     package/racehound/
 F:     package/redir/
+F:     package/rtl8812au-aircrack-ng/
 F:     package/uredir/
 F:     package/wayland-utils/
 
index e883cf3780d3f4252e96c34d9ce26b78897b8944..de9378e11c7ee99903d3a98ae64c7de36776c1b9 100644 (file)
@@ -549,6 +549,7 @@ endmenu
        source "package/rtl8189fs/Config.in"
        source "package/rtl8723bs/Config.in"
        source "package/rtl8723bu/Config.in"
+       source "package/rtl8812au-aircrack-ng/Config.in"
        source "package/rtl8821au/Config.in"
        source "package/sane-backends/Config.in"
        source "package/sdparm/Config.in"
diff --git a/package/rtl8812au-aircrack-ng/Config.in b/package/rtl8812au-aircrack-ng/Config.in
new file mode 100644 (file)
index 0000000..70cbd15
--- /dev/null
@@ -0,0 +1,10 @@
+comment "rtl8812au-aircrack-ng needs a Linux kernel to be built"
+       depends on !BR2_LINUX_KERNEL
+
+config BR2_PACKAGE_RTL8812AU_AIRCRACK_NG
+       bool "rtl8812au-aircrack-ng"
+       depends on BR2_LINUX_KERNEL
+       help
+         rtl8812au wifi driver (aircrack-ng repository)
+
+         https://github.com/aircrack-ng/rtl8812au
diff --git a/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash b/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash
new file mode 100644 (file)
index 0000000..5503b4f
--- /dev/null
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  2c5d8286a00273343fc10d0e16afc52e788ac73b7df57c8159e58a40707f61da  rtl8812au-aircrack-ng-b8167e66b4ac046b3b76c2c40008d84528e91594.tar.gz
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE
diff --git a/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk b/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk
new file mode 100644 (file)
index 0000000..d42d953
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# rtl8812au-aircrack-ng
+#
+################################################################################
+
+RTL8812AU_AIRCRACK_NG_VERSION = b8167e66b4ac046b3b76c2c40008d84528e91594
+RTL8812AU_AIRCRACK_NG_SITE = $(call github,aircrack-ng,rtl8812au,$(RTL8812AU_AIRCRACK_NG_VERSION))
+RTL8812AU_AIRCRACK_NG_LICENSE = GPL-2.0
+RTL8812AU_AIRCRACK_NG_LICENSE_FILES = LICENSE
+
+RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \
+       CONFIG_88XXAU=m \
+       KVER=$(LINUX_VERSION_PROBED) \
+       USER_EXTRA_CFLAGS="-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN"
+
+$(eval $(kernel-module))
+$(eval $(generic-package))