All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] package/rtl8812au-aircrack-ng: new package
Date: Mon,  5 Jul 2021 21:15:33 +0200	[thread overview]
Message-ID: <20210705191533.29763-1-ps.report@gmx.net> (raw)

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>
---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/rtl8812au-aircrack-ng/Config.in        | 10 ++++++++++
 .../rtl8812au-aircrack-ng.hash                 |  3 +++
 .../rtl8812au-aircrack-ng.mk                   | 18 ++++++++++++++++++
 5 files changed, 33 insertions(+)
 create mode 100644 package/rtl8812au-aircrack-ng/Config.in
 create mode 100644 package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash
 create mode 100644 package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 2a69f88299..8a897bfeab 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2164,6 +2164,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/
 
diff --git a/package/Config.in b/package/Config.in
index 22947edf2c..faa01d8e4f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000000..cf2e5003d2
--- /dev/null
+++ b/package/rtl8812au-aircrack-ng/Config.in
@@ -0,0 +1,10 @@
+comment "rtl8812au 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
index 0000000000..5503b4f22e
--- /dev/null
+++ b/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash
@@ -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
index 0000000000..d42d953496
--- /dev/null
+++ b/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk
@@ -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))
-- 
2.32.0

             reply	other threads:[~2021-07-05 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-05 19:15 Peter Seiderer [this message]
2021-07-20 20:27 ` [Buildroot] [PATCH v1] package/rtl8812au-aircrack-ng: new package Thomas Petazzoni
2021-07-20 20:27   ` Thomas Petazzoni
2021-07-27 20:37   ` Peter Seiderer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210705191533.29763-1-ps.report@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.