Commit Graph

4455 Commits

Author SHA1 Message Date
Eneas U de Queiroz
940200d607 mediatek/mt7622: enable accelerated crypto drivers
Use ARMv8 Crypto Extensions for AES, ghash and sha256.

This results in a 16 times speed gain in speed for aes-128-ctr, 17x in
aes-128-gcm, and 9 times in sha256.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-04-13 16:45:47 +08:00
lean
863f34aa0e kernel : 5.10: backport NFSv4_2 SSC helper commit 2022-04-13 16:38:51 +08:00
lean
7226b23eab kernel:refresh debloat dma buf patch for linux 5.10 2022-04-13 16:34:33 +08:00
breakings
a4c6d18ad9
libnfnetlink: update to 1.0.2 (#9229)
Changes:

c63f193 bump version to 1.0.2
3cffa84 libnfnetlink: Check getsockname() return code
90ba679 include: Silence gcc warning in linux_list.h
bb4f6c8 Make it clear that this library is deprecated
e46569c Minimally resurrect doxygen documentation
5087de4 libnfnetlink: hide private symbols
62ca426 autogen: don't convert __u16 to u_int16_t
efa1d8e src: Use stdint types everywhere
7a1a07c include: Sync with kernel headers
7633f0c libnfnetlink: initialize attribute padding to resolve valgrind warnings
94b68f3 configure: uclinux is also linux
617fe82 src: get source code license header in sync with current licensing terms
97a3960 build: resolve automake-1.12 warnings

Removed the patch 100-missing_include.patch, libnfnetlink compiles fine
with musl without this patch.

Signed-off-by: Nick Hainke <vincent@systemli.org>

Co-authored-by: Nick Hainke <vincent@systemli.org>
2022-04-13 16:30:17 +08:00
breakings
5cfe35f276
libmnl: update to 1.0.5 (#9228)
Changes:

Duncan Roe (5):
      nlmsg: Fix a missing doxygen section trailer
      build: doc: "make" builds & installs a full set of man pages
      build: doc: get rid of the need for manual updating of Makefile
      build: If doxygen is not available, be sure to report "doxygen: no" to ./configure
      src: doc: Fix messed-up Netlink message batch diagram

Fernando Fernandez Mancera (1):
      src: fix doxygen function documentation

Florian Westphal (1):
      libmnl: zero attribute padding

Guillaume Nault (1):
      callback: mark cb_ctl_array 'const' in mnl_cb_run2()

Kylie McClain (1):
      examples: nfct-daemon: Fix test building on musl libc

Laura Garcia Liebana (4):
      examples: add arp cache dump example
      examples: fix neigh max attributes
      examples: fix print line format
      examples: reduce LOCs during neigh attributes validation

Pablo Neira Ayuso (3):
      doxygen: remove EXPORT_SYMBOL from the output
      include: add MNL_SOCKET_DUMP_SIZE definition
      build: libmnl 1.0.5 release

Petr Vorel (1):
      examples: Add rtnl-addr-add.c

Stephen Hemminger (1):
      examples: rtnl-addr-dump: fix typo

igo95862 (1):
      doxygen: Fixed link to the git source tree on the website.

Signed-off-by: Nick Hainke <vincent@systemli.org>

Co-authored-by: Nick Hainke <vincent@systemli.org>
2022-04-13 16:29:45 +08:00
lean
6f4e5befda Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-04-12 12:59:09 +08:00
lean
d39dbc33c3 mt7622: fix pppoe hw flow offload 2022-04-12 12:59:02 +08:00
breakings
500ccda8fc
wolfssl: bump to 5.2.0 (#9240)
Fixes two high-severity vulnerabilities:

- CVE-2022-25640: A TLS v1.3 server who requires mutual authentication
  can be bypassed.  If a malicious client does not send the
  certificate_verify message a client can connect without presenting a
  certificate even if the server requires one.

- CVE-2022-25638: A TLS v1.3 client attempting to authenticate a TLS
  v1.3 server can have its certificate heck bypassed. If the sig_algo in
  the certificate_verify message is different than the certificate
  message checking may be bypassed.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-04-12 12:02:05 +08:00
breakings
8b40102d46
ucode: update to latest Git HEAD (#9230)
33f1e0b treewide: move json-c compat shims into internal header file
e0e9431 vm: move unhandled exception reporting out of `uc_vm_execute_chunk()`
2b59140 vm: fix callframe double free on unhanded exceptions
7d7e950 main: abort when failing to load a preload library
1032a67 lib: let `json()` accept input objects implementing `read()` method
5ee68d5 fs: implement `fs.readfile()` and `fs.writefile()`
df6b861 ci: debian: change path before attempting to invoke Git operations
dfaf05a ci: debian: automatically update changelog from Git tag
34f3c45 ci: fix YAML syntax of Debian workflow
e956bcf fs: fix off-by-one in fs.dirname() function
6fc4b6c .gitignore: fix overmatching patterns, blacklist cram .venv
7c2e082 build: remove legacy json-c check
77942af build: add polyfills for older libjson-c versions
0b4aaa3 CI: build Debian package
f404285 debian: Add package definition
a37f654 types: fix escape sequence encoding of high byte values in JSON strings
aae5312 Update README.md
8134e25 build: fix symlink install target
87c7296 treewide: replace some leftover "utpl" occurrences, update .gitignore
7d27ad5 build: only stage ucc symlink if compile support is enabled
171402f lib: add date and time related functions
8b5dc60 lib: provide API function to obtain stdlib function implementations
eb0d2f1 main: turn ucode into multicall executable
28ee7e1 uloop: add support for tasks
753dea9 CI: build on macOS
668c5c0 lib: add argument position support (`%m$`) to `sprintf()` and `printf()`
ab46fdf treewide: remove legacy json-c include directives
b8f49b1 tests: 21_regex_literals: generalize syntax error test case
fd2e5e7 tests: 16_sort: fix logic flaw exposed on OS X
2c71bf2 tests: run_tests.sh: pass dummy value to `-T` flag
55c4a90 lib: disallow zero padding for %s formats
0d05cb5 tests: run_tests.sh: use greadlink if available
271e520 resolv: make OS X compatible
d13c320 fs: avoid Linux specific sys/sysmacros.h include on OS X
33397a3 uloop: use execvp() on OS X
bafdc8f lib: add naive sigtimedwait() stub for OS X
ada1585 build: consolidate CMakeLists.txt and cover OS X deviations
befbb69 include: add OS X compatible endian.h header
49838a8 include: rename include guards to avoid clashes with system headers
91f65de nl80211: add missing attributes and correct some attribute flags
b4a1fd5 lib: adjust require(), render() and include() raw mode semantics
4618807 main: rework CLI frontend
73dcd78 lib: fix potential integer underflow on empty render output
c402551 vm: fix crash on object literals with non-string computed properties
efe8a02 syntax: support add new operators
078d686 ubus: add event support
6c66c83 ubus: refactor error and argument handling
1cb04f9 ubus: add object publishing, notify and subscribe support
0e85974 uloop: clear errno before integer conversion attempts
05bd7ed types: treat resource type prototypes as GC roots
a2a26ca lib: introduce uloop binding
6b6d01f vm: release this context on exception in managed method call
1af23a9 tests: fix proto() testcase
4ce69a8 fs: implement access(), mkstemp(), file.flush() and proc.flush()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2022-04-12 11:26:17 +08:00
José Hwong
aa3f8bc738
kernel-5.10: fix offset and fuzz for patches (#9238)
Fixed "generic" and "ipq807x" sections.

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>
2022-04-12 11:24:00 +08:00
lean
a1f0402204 kmod-fs-nfs:refresh depends 2022-04-12 11:20:55 +08:00
lean
8c0824b971 generic: backport wireless ethernet dispatch for kernel 5.4 2022-04-12 11:20:07 +08:00
lean
cff9b8fc73 ramips: fix hwnat WED 2022-04-11 15:53:18 +08:00
aakkll
7b72c0d67d
kernel: bump 5.15 to 5.15.33 (#9224)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-11 14:35:37 +08:00
lean
526b4f3339 ipq807x: add qca-nss-drv-bridge-mgr and qca-nss-drv-vlan-mgr 2022-04-11 14:04:33 +08:00
lean
cc057b5fb7 ipq807x : Add NSS bridge-mgr support 2022-04-11 13:54:55 +08:00
lean
db580cfe63 ipq807x: refresh 5.10 patches 2022-04-11 13:00:44 +08:00
lean
f93cd5e516 mediatek: use wpad-openssl replace of wolfssl version 2022-04-11 12:49:24 +08:00
lean
aa0101a649 kernel: bump 5.10 to 5.10.110 2022-04-11 12:47:31 +08:00
lean
4ae5d37ca1 mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-04-11 11:58:21 +08:00
lean
a5f299d925 Revert "kernel: bump 5.10 to 5.10.110 (#9214)"
This reverts commit 4d545eaed7.
2022-04-10 16:32:25 +08:00
lean
d31af3b114 Revert "kernel: bump 5.15 to 5.15.33 (#9215)"
This reverts commit 26844a297a.
2022-04-10 16:31:49 +08:00
Beginner
26844a297a
kernel: bump 5.15 to 5.15.33 (#9215)
Deleted (upstreamed):
generic/backport-5.15/350-v5.18-MIPS-pgalloc-fix-memory-leak-caused-by-pgd_free.patch [1]
generic/backport-5.15/730-v5.16-hv-utils-add-PTP_1588_CLOCK-to-Kconfig-to-fix-build.patch [2]
generic/pending-5.15/850-0014-PCI-aardvark-Fix-reading-PCI_EXP_RTSTA_PME-bit-on-em.patch [3]
generic/pending-5.15/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch [4]

Manually rebased:
generic/pending-5.15/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch
ramips/patches-5.15/710-at803x.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=d29cda15cab086d82d692de016f7249545d4b6b4
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=d5aad7d63b1b5c1f3c4b69e12c05e7c7d196fae8
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=ed750e22e44366e264bcdf7b1cf0713f08f7980a
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=0fe94b84c43cfea867e1721606185e8686d7d32f

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[Refresh patches again]
[Remove generic/pending-5.15/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-04-10 14:49:00 +08:00
Beginner
4d545eaed7
kernel: bump 5.10 to 5.10.110 (#9214)
Removed upstreamed:
  generic/backport-5.10/350-v5.18-MIPS-pgalloc-fix-memory-leak-caused-by-pgd_free.patch
  generic/pending-5.10/850-0014-PCI-aardvark-Fix-reading-PCI_EXP_RTSTA_PME-bit-on-em.patch
  ipq40xx/patches-5.10/105-ipq40xx-fix-sleep-clock.patch

All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200
Compile-/run-tested: ath79/generic (Archer C7 v2).

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-04-10 14:48:51 +08:00
lean
4b0c64e913 target: add kmod-inet-diag by default 2022-04-10 02:04:40 +08:00
ShireCiel
7f9ae85220
mt76: mt7921: Add AP mode support 2022-04-09 23:44:11 +08:00
Junle Fong
847a60f53b
mediatek: add kernel 5.10 missing patch
* update config-5.4 for ramips > mt76x8.

update kernel config file.

* mediatek: fix patches
2022-04-07 23:37:19 +08:00
zhouF96
98eeb48d70
Add basic support for TL-XTR10890 (#9202)
* kernel: add module for  bcm574xx 575xx serials

kernel: add module for bnxt_en Linux driver for the 
Broadcom NetXtreme-C/NetXtreme-E 
BCM573xx, BCM574xx, BCM575xx, NetXtreme-S BCM5880x
(up to 200 Gbps) Ethernet Network Controllers and Broadcom Nitro
BCM58700 4-port 1/2.5/10 Gbps Ethernet Network Controller.

* reapply bcm578xx sfp 2.5g patch

* add basic tplink-xtr10890 support

* update 10890dts and add to platform.sh

* update 10890 dts to try boot qcn9074

* revert qca-ssdk to original version
2022-04-07 22:49:43 +08:00
lean
72a2df6a81 mhi: Add support for forced PM resume 2022-04-07 19:01:10 +08:00
lean
d7780d7360 mhi: use irq_flags if controller driver configures it 2022-04-07 18:38:21 +08:00
lean
89e39d8809 toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
lean
6cb6036c50 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-04-07 00:06:18 +08:00
Felix Fietkau
f718c03a32 bridger: add bridge forwarding accelerator
This package uses BPF to create a fast path which improves bridging performance
by bypassing the bridge layer. It also supports creating tc offload rules for
hardware that supports it.
Hardware offload support can be used with MT7622 + MT7915 once it is merged

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-04-07 00:06:09 +08:00
Beginner
7da8ae4ef4
grub2: add missing license (#9196)
The PKG_LICENSE field was missing.
While at it, normalize the Makefile a bit.

Signed-off-by: Paul Spooren <mail@aparcar.org>

Co-authored-by: Paul Spooren <mail@aparcar.org>
2022-04-06 15:10:03 +08:00
lean
3cab5d38e9 netifd: revert to 2021-06-04 2022-04-06 01:06:20 +08:00
Chen Yijun
956d8303f3
Add Support for HLK-7621 Router Designed By Me (#9194)
* add support for hilink_hlk-7621a

* add dts of mt7621_hilink_hlk-7621a
2022-04-05 22:38:50 +08:00
JoseCoW
1838504b1c
hostapd: add BSS CCA support (#9187)
This adds the pending support for the BSS color collision handling.

This way drivers that implement CCA can on the fly change the BSS color
ID once a collision is detected.

Signed-off-by: Robert Marko <robimarko@gmail.com>

Co-authored-by: Robert Marko <robimarko@gmail.com>
2022-04-05 00:58:43 +08:00
JoseCoW
08a6577256
mac80211: add random BSS color setting (#9188)
Using BSS coloring is one way of improving performance on 802.11ax
radios, currently its only enabled by users adding he_bss_color to their
wireless UCI config.

This made sense as one could easily get BSS color collision as BSS color
range is 1-63.

Hostapd now has a way of dealing with BSS color collisions so we can just
assign a integer in the 1-63 range randomly if one is not set by users.

Signed-off-by: Robert Marko <robimarko@gmail.com>

Co-authored-by: Robert Marko <robimarko@gmail.com>
2022-04-05 00:58:22 +08:00
lean
be8077f517 ipq807x: fix wireless reload after reboot 2022-04-04 00:01:44 +08:00
lean
8f2b0b86b1 netifd: bump to version 2022-02-20 2022-04-03 19:12:12 +08:00
lean
b8c337abe5 ath79: add kernel 5.15 support 2022-04-03 13:34:55 +08:00
lean
91d301c03b mediatek: add kernel 5.15 support 2022-04-03 13:29:14 +08:00
lean
6135e15ba4 ramips: add kernel 5.15 support 2022-04-03 13:27:24 +08:00
lean
0cc75fbbb7 automount: skip some partition 2022-04-03 13:24:18 +08:00
lean
e449c765d6 kernel: refresh 5.15 patches and config 2022-04-03 13:03:13 +08:00
Bobby
f5307dff2a
index.html: DHCP client list re-order 2022-04-03 12:47:40 +08:00
lean
6482d2270c backport-5.15: refresh patches 2022-04-03 12:44:52 +08:00
lean
8ee8d8cf46 mac80211: fix ath11k kernel 5.15 support 2022-04-03 01:03:27 +08:00
lean
3530c1b73f mac80211: fix ath11k support for IPQ target 2022-04-03 00:53:56 +08:00
lean
ba1f8c931c kernel: export symbol dev_set_threaded 2022-04-03 00:16:52 +08:00