From aca5f881dab2e1bde06691e2004bfa0ec49da56e Mon Sep 17 00:00:00 2001 From: TSKangetsu Date: Sat, 25 May 2024 23:59:23 +0800 Subject: [PATCH] add aircrack rtl8812au max test 280mbps --- file-backup/other/.config-nnair | 270 ++++++++++++------ package/kernel/rtl8812au-aircrack/Makefile | 50 ++++ .../patches/001-fix-openwrt-build.patch | 25 ++ .../sunxi/dts/sun8i-h3-nanopi-neo-air.dts | 114 ++++---- 4 files changed, 309 insertions(+), 150 deletions(-) create mode 100644 package/kernel/rtl8812au-aircrack/Makefile create mode 100644 package/kernel/rtl8812au-aircrack/patches/001-fix-openwrt-build.patch diff --git a/file-backup/other/.config-nnair b/file-backup/other/.config-nnair index ee21c6c2f9d5a9..53bc52a31ac0fa 100644 --- a/file-backup/other/.config-nnair +++ b/file-backup/other/.config-nnair @@ -166,7 +166,7 @@ CONFIG_TARGET_IMAGES_GZIP=y # Image Options # CONFIG_SUNXI_SD_BOOT_PARTSIZE=20 -CONFIG_TARGET_ROOTFS_PARTSIZE=104 +CONFIG_TARGET_ROOTFS_PARTSIZE=512 # CONFIG_TARGET_ROOTFS_PERSIST_VAR is not set # end of Target Images @@ -387,7 +387,7 @@ CONFIG_PKG_RELRO_FULL=y CONFIG_SECCOMP=y # end of Global build settings -# CONFIG_DEVEL is not set +CONFIG_DEVEL=y # CONFIG_BROKEN is not set CONFIG_BINARY_FOLDER="" CONFIG_DOWNLOAD_FOLDER="" @@ -401,10 +401,19 @@ CONFIG_CCACHE_DIR="" CONFIG_KERNEL_CFLAGS="" CONFIG_EXTERNAL_KERNEL_TREE="" CONFIG_KERNEL_GIT_CLONE_URI="" +# CONFIG_BUILD_LOG is not set CONFIG_BUILD_LOG_DIR="" +# CONFIG_SRC_TREE_OVERRIDE is not set CONFIG_EXTRA_OPTIMIZATION="-fno-caller-saves -fno-plt" +CONFIG_TARGET_OPTIONS=y CONFIG_TARGET_OPTIMIZATION="-Os -pipe" -CONFIG_SOFT_FLOAT=y +# CONFIG_SOFT_FLOAT is not set +CONFIG_BPF_TOOLCHAIN_NONE=y +# CONFIG_BPF_TOOLCHAIN_HOST is not set +# CONFIG_BPF_TOOLCHAIN_BUILD_LLVM is not set +# CONFIG_EXTERNAL_TOOLCHAIN is not set +CONFIG_NEED_TOOLCHAIN=y +# CONFIG_TOOLCHAINOPTS is not set # CONFIG_EXTRA_TARGET_ARCH is not set CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="" CONFIG_EXTRA_GCC_CONFIG_OPTIONS="" @@ -1588,7 +1597,11 @@ CONFIG_PACKAGE_procd-ujail=y # CONFIG_PACKAGE_qos-scripts is not set # CONFIG_PACKAGE_refpolicy is not set # CONFIG_PACKAGE_resolveip is not set -# CONFIG_PACKAGE_rpcd is not set +CONFIG_PACKAGE_rpcd=y +CONFIG_PACKAGE_rpcd-mod-file=y +CONFIG_PACKAGE_rpcd-mod-iwinfo=y +# CONFIG_PACKAGE_rpcd-mod-rpcsys is not set +# CONFIG_PACKAGE_rpcd-mod-ucode is not set # CONFIG_PACKAGE_selinux-policy is not set # CONFIG_PACKAGE_snapshot-tool is not set # CONFIG_PACKAGE_sqm-scripts is not set @@ -2387,8 +2400,14 @@ CONFIG_PACKAGE_kmod-nft-offload=y # CONFIG_PACKAGE_kmod-nsh is not set # CONFIG_PACKAGE_kmod-openvswitch is not set # CONFIG_PACKAGE_kmod-openvswitch-geneve is not set +# CONFIG_PACKAGE_kmod-openvswitch-geneve-intree is not set # CONFIG_PACKAGE_kmod-openvswitch-gre is not set +# CONFIG_PACKAGE_kmod-openvswitch-gre-intree is not set +# CONFIG_PACKAGE_kmod-openvswitch-intree is not set +# CONFIG_PACKAGE_kmod-openvswitch-lisp-intree is not set +# CONFIG_PACKAGE_kmod-openvswitch-stt-intree is not set # CONFIG_PACKAGE_kmod-openvswitch-vxlan is not set +# CONFIG_PACKAGE_kmod-openvswitch-vxlan-intree is not set # CONFIG_PACKAGE_kmod-ovpn-dco is not set # CONFIG_PACKAGE_kmod-pf-ring is not set # CONFIG_PACKAGE_kmod-pktgen is not set @@ -2597,6 +2616,7 @@ CONFIG_PACKAGE_kmod-usb-core=y # CONFIG_PACKAGE_kmod-usb-storage is not set # CONFIG_PACKAGE_kmod-usb-storage-extras is not set # CONFIG_PACKAGE_kmod-usb-storage-uas is not set +# CONFIG_PACKAGE_kmod-usb-test is not set # CONFIG_PACKAGE_kmod-usb-uhci is not set # CONFIG_PACKAGE_kmod-usb-wdm is not set # CONFIG_PACKAGE_kmod-usb-yealink is not set @@ -2710,6 +2730,7 @@ CONFIG_PACKAGE_kmod-cfg80211=y # CONFIG_PACKAGE_kmod-rtl8187 is not set # CONFIG_PACKAGE_kmod-rtl8192cu is not set # CONFIG_PACKAGE_kmod-rtl8723bs is not set +CONFIG_PACKAGE_kmod-rtl8812au-aircrack=y # CONFIG_PACKAGE_kmod-rtl8812au-ct is not set # CONFIG_PACKAGE_kmod-rtl8xxxu is not set # CONFIG_PACKAGE_kmod-wl12xx is not set @@ -2773,11 +2794,11 @@ CONFIG_GOLANG_BUILD_CACHE_DIR="" # CONFIG_PACKAGE_dkjson is not set # CONFIG_PACKAGE_json4lua is not set # CONFIG_PACKAGE_ldbus is not set -# CONFIG_PACKAGE_libiwinfo-lua is not set +CONFIG_PACKAGE_libiwinfo-lua=y # CONFIG_PACKAGE_linotify is not set # CONFIG_PACKAGE_lpeg is not set # CONFIG_PACKAGE_lsqlite3 is not set -# CONFIG_PACKAGE_lua is not set +CONFIG_PACKAGE_lua=y # CONFIG_PACKAGE_lua-argparse is not set # CONFIG_PACKAGE_lua-bencode is not set # CONFIG_PACKAGE_lua-bit32 is not set @@ -2787,6 +2808,7 @@ CONFIG_GOLANG_BUILD_CACHE_DIR="" # CONFIG_PACKAGE_lua-cs-bouncer is not set # CONFIG_PACKAGE_lua-curl-v3 is not set # CONFIG_PACKAGE_lua-ev is not set +# CONFIG_PACKAGE_lua-examples is not set # CONFIG_PACKAGE_lua-libmodbus is not set # CONFIG_PACKAGE_lua-lzlib is not set # CONFIG_PACKAGE_lua-md5 is not set @@ -2974,6 +2996,7 @@ CONFIG_GOLANG_BUILD_CACHE_DIR="" # CONFIG_PACKAGE_python3-netifaces is not set # CONFIG_PACKAGE_python3-networkx is not set # CONFIG_PACKAGE_python3-newt is not set +# CONFIG_PACKAGE_python3-numpy is not set # # Configuration @@ -2984,6 +3007,7 @@ CONFIG_GOLANG_BUILD_CACHE_DIR="" # CONFIG_PACKAGE_python3-openpyxl is not set # CONFIG_PACKAGE_python3-openssl is not set # CONFIG_PACKAGE_python3-outcome is not set +# CONFIG_PACKAGE_python3-packages is not set # CONFIG_PACKAGE_python3-packaging is not set # CONFIG_PACKAGE_python3-paho-mqtt is not set # CONFIG_PACKAGE_python3-paramiko is not set @@ -3100,7 +3124,7 @@ CONFIG_GOLANG_BUILD_CACHE_DIR="" # CONFIG_PACKAGE_libbz2=y # CONFIG_PACKAGE_liblz4 is not set -CONFIG_PACKAGE_liblzma=y +# CONFIG_PACKAGE_liblzma is not set # CONFIG_PACKAGE_libunrar is not set # CONFIG_PACKAGE_libzip-gnutls is not set # CONFIG_PACKAGE_libzip-mbedtls is not set @@ -3626,24 +3650,7 @@ CONFIG_PACKAGE_liblzma=y # # SSL # -CONFIG_PACKAGE_libgnutls=y - -# -# Configuration -# -CONFIG_GNUTLS_DTLS_SRTP=y -CONFIG_GNUTLS_ALPN=y -CONFIG_GNUTLS_OCSP=y -# CONFIG_GNUTLS_CRYPTODEV is not set -CONFIG_GNUTLS_HEARTBEAT=y -# CONFIG_GNUTLS_SRP is not set -CONFIG_GNUTLS_PSK=y -CONFIG_GNUTLS_ANON=y -# CONFIG_GNUTLS_TPM is not set -# CONFIG_GNUTLS_PKCS11 is not set -# CONFIG_GNUTLS_EXT_LIBTASN1 is not set -# end of Configuration - +# CONFIG_PACKAGE_libgnutls is not set # CONFIG_PACKAGE_libgnutls-dane is not set # CONFIG_PACKAGE_libmbedtls is not set # CONFIG_PACKAGE_libnss is not set @@ -3769,7 +3776,7 @@ CONFIG_WOLFSSL_HAS_NO_HW=y # end of libimobiledevice # CONFIG_PACKAGE_acsccid is not set -CONFIG_PACKAGE_alsa-lib=y +# CONFIG_PACKAGE_alsa-lib is not set # CONFIG_PACKAGE_argp-standalone is not set # CONFIG_PACKAGE_bind-libs is not set # CONFIG_PACKAGE_bluez-libs is not set @@ -3851,7 +3858,7 @@ CONFIG_PACKAGE_libcomerr=y # CONFIG_PACKAGE_libesmtp is not set # CONFIG_PACKAGE_libestr is not set # CONFIG_PACKAGE_libev is not set -CONFIG_PACKAGE_libevdev=y +# CONFIG_PACKAGE_libevdev is not set # CONFIG_PACKAGE_libevent2 is not set # CONFIG_PACKAGE_libevent2-core is not set # CONFIG_PACKAGE_libevent2-extra is not set @@ -3871,7 +3878,7 @@ CONFIG_PACKAGE_libf2fs=y # CONFIG_PACKAGE_libffi is not set # CONFIG_PACKAGE_libffmpeg-audio-dec is not set # CONFIG_PACKAGE_libffmpeg-custom is not set -CONFIG_PACKAGE_libffmpeg-full=y +# CONFIG_PACKAGE_libffmpeg-full is not set # CONFIG_PACKAGE_libffmpeg-mini is not set # CONFIG_PACKAGE_libfido2 is not set # CONFIG_PACKAGE_libflac is not set @@ -3882,9 +3889,7 @@ CONFIG_PACKAGE_libffmpeg-full=y # CONFIG_PACKAGE_libftdi1 is not set # CONFIG_PACKAGE_libgabe is not set # CONFIG_PACKAGE_libgcrypt is not set -CONFIG_PACKAGE_libgd=y -# CONFIG_LIBGD_TIFF is not set -# CONFIG_LIBGD_FREETYPE is not set +# CONFIG_PACKAGE_libgd is not set # CONFIG_PACKAGE_libgd-full is not set # CONFIG_PACKAGE_libgdbm is not set # CONFIG_PACKAGE_libgee is not set @@ -3905,7 +3910,7 @@ CONFIG_PACKAGE_libgmp=y # CONFIG_PACKAGE_libhiredis is not set # CONFIG_PACKAGE_libhttp-parser is not set # CONFIG_PACKAGE_libhwloc is not set -CONFIG_PACKAGE_libi2c=y +# CONFIG_PACKAGE_libi2c is not set # CONFIG_PACKAGE_libical is not set # CONFIG_PACKAGE_libiconv is not set # CONFIG_PACKAGE_libiconv-full is not set @@ -3919,7 +3924,7 @@ CONFIG_PACKAGE_libi2c=y # CONFIG_PACKAGE_libipfs-http-client is not set # CONFIG_PACKAGE_libiw is not set CONFIG_PACKAGE_libiwinfo=y -CONFIG_PACKAGE_libjpeg-turbo=y +# CONFIG_PACKAGE_libjpeg-turbo is not set CONFIG_PACKAGE_libjson-c=y # CONFIG_PACKAGE_libkeyutils is not set # CONFIG_PACKAGE_libkmod is not set @@ -3928,14 +3933,14 @@ CONFIG_PACKAGE_libjson-c=y # CONFIG_PACKAGE_libleptonica is not set # CONFIG_PACKAGE_libloragw is not set # CONFIG_PACKAGE_libltdl is not set -# CONFIG_PACKAGE_liblua is not set +CONFIG_PACKAGE_liblua=y # CONFIG_PACKAGE_liblua5.3 is not set -# CONFIG_PACKAGE_liblucihttp is not set -# CONFIG_PACKAGE_liblucihttp-lua is not set +CONFIG_PACKAGE_liblucihttp=y +CONFIG_PACKAGE_liblucihttp-lua=y # CONFIG_PACKAGE_liblucihttp-ucode is not set # CONFIG_PACKAGE_liblzo is not set # CONFIG_PACKAGE_libmad is not set -CONFIG_PACKAGE_libmagic=y +# CONFIG_PACKAGE_libmagic is not set # CONFIG_PACKAGE_libmaxminddb is not set # CONFIG_PACKAGE_libmbim is not set # CONFIG_PACKAGE_libmcrypt is not set @@ -4019,7 +4024,7 @@ CONFIG_PACKAGE_libnl-tiny=y # CONFIG_PACKAGE_libpfring is not set # CONFIG_PACKAGE_libpkcs11-spy is not set # CONFIG_PACKAGE_libpkgconf is not set -CONFIG_PACKAGE_libpng=y +# CONFIG_PACKAGE_libpng is not set # CONFIG_PACKAGE_libpopt is not set # CONFIG_PACKAGE_libpri is not set # CONFIG_PACKAGE_libprotobuf-c is not set @@ -4098,12 +4103,12 @@ CONFIG_PACKAGE_libss=y CONFIG_PACKAGE_libubox=y # CONFIG_PACKAGE_libubox-lua is not set CONFIG_PACKAGE_libubus=y -# CONFIG_PACKAGE_libubus-lua is not set +CONFIG_PACKAGE_libubus-lua=y CONFIG_PACKAGE_libuci=y # CONFIG_PACKAGE_libuci-lua is not set # CONFIG_PACKAGE_libuci2 is not set CONFIG_PACKAGE_libuclient=y -CONFIG_PACKAGE_libudev-zero=y +# CONFIG_PACKAGE_libudev-zero is not set # CONFIG_PACKAGE_libudns is not set # CONFIG_PACKAGE_libuecc is not set # CONFIG_PACKAGE_libugpio is not set @@ -4121,11 +4126,11 @@ CONFIG_PACKAGE_libustream-wolfssl=y CONFIG_PACKAGE_libuuid=y # CONFIG_PACKAGE_libuv is not set # CONFIG_PACKAGE_libuwifi is not set -CONFIG_PACKAGE_libv4l=y +# CONFIG_PACKAGE_libv4l is not set # CONFIG_PACKAGE_libvorbis is not set # CONFIG_PACKAGE_libvorbisidec is not set # CONFIG_PACKAGE_libvpx is not set -CONFIG_PACKAGE_libwebp=y +# CONFIG_PACKAGE_libwebp is not set # CONFIG_PACKAGE_libwebsockets-full is not set # CONFIG_PACKAGE_libwebsockets-mbedtls is not set # CONFIG_PACKAGE_libwebsockets-openssl is not set @@ -4163,9 +4168,9 @@ CONFIG_PACKAGE_libwebp=y # CONFIG_PACKAGE_protobuf-lite is not set # CONFIG_PACKAGE_pthsem is not set # CONFIG_PACKAGE_re2 is not set -# CONFIG_PACKAGE_rpcd-mod-luci is not set +CONFIG_PACKAGE_rpcd-mod-luci=y # CONFIG_PACKAGE_rpcd-mod-rad2-enc is not set -# CONFIG_PACKAGE_rpcd-mod-rrdns is not set +CONFIG_PACKAGE_rpcd-mod-rrdns=y # CONFIG_PACKAGE_sbc is not set # CONFIG_PACKAGE_serdisplib is not set # CONFIG_PACKAGE_taglib is not set @@ -4194,7 +4199,7 @@ CONFIG_PACKAGE_zlib=y # # 1. Collections # -# CONFIG_PACKAGE_luci is not set +CONFIG_PACKAGE_luci=y # CONFIG_PACKAGE_luci-lib-docker is not set # CONFIG_PACKAGE_luci-nginx is not set # CONFIG_PACKAGE_luci-ssl is not set @@ -4205,7 +4210,7 @@ CONFIG_PACKAGE_zlib=y # # 2. Modules # -# CONFIG_PACKAGE_luci-base is not set +CONFIG_PACKAGE_luci-base=y # CONFIG_LUCI_SRCDIET is not set CONFIG_LUCI_JSMIN=y CONFIG_LUCI_CSSTIDY=y @@ -4250,13 +4255,13 @@ CONFIG_LUCI_CSSTIDY=y # end of Translations # CONFIG_PACKAGE_luci-compat is not set -# CONFIG_PACKAGE_luci-mod-admin-full is not set +CONFIG_PACKAGE_luci-mod-admin-full=y # CONFIG_PACKAGE_luci-mod-battstatus is not set # CONFIG_PACKAGE_luci-mod-dashboard is not set -# CONFIG_PACKAGE_luci-mod-network is not set +CONFIG_PACKAGE_luci-mod-network=y # CONFIG_PACKAGE_luci-mod-rpc is not set -# CONFIG_PACKAGE_luci-mod-status is not set -# CONFIG_PACKAGE_luci-mod-system is not set +CONFIG_PACKAGE_luci-mod-status=y +CONFIG_PACKAGE_luci-mod-system=y # end of 2. Modules # @@ -4291,7 +4296,7 @@ CONFIG_LUCI_CSSTIDY=y # CONFIG_PACKAGE_luci-app-dynapoint is not set # CONFIG_PACKAGE_luci-app-eoip is not set # CONFIG_PACKAGE_luci-app-example is not set -# CONFIG_PACKAGE_luci-app-firewall is not set +CONFIG_PACKAGE_luci-app-firewall=y # CONFIG_PACKAGE_luci-app-frpc is not set # CONFIG_PACKAGE_luci-app-frps is not set # CONFIG_PACKAGE_luci-app-fwknopd is not set @@ -4319,7 +4324,7 @@ CONFIG_LUCI_CSSTIDY=y # CONFIG_PACKAGE_luci-app-omcproxy is not set # CONFIG_PACKAGE_luci-app-openvpn is not set # CONFIG_PACKAGE_luci-app-openwisp is not set -# CONFIG_PACKAGE_luci-app-opkg is not set +CONFIG_PACKAGE_luci-app-opkg=y # CONFIG_PACKAGE_luci-app-p910nd is not set # CONFIG_PACKAGE_luci-app-pagekitec is not set # CONFIG_PACKAGE_luci-app-pbr is not set @@ -4364,8 +4369,8 @@ CONFIG_LUCI_CSSTIDY=y # # 4. Themes # -# CONFIG_PACKAGE_luci-theme-bootstrap is not set -# CONFIG_PACKAGE_luci-theme-material is not set +CONFIG_PACKAGE_luci-theme-bootstrap=y +CONFIG_PACKAGE_luci-theme-material=y # CONFIG_PACKAGE_luci-theme-openwrt is not set # CONFIG_PACKAGE_luci-theme-openwrt-2020 is not set # end of 4. Themes @@ -4379,13 +4384,13 @@ CONFIG_LUCI_CSSTIDY=y # CONFIG_PACKAGE_luci-proto-gre is not set # CONFIG_PACKAGE_luci-proto-hnet is not set # CONFIG_PACKAGE_luci-proto-ipip is not set -# CONFIG_PACKAGE_luci-proto-ipv6 is not set +CONFIG_PACKAGE_luci-proto-ipv6=y # CONFIG_PACKAGE_luci-proto-modemmanager is not set # CONFIG_PACKAGE_luci-proto-ncm is not set # CONFIG_PACKAGE_luci-proto-nebula is not set # CONFIG_PACKAGE_luci-proto-openconnect is not set # CONFIG_PACKAGE_luci-proto-openfortivpn is not set -# CONFIG_PACKAGE_luci-proto-ppp is not set +CONFIG_PACKAGE_luci-proto-ppp=y # CONFIG_PACKAGE_luci-proto-pppossh is not set # CONFIG_PACKAGE_luci-proto-qmi is not set # CONFIG_PACKAGE_luci-proto-relay is not set @@ -4398,23 +4403,125 @@ CONFIG_LUCI_CSSTIDY=y # # 6. Libraries # -# CONFIG_PACKAGE_luci-lib-base is not set +CONFIG_PACKAGE_luci-lib-base=y # CONFIG_PACKAGE_luci-lib-dracula is not set # CONFIG_PACKAGE_luci-lib-httpclient is not set # CONFIG_PACKAGE_luci-lib-httpprotoutils is not set -# CONFIG_PACKAGE_luci-lib-ip is not set +CONFIG_PACKAGE_luci-lib-ip=y # CONFIG_PACKAGE_luci-lib-ipkg is not set # CONFIG_PACKAGE_luci-lib-iptparser is not set # CONFIG_PACKAGE_luci-lib-jquery-1-4 is not set # CONFIG_PACKAGE_luci-lib-json is not set -# CONFIG_PACKAGE_luci-lib-jsonc is not set -# CONFIG_PACKAGE_luci-lib-nixio is not set +CONFIG_PACKAGE_luci-lib-jsonc=y +CONFIG_PACKAGE_luci-lib-nixio=y CONFIG_PACKAGE_luci-lib-nixio_notls=y # CONFIG_PACKAGE_luci-lib-nixio_axtls is not set # CONFIG_PACKAGE_luci-lib-nixio_cyassl is not set # CONFIG_PACKAGE_luci-lib-nixio_openssl is not set # CONFIG_PACKAGE_luci-lib-px5g is not set # end of 6. Libraries + +# CONFIG_PACKAGE_luci-i18n-base-ar is not set +# CONFIG_PACKAGE_luci-i18n-base-bg is not set +# CONFIG_PACKAGE_luci-i18n-base-bn is not set +# CONFIG_PACKAGE_luci-i18n-base-ca is not set +# CONFIG_PACKAGE_luci-i18n-base-cs is not set +# CONFIG_PACKAGE_luci-i18n-base-da is not set +# CONFIG_PACKAGE_luci-i18n-base-de is not set +# CONFIG_PACKAGE_luci-i18n-base-el is not set +# CONFIG_PACKAGE_luci-i18n-base-en is not set +# CONFIG_PACKAGE_luci-i18n-base-es is not set +# CONFIG_PACKAGE_luci-i18n-base-fi is not set +# CONFIG_PACKAGE_luci-i18n-base-fr is not set +# CONFIG_PACKAGE_luci-i18n-base-he is not set +# CONFIG_PACKAGE_luci-i18n-base-hi is not set +# CONFIG_PACKAGE_luci-i18n-base-hu is not set +# CONFIG_PACKAGE_luci-i18n-base-it is not set +# CONFIG_PACKAGE_luci-i18n-base-ja is not set +# CONFIG_PACKAGE_luci-i18n-base-ko is not set +# CONFIG_PACKAGE_luci-i18n-base-mr is not set +# CONFIG_PACKAGE_luci-i18n-base-ms is not set +# CONFIG_PACKAGE_luci-i18n-base-nl is not set +# CONFIG_PACKAGE_luci-i18n-base-no is not set +# CONFIG_PACKAGE_luci-i18n-base-pl is not set +# CONFIG_PACKAGE_luci-i18n-base-pt is not set +# CONFIG_PACKAGE_luci-i18n-base-pt-br is not set +# CONFIG_PACKAGE_luci-i18n-base-ro is not set +# CONFIG_PACKAGE_luci-i18n-base-ru is not set +# CONFIG_PACKAGE_luci-i18n-base-sk is not set +# CONFIG_PACKAGE_luci-i18n-base-sv is not set +# CONFIG_PACKAGE_luci-i18n-base-tr is not set +# CONFIG_PACKAGE_luci-i18n-base-uk is not set +# CONFIG_PACKAGE_luci-i18n-base-vi is not set +# CONFIG_PACKAGE_luci-i18n-base-zh-cn is not set +# CONFIG_PACKAGE_luci-i18n-base-zh-tw is not set +# CONFIG_PACKAGE_luci-i18n-firewall-ar is not set +# CONFIG_PACKAGE_luci-i18n-firewall-bg is not set +# CONFIG_PACKAGE_luci-i18n-firewall-bn is not set +# CONFIG_PACKAGE_luci-i18n-firewall-ca is not set +# CONFIG_PACKAGE_luci-i18n-firewall-cs is not set +# CONFIG_PACKAGE_luci-i18n-firewall-da is not set +# CONFIG_PACKAGE_luci-i18n-firewall-de is not set +# CONFIG_PACKAGE_luci-i18n-firewall-el is not set +# CONFIG_PACKAGE_luci-i18n-firewall-en is not set +# CONFIG_PACKAGE_luci-i18n-firewall-es is not set +# CONFIG_PACKAGE_luci-i18n-firewall-fi is not set +# CONFIG_PACKAGE_luci-i18n-firewall-fr is not set +# CONFIG_PACKAGE_luci-i18n-firewall-he is not set +# CONFIG_PACKAGE_luci-i18n-firewall-hi is not set +# CONFIG_PACKAGE_luci-i18n-firewall-hu is not set +# CONFIG_PACKAGE_luci-i18n-firewall-it is not set +# CONFIG_PACKAGE_luci-i18n-firewall-ja is not set +# CONFIG_PACKAGE_luci-i18n-firewall-ko is not set +# CONFIG_PACKAGE_luci-i18n-firewall-mr is not set +# CONFIG_PACKAGE_luci-i18n-firewall-ms is not set +# CONFIG_PACKAGE_luci-i18n-firewall-nl is not set +# CONFIG_PACKAGE_luci-i18n-firewall-no is not set +# CONFIG_PACKAGE_luci-i18n-firewall-pl is not set +# CONFIG_PACKAGE_luci-i18n-firewall-pt is not set +# CONFIG_PACKAGE_luci-i18n-firewall-pt-br is not set +# CONFIG_PACKAGE_luci-i18n-firewall-ro is not set +# CONFIG_PACKAGE_luci-i18n-firewall-ru is not set +# CONFIG_PACKAGE_luci-i18n-firewall-sk is not set +# CONFIG_PACKAGE_luci-i18n-firewall-sv is not set +# CONFIG_PACKAGE_luci-i18n-firewall-tr is not set +# CONFIG_PACKAGE_luci-i18n-firewall-uk is not set +# CONFIG_PACKAGE_luci-i18n-firewall-vi is not set +# CONFIG_PACKAGE_luci-i18n-firewall-zh-cn is not set +# CONFIG_PACKAGE_luci-i18n-firewall-zh-tw is not set +# CONFIG_PACKAGE_luci-i18n-opkg-ar is not set +# CONFIG_PACKAGE_luci-i18n-opkg-bg is not set +# CONFIG_PACKAGE_luci-i18n-opkg-bn is not set +# CONFIG_PACKAGE_luci-i18n-opkg-ca is not set +# CONFIG_PACKAGE_luci-i18n-opkg-cs is not set +# CONFIG_PACKAGE_luci-i18n-opkg-da is not set +# CONFIG_PACKAGE_luci-i18n-opkg-de is not set +# CONFIG_PACKAGE_luci-i18n-opkg-el is not set +# CONFIG_PACKAGE_luci-i18n-opkg-en is not set +# CONFIG_PACKAGE_luci-i18n-opkg-es is not set +# CONFIG_PACKAGE_luci-i18n-opkg-fi is not set +# CONFIG_PACKAGE_luci-i18n-opkg-fr is not set +# CONFIG_PACKAGE_luci-i18n-opkg-he is not set +# CONFIG_PACKAGE_luci-i18n-opkg-hi is not set +# CONFIG_PACKAGE_luci-i18n-opkg-hu is not set +# CONFIG_PACKAGE_luci-i18n-opkg-it is not set +# CONFIG_PACKAGE_luci-i18n-opkg-ja is not set +# CONFIG_PACKAGE_luci-i18n-opkg-ko is not set +# CONFIG_PACKAGE_luci-i18n-opkg-mr is not set +# CONFIG_PACKAGE_luci-i18n-opkg-ms is not set +# CONFIG_PACKAGE_luci-i18n-opkg-no is not set +# CONFIG_PACKAGE_luci-i18n-opkg-pl is not set +# CONFIG_PACKAGE_luci-i18n-opkg-pt is not set +# CONFIG_PACKAGE_luci-i18n-opkg-pt-br is not set +# CONFIG_PACKAGE_luci-i18n-opkg-ro is not set +# CONFIG_PACKAGE_luci-i18n-opkg-ru is not set +# CONFIG_PACKAGE_luci-i18n-opkg-sk is not set +# CONFIG_PACKAGE_luci-i18n-opkg-sv is not set +# CONFIG_PACKAGE_luci-i18n-opkg-tr is not set +# CONFIG_PACKAGE_luci-i18n-opkg-uk is not set +# CONFIG_PACKAGE_luci-i18n-opkg-vi is not set +# CONFIG_PACKAGE_luci-i18n-opkg-zh-cn is not set +# CONFIG_PACKAGE_luci-i18n-opkg-zh-tw is not set # end of LuCI # @@ -4458,9 +4565,9 @@ CONFIG_PACKAGE_luci-lib-nixio_notls=y # CONFIG_PACKAGE_oggfwd is not set # end of Streaming -CONFIG_PACKAGE_ffmpeg=y +# CONFIG_PACKAGE_ffmpeg is not set # CONFIG_PACKAGE_ffprobe is not set -CONFIG_PACKAGE_fswebcam=y +# CONFIG_PACKAGE_fswebcam is not set # CONFIG_PACKAGE_gerbera is not set # CONFIG_PACKAGE_gphoto2 is not set # CONFIG_PACKAGE_graphicsmagick is not set @@ -4478,16 +4585,7 @@ CONFIG_PACKAGE_fswebcam=y # CONFIG_PACKAGE_lcdgrilo is not set # CONFIG_PACKAGE_minidlna is not set # CONFIG_PACKAGE_minisatip is not set -CONFIG_PACKAGE_mjpg-streamer=y -# CONFIG_PACKAGE_mjpg-streamer-input-file is not set -# CONFIG_PACKAGE_mjpg-streamer-input-http is not set -# CONFIG_PACKAGE_mjpg-streamer-input-uvc is not set -CONFIG_PACKAGE_mjpg-streamer-output-file=y -CONFIG_PACKAGE_mjpg-streamer-output-http=y -CONFIG_PACKAGE_mjpg-streamer-output-rtsp=y -# CONFIG_PACKAGE_mjpg-streamer-output-zmq is not set -# CONFIG_PACKAGE_mjpg-streamer-www is not set -CONFIG_PACKAGE_mjpg-streamer-www-simple=y +# CONFIG_PACKAGE_mjpg-streamer is not set # CONFIG_PACKAGE_motion is not set # CONFIG_PACKAGE_tvheadend is not set # CONFIG_PACKAGE_v4l2rtspserver is not set @@ -4937,7 +5035,7 @@ CONFIG_PACKAGE_nftables-json=y # CONFIG_PACKAGE_openssh-server-pam is not set # CONFIG_PACKAGE_openssh-sftp-avahi-service is not set # CONFIG_PACKAGE_openssh-sftp-client is not set -CONFIG_PACKAGE_openssh-sftp-server=y +# CONFIG_PACKAGE_openssh-sftp-server is not set # CONFIG_PACKAGE_sshtunnel is not set # CONFIG_PACKAGE_tmate is not set # end of SSH @@ -5115,7 +5213,7 @@ CONFIG_PACKAGE_openssh-sftp-server=y # Web Servers/Proxies # # CONFIG_PACKAGE_apache is not set -# CONFIG_PACKAGE_cgi-io is not set +CONFIG_PACKAGE_cgi-io=y # CONFIG_PACKAGE_clamav is not set # CONFIG_PACKAGE_cloudflared is not set # CONFIG_PACKAGE_etebase is not set @@ -5153,7 +5251,10 @@ CONFIG_PACKAGE_openssh-sftp-server=y # CONFIG_PACKAGE_squid is not set # CONFIG_PACKAGE_tinyproxy is not set # CONFIG_PACKAGE_trojan-go is not set -# CONFIG_PACKAGE_uhttpd is not set +CONFIG_PACKAGE_uhttpd=y +# CONFIG_PACKAGE_uhttpd-mod-lua is not set +CONFIG_PACKAGE_uhttpd-mod-ubus=y +# CONFIG_PACKAGE_uhttpd-mod-ucode is not set # CONFIG_PACKAGE_uwsgi is not set # CONFIG_PACKAGE_v2raya is not set # CONFIG_PACKAGE_xfrpc is not set @@ -5514,14 +5615,7 @@ CONFIG_PACKAGE_uclient-fetch=y # CONFIG_PACKAGE_aserver is not set # CONFIG_PACKAGE_espeak is not set # CONFIG_PACKAGE_faad2 is not set -CONFIG_PACKAGE_fdk-aac=y - -# -# Configuration -# -# CONFIG_FDK-AAC_OPTIMIZE_SPEED is not set -# end of Configuration - +# CONFIG_PACKAGE_fdk-aac is not set # CONFIG_PACKAGE_ices is not set # CONFIG_PACKAGE_lame is not set # CONFIG_PACKAGE_lame-lib is not set @@ -5544,7 +5638,7 @@ CONFIG_PACKAGE_fdk-aac=y # CONFIG_PACKAGE_shairport-sync-mbedtls is not set # CONFIG_PACKAGE_shairport-sync-mini is not set # CONFIG_PACKAGE_shairport-sync-openssl is not set -CONFIG_PACKAGE_shine=y +# CONFIG_PACKAGE_shine is not set # CONFIG_PACKAGE_sox is not set # CONFIG_PACKAGE_squeezelite-full is not set # CONFIG_PACKAGE_squeezelite-mini is not set @@ -5958,7 +6052,7 @@ CONFIG_PACKAGE_mkf2fs=y # CONFIG_PACKAGE_extract is not set # CONFIG_PACKAGE_fbtest is not set # CONFIG_PACKAGE_fdt-utils is not set -CONFIG_PACKAGE_file=y +# CONFIG_PACKAGE_file is not set # CONFIG_PACKAGE_findutils is not set # CONFIG_PACKAGE_findutils-find is not set # CONFIG_PACKAGE_findutils-locate is not set @@ -5997,7 +6091,7 @@ CONFIG_PACKAGE_file=y # CONFIG_PACKAGE_hwclock is not set # CONFIG_PACKAGE_hwinfo is not set # CONFIG_PACKAGE_hwloc-utils is not set -CONFIG_PACKAGE_i2c-tools=y +# CONFIG_PACKAGE_i2c-tools is not set # CONFIG_PACKAGE_iconv is not set # CONFIG_PACKAGE_iio-utils is not set # CONFIG_PACKAGE_inotifywait is not set @@ -6014,6 +6108,7 @@ CONFIG_PACKAGE_jshn=y # CONFIG_PACKAGE_kexec-tools is not set # CONFIG_PACKAGE_kmod is not set # CONFIG_PACKAGE_lcd4linux-custom is not set +# CONFIG_PACKAGE_lcd4linux-full is not set # CONFIG_PACKAGE_lcdproc-clients is not set # CONFIG_PACKAGE_lcdproc-drivers is not set # CONFIG_PACKAGE_lcdproc-server is not set @@ -6134,6 +6229,7 @@ CONFIG_PACKAGE_libucode=y # CONFIG_PACKAGE_sexpect is not set # CONFIG_PACKAGE_shadow-utils is not set # CONFIG_PACKAGE_shared-mime-info is not set +CONFIG_PACKAGE_singleflight=m # CONFIG_PACKAGE_sipcalc is not set # CONFIG_PACKAGE_sispmctl is not set # CONFIG_PACKAGE_slide-switch is not set @@ -6198,7 +6294,7 @@ CONFIG_PACKAGE_ucode-mod-uci=y # CONFIG_PACKAGE_uuidd is not set # CONFIG_PACKAGE_uuidgen is not set # CONFIG_PACKAGE_uvcdynctrl is not set -CONFIG_PACKAGE_v4l-utils=y +# CONFIG_PACKAGE_v4l-utils is not set # CONFIG_PACKAGE_view1090 is not set # CONFIG_PACKAGE_viewadsb is not set # CONFIG_PACKAGE_watchcat is not set diff --git a/package/kernel/rtl8812au-aircrack/Makefile b/package/kernel/rtl8812au-aircrack/Makefile new file mode 100644 index 00000000000000..07810d13154c4c --- /dev/null +++ b/package/kernel/rtl8812au-aircrack/Makefile @@ -0,0 +1,50 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=rtl8812au-aircrack +PKG_RELEASE=1 + +PKG_LICENSE:=GPLv2 +PKG_LICENSE_FILES:= + +PKG_SOURCE_URL:=https://github.com/aircrack-ng/rtl8812au.git +PKG_MIRROR_HASH:=skip +PKG_SOURCE_PROTO:=git +PKG_SOURCE_DATE:=2023-11-07 + +PKG_SOURCE_VERSION:=a3e0c0b6d54546418f046db0dbf1d20e454c9ec2 +PKG_BUILD_PARALLEL:=1 + +STAMP_CONFIGURED_DEPENDS := $(STAGING_DIR)/usr/include/mac80211-backport/backport/autoconf.h + +include $(INCLUDE_DIR)/kernel.mk +include $(INCLUDE_DIR)/package.mk + +define KernelPackage/rtl8812au-aircrack + SUBMENU:=Wireless Drivers + TITLE:=Driver for Realtek 8812 AU devices from aircrack + DEPENDS:=+kmod-cfg80211 +kmod-usb-core +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT + FILES:=$(PKG_BUILD_DIR)/88XXau.ko + AUTOLOAD:=$(call AutoProbe,88XXau) +endef + +NOSTDINC_FLAGS := \ + $(KERNEL_NOSTDINC_FLAGS) \ + -I$(PKG_BUILD_DIR) \ + -I$(PKG_BUILD_DIR)/include \ + -I$(STAGING_DIR)/usr/include/mac80211-backport \ + -I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \ + -I$(STAGING_DIR)/usr/include/mac80211 \ + -I$(STAGING_DIR)/usr/include/mac80211/uapi \ + -include backport/backport.h + +NOSTDINC_FLAGS+=-DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT -DBUILD_OPENWRT + +define Build/Compile + +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \ + $(KERNEL_MAKE_FLAGS) \ + M="$(PKG_BUILD_DIR)" \ + NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \ + modules +endef + +$(eval $(call KernelPackage,rtl8812au-aircrack)) \ No newline at end of file diff --git a/package/kernel/rtl8812au-aircrack/patches/001-fix-openwrt-build.patch b/package/kernel/rtl8812au-aircrack/patches/001-fix-openwrt-build.patch new file mode 100644 index 00000000000000..76ab32253d9a05 --- /dev/null +++ b/package/kernel/rtl8812au-aircrack/patches/001-fix-openwrt-build.patch @@ -0,0 +1,25 @@ +--- a/Makefile ++++ b/Makefile +@@ -1716,7 +1716,11 @@ $(MODULE_NAME)-y += $(_PLATFORM_FILES) + + $(MODULE_NAME)-$(CONFIG_MP_INCLUDED) += core/rtw_mp.o + ++ifneq ($(CONFIG_88XXAU),) + obj-$(CONFIG_88XXAU) := $(MODULE_NAME).o ++else ++obj-m := $(MODULE_NAME).o ++endif + + else + +--- a/os_dep/linux/ioctl_cfg80211.c ++++ b/os_dep/linux/ioctl_cfg80211.c +@@ -464,7 +464,7 @@ u8 rtw_cfg80211_ch_switch_notify(_adapte + cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0); + #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)) + cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false); +-#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0)) || (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0)) ++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) || (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0)) + cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, false); + #else + cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0); diff --git a/target/linux/sunxi/dts/sun8i-h3-nanopi-neo-air.dts b/target/linux/sunxi/dts/sun8i-h3-nanopi-neo-air.dts index ded6cf2ef807fd..ba2cf132d6f0b1 100644 --- a/target/linux/sunxi/dts/sun8i-h3-nanopi-neo-air.dts +++ b/target/linux/sunxi/dts/sun8i-h3-nanopi-neo-air.dts @@ -1,45 +1,3 @@ -/* -* Copyright (C) 2017 Jelle van der Waa -* -* This file is dual-licensed: you can use it either under the terms -* of the GPL or the X11 license, at your option. Note that this dual -* licensing only applies to this file, and not this project as a -* whole. -* -* a) This file is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 of the -* License, or (at your option) any later version. -* -* This file is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* Or, alternatively, -* -* b) Permission is hereby granted, free of charge, to any person -* obtaining a copy of this software and associated documentation -* files (the "Software"), to deal in the Software without -* restriction, including without limitation the rights to use, -* copy, modify, merge, publish, distribute, sublicense, and/or -* sell copies of the Software, and to permit persons to whom the -* Software is furnished to do so, subject to the following -* conditions: -* -* The above copyright notice and this permission notice shall be -* included in all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -* OTHER DEALINGS IN THE SOFTWARE. -*/ - /dts-v1/; #include "sun8i-h3.dtsi" #include "sunxi-common-regulators.dtsi" @@ -183,7 +141,30 @@ status = "okay"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; + status = "okay"; + + // hkv-uart { + // compatible = "hkv,hkv-uart"; + // port { + // ov5640_to_csi: endpoint { + // remote-endpoint = <&csi_from_ov5640>; + // bus-width = <8>; + // data-shift = <2>; + // hsync-active = <1>; + // vsync-active = <0>; + // data-active = <1>; + // pclk-sample = <1>; + // }; + // }; + // }; +}; + &uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; status = "okay"; }; @@ -222,27 +203,6 @@ }; }; -&uart1 { - pinctrl-names = "default"; - pinctrl-0 = <&uart1_pins>; - status = "okay"; - - // hkv-uart { - // compatible = "hkv,hkv-uart"; - // port { - // ov5640_to_csi: endpoint { - // remote-endpoint = <&csi_from_ov5640>; - // bus-width = <8>; - // data-shift = <2>; - // hsync-active = <1>; - // vsync-active = <0>; - // data-active = <1>; - // pclk-sample = <1>; - // }; - // }; - // }; -}; - &i2c0 { clock-frequency = <800000>; status = "okay"; @@ -284,3 +244,31 @@ &i2c2_pins { bias-pull-up; }; + +&usbphy { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&ohci3 { + status = "okay"; +};