[PATCH 5/6] at91/sama7: Do not build in Bluetooth

2022-04-05 Thread Hauke Mehrtens
Bluetooth should be activated as an optional kmod package instead of compiling it into the kernel. Signed-off-by: Hauke Mehrtens --- target/linux/at91/sama7/config-default | 6 -- 1 file changed, 6 deletions(-) diff --git a/target/linux/at91/sama7/config-default b/target/linux/at91/sama7

[RFC PATCH] mac80211: Update to version 5.15.32-test5

2022-04-05 Thread Hauke Mehrtens
This updates mac80211 to version 5.15.32-test5. The removed patches were applied upstream. This was generated from this backports version: https://github.com/hauke/backports/tree/devel-5.15 Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 8 +- .../patches/ath

[PATCH] at91: Automatically detect USB feature

2022-04-06 Thread Hauke Mehrtens
support USB. Signed-off-by: Hauke Mehrtens --- This should replace the patch activating USB support for the sama7 sub target. target/linux/at91/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index 36804a1eeb6f

Re: [PATCH 0/6] at91/sama7: Update kernel configuration to fix build

2022-04-06 Thread Hauke Mehrtens
On 4/6/22 18:05, claudiu.bez...@microchip.com wrote: Hi, Hauke, Thanks for taking care of this. On 06.04.2022 00:04, Hauke Mehrtens wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe This cleans up the kernel configuration of the at91/sama7

Re: [PATCH] at91: Automatically detect USB feature

2022-04-07 Thread Hauke Mehrtens
On 4/7/22 08:49, claudiu.bez...@microchip.com wrote: On 07.04.2022 01:49, Hauke Mehrtens wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe The sama7 sub target does not have USB support, the feature should not be activated there. OpenWrt can

[PATCH] toolchain: musl: Update to version 1.2.3

2022-04-10 Thread Hauke Mehrtens
stack canary from leak via read-as-string by zeroing second byte * fix excessively slow TLS performance on some mips models Signed-off-by: Hauke Mehrtens --- I would prefer to add this to OpenWrt 22.03 too. This contains mostly bugfixes which look useful also for OpenWrt 22.03. toolchain

[PATCH 21.02] mac80211: Update to version 5.10.110-1

2022-04-10 Thread Hauke Mehrtens
This updates mac80211 to version 5.10.110-1 which is based on kernel 5.10.110. The removed patches were applied upstream. This new release contains many fixes which were merged into the upstream Linux kernel. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6

[PATCH] linux-firmware: Update to version 20220411

2022-04-11 Thread Hauke Mehrtens
/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode Signed-off-by: Hauke Mehrtens --- package/firmware/linux-firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index c387e6e4b025

Re: [PATCH 1/3] ramips: hlk-7621a-evb: remove WiFi support

2022-04-17 Thread Hauke Mehrtens
On 4/13/22 14:05, Reinhard Max wrote: The HiLink HLK-7621A evaluation board[1] contains no on-board WiFi hardware and its Mini PCIe slot can be used for arbitrary extension cards. So it makes no sense for a default build to assume that any particular type of WiFi chip is present. [1] http://hlkt

Re: [PATCH] ramips: add support for TP-Link RE650 v2

2022-04-17 Thread Hauke Mehrtens
On 4/8/22 00:29, Marcin Gordziejewski wrote: TP-Link RE650 v2 is largely similar to v1 that is already supported by OpenWrt. Notable differences is differnt SPI Flash - 8 MB instead of 16 MB (from cFeon instead of Winbond) and a different configuration of PCIE connections to wifi chips. Otherwise

[PATCH] toolchain: Update glibc 2.34 to recent HEAD

2022-04-18 Thread Hauke Mehrtens
b54c8 S390: Add new s390 platform z16. 290db09546 nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 4 ++-- ...Revert-Disallow-use-of-DES-encryption-functions-in-n.patc

OpenWrt 21.02.3 Third service release

2022-04-20 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the third service release of OpenWrt 21.02. It fixes security issues, improves device support, and brings a few bug fixes. We recently moved our bugs to GitHub, please report issues over there (after checking that nobody else posted the same iss

OpenWrt 19.07.10 service release

2022-04-20 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest service release of OpenWrt 19.07. It fixes security issues, improves device support, and brings a few bug fixes. OpenWrt 19.07.10 is the final release of the 19.07 release branch, this branch is now end of life and we will not fix pro

Battlemesh is back in September -- date poll for WBMv14

2022-04-23 Thread Hauke Mehrtens
Hi, The planning for Battlemesh v14 are ongoing and they are looking for a date. OpenWrt participated in the Battlemesh v13 online edition in 2020. We do not have an OpenWrt conference, mostly because organizing such an event is a lot of none technical work. It would be nice if the OpenWrt co

Re: [PATCH] ramips: add support for TP-Link RE650 v2

2022-04-23 Thread Hauke Mehrtens
d the specification from it and only changed the facts that I knew changed. How should I go about verifying that it's actually 4T4R or 2T2R? (Ignore previous email, I didn't use reply to all) April 17, 2022 3:40 PM, "Hauke Mehrtens" wrote: On 4/8/22 00:29, Marcin Gordziejewski wro

Re: OpenWrt 19.07.10 service release

2022-04-23 Thread Hauke Mehrtens
On 4/22/22 11:34, Roger Pueyo Centelles | Guifi.net wrote: Hi, Congratulations for this service release! Could it be that the index page at https://downloads.openwrt.org hadn't been updated to show 19.07.10? The same goes for 21.02.3. Thanks, Roger Hi, It should be updated now. Different pe

Re: ZTE MF286R modem support

2022-04-23 Thread Hauke Mehrtens
On 4/16/22 22:26, Lech Perczak wrote: Hello, Recently my PR #9670 [1] which includes fixes needed to support built-in modem of ZTE MF286R router was merged to master. The (incomplete) support for MF286R landed together with MF286A before branching off 22.03 release. I'd be grateful if fixes f

OpenWrt 22.03.0-rc1 first release candidate

2022-04-24 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the first release candidate of the upcoming OpenWrt 22.03 stable version series. It incorporates over 3400 commits since branching the previous OpenWrt 21.02 release and has been under development for about one year. This is just a release candi

Re: [PATCH] packages: nvram: add NVRAM quirks for bcm53xx target

2022-05-03 Thread Hauke Mehrtens
On 5/3/22 09:44, Arınç ÜNAL wrote: On 03/05/2022 10:20, Rafał Miłecki wrote: On 31.03.2022 21:19, Arınç ÜNAL wrote: Add NVRAM quirks script for the bcm53xx target. Split NVRAM quirks for the bcm47xx and bcm53xx targets. Move clear partialboot NVRAM quirk for Linksys EA9500 here. Add set wirel

Re: ZTE MF286R modem support

2022-05-03 Thread Hauke Mehrtens
On 4/29/22 00:20, Lech Perczak wrote: W dniu 2022-04-23 o 22:32, Hauke Mehrtens pisze: On 4/16/22 22:26, Lech Perczak wrote: Hello, Recently my PR #9670 [1] which includes fixes needed to support built-in modem of ZTE MF286R router was merged to master. The (incomplete) support for MF286R

Re: 5G wifi doesn't really work on my tp-link Archer C7 v2

2022-05-19 Thread Hauke Mehrtens
On 5/16/22 15:54, e9hack wrote: Hi, I've trouble with the following commit: commit    3aa96efa24c13c6e0aafa5ad826f3f95a3bd74f9 mac80211: Update to version 5.15.33-1 After this commit the 5G wifi interface doesn't start properly. The interfaces are visible with ifconfig, but it isn't visible o

OpenWrt 22.03.0-rc4 fourth release candidate

2022-06-14 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the fourth release candidate of the upcoming OpenWrt 22.03 stable version series. It incorporates over 3500 commits since branching the previous OpenWrt 21.02 release and has been under development for about one year. This is just a release cand

Re: Testing network / NAT performance

2022-06-17 Thread Hauke Mehrtens
Hi Rafal, Thank you for your detailed analyses and also for the detailed report. This is very helpful when I ran into this problem. Can we somehow automate it so that we get notified a day after a bad change was committed about performance regression and not one year after? On 6/14/22 15:16

Re: [PATCH 2/2] kernel: drop patch adding hardcoded kernel compilation flags

2022-06-20 Thread Hauke Mehrtens
nwrt/patch/20190409093046.13401-1-zaj...@gmail.com/ Cc: Felix Fietkau Cc: Hauke Mehrtens Cc: Rui Salvaterra Signed-off-by: Rafał Miłecki Acked-by: Hauke Mehrtens ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.o

OpenWrt @ BattleMesh V14

2022-07-06 Thread Hauke Mehrtens
OpenWrt supports this year's "Wireless Battle of the Mesh - Building Community Networks for Fun and Non-Profit". The event aims to bring together people from across the globe who are interested in community networks, including wireless mesh network technologies, fiber infrastructure, Do-It-You

OpenWrt 22.03.0-rc5 fifth release candidate

2022-07-08 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the fifth release candidate of the upcoming OpenWrt 22.03 stable version series. It incorporates over 3500 commits since branching the previous OpenWrt 21.02 release and has been under development for about one year. This is just a release candi

Re: [PATCH] libmnl: fix build when bash is not located at /bin/bash

2022-07-10 Thread Hauke Mehrtens
On 6/21/22 16:38, Mark Mentovai wrote: From: Mark Mentovai This fixes the libmnl build on macOS, which ships with an outdated bash at /bin/bash. During the OpenWrt build, a modern host bash is built and made available at staging_dir/host/bin/bash, which is present before /bin/bash in the build'

Re: [PATCH 4/5] kernel: netsupport: Add kmod-sched-act-sample

2022-07-21 Thread Hauke Mehrtens
On 7/21/22 18:42, Stijn Tintel wrote: Hi, On 18/07/2022 17:01, Hauke Mehrtens wrote: From: Thomas Langer This adds the act_sample.ko and psample.ko kernel module which allows traffic sampling. Signed-off-by: Thomas Langer Signed-off-by: Hauke Mehrtens ---   package/kernel/linux/modules

Re: [PATCH] airoha: Add new target platform

2022-07-27 Thread Hauke Mehrtens
Hi Daniel, Is it possible to buy devices with this SoC in the retail market or on ebay? On 7/27/22 13:57, Daniel Danzberger wrote: Airoha is a new ARM platform based on Cortex A7 which has recently been merged into linux-next. The device tree says it is a arm,cortex-a53, see target/linux/air

mac80211: Update to version 5.15.58-1

2022-07-30 Thread Hauke Mehrtens
This updates mac80211 to version 5.15.58-1 which is based on kernel 5.15.58. The removed patches were applied upstream. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6 +- .../patches/ath/402-ath_regd_optional.patch | 2 +- .../patches/ath/404

Re: [PATCH] hostapd: fix segfault sending bss transition mgmt response on ubus

2022-07-31 Thread Hauke Mehrtens
On 7/24/22 15:28, Sakura Industries wrote: In the ubus support patch for bss transition management responses, the target_bssid variable is left uninitialized if the client refuses to transition for any reason.  This leads to random segfaults in hostapd when it marshals the ubus message, because

OpenWrt 22.03.0-rc6 sixth release candidate

2022-08-02 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the sixth release candidate of the upcoming OpenWrt 22.03 stable version series. It incorporates over 3500 commits since branching the previous OpenWrt 21.02 release and has been under development for about one year. This is just a release candi

Re: [PATCH] airoha: Add new target platform

2022-08-03 Thread Hauke Mehrtens
On 8/1/22 18:16, Daniel Danzberger wrote: On Wed, 2022-07-27 at 14:53 +0200, Robert Marko wrote: On Wed, 27 Jul 2022 at 14:50, Hauke Mehrtens wrote: Hi Daniel, Is it possible to buy devices with this SoC in the retail market or on ebay? On 7/27/22 13:57, Daniel Danzberger wrote: Airoha is

Re: [PATCH v2 1/3] ath79: mikrotik: stack ar9344 devices to single dtsi

2022-08-06 Thread Hauke Mehrtens
On 7/20/22 22:31, Tomasz Maciej Nowak wrote: From: Tomasz Maciej Nowak Most of boards from MikroTik with AR9344 SoC (supported and un-supported) replicate the same schematic, so stack common device nodes to a single dtsi. Signed-off-by: Tomasz Maciej Nowak Hi, It is really hard for me to f

Re: [PATCH v2 3/3] ath79: add support for MikroTik RouterBOARD 911 Lite2/Lite5

2022-08-06 Thread Hauke Mehrtens
On 7/20/22 22:31, Tomasz Maciej Nowak wrote: From: Tomasz Maciej Nowak Forward-port from ar71xx target the board introduced in commit eb9e3651dd1a (" ar71xx: add support for the MikroTik RB911-2Hn/5Hn boards"). Follow intallation instruction from that commit message, using images found in ath79

[PATCH fstools 1/2] libfstools: Rename move_mount() function to ovl_move_mount() for glibc 2.36

2022-08-07 Thread Hauke Mehrtens
glibc in version 2.36 defines an own function named move_mount() in some header. The definition from glibc collides with our definition, just rename the function in fstools. Signed-off-by: Hauke Mehrtens --- libfstools/overlay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH fstools 2/2] block: Do not include linux/fs.h any more

2022-08-07 Thread Hauke Mehrtens
glibc 2.36 changed the definition of enum fsconfig_command, it now collides with the same definition from sys/mount.h. Remove the include of linux/fs.h This still compiled with musl too. Signed-off-by: Hauke Mehrtens --- block.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/block.c b

Re: Reaching out to Greg KH for 6 year LTS kernel versions

2022-08-10 Thread Hauke Mehrtens
On 8/9/22 01:15, Florian Fainelli wrote: Hi, Greg KH has communicated a few times before on his blog [1] that he is seeking the help of individuals and company to help him maintain the LTS kernels and allow them to be made 6 years instead of just the usual 2 years. 5.10 is a 6 year LTS, but

Re: [PATCHv2] ramips: add support for Notion R281

2022-08-13 Thread Hauke Mehrtens
On 7/27/22 05:17, Ian Pangilinan wrote: From: Ian Pangilinan Date: Sun, 27 July 2022 10:55:00 +0800 Subject: [PATCHv2] ramips: add support for Notion R281 Notion R281 is a Cat.6 LTE CPE. It is known as Boosteven R281 in some markets. Product link: https://www.notioni.com/productinfo/759146.h

Re: [PATCH] netifd: fix WPA3 enterprise ciphers

2022-08-13 Thread Hauke Mehrtens
On 6/26/22 17:21, Joerg Werner wrote: WPA3 enterprise requires wpa_cipher to be GCMP-256, so if the user set encryption to wpa3 or wpa3-mixed, then add GCMP-256. Also allow explicit selection of GCMP-256 by adding gcmp256 at the end of the encryption value. This code from hostapd looks like the

Re: [PATCH] Add support for CCMP-256 and GCMP-256 ciphers

2022-08-18 Thread Hauke Mehrtens
On 8/18/22 11:44, Joerg Werner wrote: Signed-off-by: Joerg Werner --- include/iwinfo.h | 22 -- iwinfo_cli.c | 6 ++ iwinfo_lua.c | 6 ++ iwinfo_nl80211.c | 14 -- iwinfo_utils.c | 10 -- 5 files changed, 40 insertions(+), 18 del

Re: [PATCH] libubox: add missing NULL check

2022-08-20 Thread Hauke Mehrtens
On 6/22/22 20:58, Rosen Penev wrote: strlen takes non NULL parameters. Found with GCC's -fanalyzer. Signed-off-by: Rosen Penev --- blobmsg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blobmsg.c b/blobmsg.c index d87d607..bb6c469 100644 --- a/blobmsg.c +++ b/blobmsg.c @@ -364,6 +36

Re: [PATCH] uqmi: fix compilation with GCC12

2022-08-21 Thread Hauke Mehrtens
On 6/11/22 16:47, Bjørn Mork wrote: e9hack writes: The 'dangling pointer' issue can be fix without using malloc(). --- a/dev.c 2022-05-04 02:18:17.0 +0200 +++ b/dev.c 2022-06-11 08:48:21.185567953 +0200 @@ -206,6 +206,7 @@ void qmi_request_cancel(struct qmi_dev * int qmi_req

Re: [PATCH] umdns: add timeout_lookup parameter for services

2022-09-04 Thread Hauke Mehrtens
On 8/26/22 13:40, Tobias Waldvogel wrote: From: Tobias Waldvogel Printing on Android devices via mdns IPP does not work with the default value of 60 seconds for the lookup timeout. It seems that Androd expects an immediate answer just when trying to print. Nevertheless the umdns debug messages

OpenWrt 22.03.0 first stable release

2022-09-05 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the first stable release of the OpenWrt 22.03 stable version series. It incorporates over 3800 commits since branching the previous OpenWrt 21.02 release and has been under development for about one year. Download firmware image for your device

Re: [PATCH v2] arm-trusted-firmware-mvebu: stop cluttering Image Builder

2022-09-06 Thread Hauke Mehrtens
On 8/31/22 17:03, Tomasz Maciej Nowak wrote: From: Tomasz Maciej Nowak All contents of staging_dir/image are included in Image Builder (IB) in case some binary needs to be included in final image. But in case of this package, all sources are stored there and those clutter the final tarball of I

Re: [PATCH v2] arm-trusted-firmware-mvebu: stop cluttering Image Builder

2022-09-07 Thread Hauke Mehrtens
On 9/7/22 19:23, Tomasz Maciej Nowak wrote: W dniu 7.09.2022 o 00:15, Hauke Mehrtens pisze: On 8/31/22 17:03, Tomasz Maciej Nowak wrote: From: Tomasz Maciej Nowak All contents of staging_dir/image are included in Image Builder (IB) in case some binary needs to be included in final image. But

Re: [PATCH] kernel/crypto: fix crypto-lib-curve25519 x86_64 build

2022-09-24 Thread Hauke Mehrtens
On 7/21/22 15:17, Florian Eckert wrote: The crypto-lib-curve25519 dependency for x86_64 could not be met, because the package for for the architecture x86_64 was not added to crypto-lib-curve package. Also the package arch definition for x86/64 does not exist. It musst be change to x86_64 to get

Re: [PATCH] uqmi: fix compilation with GCC12

2022-09-29 Thread Hauke Mehrtens
On 9/28/22 04:22, Rosen Penev wrote: On Sun, Aug 21, 2022 at 7:54 AM Hauke Mehrtens wrote: On 6/11/22 16:47, Bjørn Mork wrote: e9hack writes: The 'dangling pointer' issue can be fix without using malloc(). --- a/dev.c 2022-05-04 02:18:17.0 +0200 +++ b/dev.c 2022-0

Re: [PATCH] ramips: add support for Tozed S12 Plus (UNISOC)

2022-10-02 Thread Hauke Mehrtens
On 7/28/22 07:31, Ian Pangilinan wrote: From: Ian Pangilinan Date: Sun, 28 July 2022 11:27:00 +0800 Subject: [PATCH] ramips: add support for Tozed S12 Plus (UNISOC) Tozed S12 Plus (UNISOC) is a Cat.6 LTE CPE. It is known as ZLT S12 Pro in some markets. Product link: https://www.sztozed.com/e

Re: Handle target path located under target/linux/feeds/

2022-10-03 Thread Hauke Mehrtens
On 5/31/22 07:23, Prasun Maiti wrote: When we are installing targets to target/linux/feeds, BOARD is not located under target/linux/ So, we need to handle this scenario taking proper target path Does this change also fix your problem? https://git.openwrt.org/3a8825ad6acbf18b2b472ace56be58868af

Re: [PATCH] argp-standalone: generate a shared library instead of static library

2022-10-03 Thread Hauke Mehrtens
On 9/28/22 12:11, Petr Štetiar wrote: Thomas Langer [2022-09-13 17:47:56]: Hi, Change the argp-standalone package to produce a shared library instead of a static library for the target. The host build is not changed. we can see that from the diff already, so we would prefer to know, why wou

Re: Handle target path located under target/linux/feeds/

2022-10-03 Thread Hauke Mehrtens
On 10/3/22 17:24, Hauke Mehrtens wrote: On 5/31/22 07:23, Prasun Maiti wrote: When we are installing targets to target/linux/feeds, BOARD is not located under target/linux/ So, we need to handle this scenario taking proper target path Does this change also fix your problem? https

Re: [PATCH 21.02 0/5] backport fix for TLSv1.3 RCE in uhttpd by using 5.5.1-stable

2022-10-05 Thread Hauke Mehrtens
: bump to 5.4.0 Ivan Pavlov (1): wolfssl: bump to 5.5.0 Petr Štetiar (2): wolfssl: fix TLSv1.3 RCE in uhttpd by using 5.5.1-stable (CVE-2022-39173) treewide: fix security issues by bumping all packages using libwolfssl Acked-by:

OpenWrt 21.02.4 and OpenWrt 22.03.1 release planning

2022-10-05 Thread Hauke Mehrtens
Hi, I would like to do an OpenWrt 21.02.4 and OpenWrt 22.03.1 release on the next weekend or some days later. Are there still some commits missing which should get backported? I will wait for the wolfssl update from Petr. I do not see much on github: https://github.com/openwrt/openwrt/pulls?

Re: [RFC] Refactoring OpenWrt's build infra

2022-10-05 Thread Hauke Mehrtens
On 10/5/22 17:56, Thibaut wrote: Hi, Following an earlier conversation on IRC with Petr, I’m willing to work on refactoring our buildbot setup as follows: - single master for each stage (images and packages) - latent workers attached to either master, thus able to build opportunistically from

Re: OpenWrt 21.02.4 and OpenWrt 22.03.1 release planning

2022-10-09 Thread Hauke Mehrtens
On 10/6/22 16:42, Szabolcs Hubai wrote: Hi Hauke, There is another LZMA ERROR 1 issue [0] for a ramips/rt3883 device. I have sent a fix for that to GitHub as PR#10834 [1]. It's not on the master, as it is not reviewed yet. The problem is that this device is a SEAMA device, and it got the "$

OpenWrt 22.03.1 first service release

2022-10-12 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwr

OpenWrt 21.02.4 fourth service release

2022-10-12 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 21.02 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwr

OpenWrt 22.03.2 second service release

2022-10-17 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwr

Security Advisory 2022-10-17-1 - Multiple issues in mac80211 and cfg80211 (CVE-2022-41674, CVE-2022-42719, CVE-2022-42720, CVE-2022-42721 and CVE-2022-42722)

2022-10-17 Thread Hauke Mehrtens
DESCRIPTION Multiple vulnerabilities were found in the Linux Kernel mac80211 and cfg80211 framework. OpenWrt takes the mac80211 and cfg80211 framework from the wireless backports project which copies it from a more recent Linux kernel version. These vulnerabilities are in the multi BSSID (MB

OpenWrt 21.02.5 fifth service release

2022-10-17 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 21.02 stable version series. It fixes security issues. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwrt.org/?version=21.02.5 Download firmware images direct

Re: CVEs in OpenWrt 22.03

2022-10-24 Thread Hauke Mehrtens
On 10/20/22 22:26, Peter Naulls wrote: Apologies for the obtuseness of the previous email about the squashfs permissions - that's related to the following, but a different topic.  I can now say that we're undergoing a security review for our system which is very much based upon OpenWrt 22.03

Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-24 Thread Hauke Mehrtens
On 10/23/22 13:19, Torsten Duwe wrote: Hi all, Here is my second attempt for initial FritzBox x490 support. 22.03 now has all the necessary prerequisites, so support can be added according to the rules. The original code snippets were submitted by John Crispin (IIRC), Andreas Böhler and Daniel

Re: SBOM Tool for OpenWRT to feed Dependency Track

2022-10-24 Thread Hauke Mehrtens
On 10/18/22 16:38, Pfendtner Steffen wrote: Hi, We decided to publish our internal fork of the Timesys SBOM Tool we found on github. You find our version at: https://github.com/ads-tec/sbom-openwrt It takes a complete OpenWRT build tree as input and will generate a SBOM in CycloneDX JSON Format

Re: CVEs in OpenWrt 22.03

2022-10-26 Thread Hauke Mehrtens
On 10/25/22 16:29, Peter Naulls wrote: On 10/24/22 18:21, Hauke Mehrtens wrote: Hauke, thanks for replying! I also prefer if the CVE number is named in the patch. If this is missing somewhere you could send a patch or pull request to rename the patch. I'm afraid I don't have an

Re: CVEs in OpenWrt 22.03

2022-10-26 Thread Hauke Mehrtens
On 10/25/22 17:21, Dave Taht wrote: On Tue, Oct 25, 2022 at 7:37 AM Peter Naulls wrote: On 10/24/22 18:21, Hauke Mehrtens wrote: Hauke, thanks for replying! As I said on a related thread - if an eu body can be found to care more deeply on these issues, I'm pretty sure 30-50k of fundi

Re: AW: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-26 Thread Hauke Mehrtens
as a start there will not be any downloadable images that cover all possible functionality. Daniel. -Original-Nachricht- Betreff: Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes Datum: 2022-10-25T00:24:57+0200 Von: "Hauke Mehrtens" An: "Torsten Duwe&qu

Re: [RFC PATCH 0/2] toolchain: build all user space with sanitizer on glibc

2023-01-05 Thread Hauke Mehrtens
On 1/4/23 18:39, Christian Marangi wrote: On Sun, Jan 17, 2021 at 06:10:34PM +0100, Hauke Mehrtens wrote: This patch allows to build most the OpenWrt user space with address and undefined behavior sanitizer activated by default. This only works with glibc and gcc 10 and I only tested this on

Re: [PATCH v3] ramips: mt7621: Add Arcadyan WE420223-99 support

2023-01-06 Thread Hauke Mehrtens
On 1/2/23 17:36, Harm Berntsen wrote: The Arcadyan WE420223-99 is a WiFi AC simultaneous dual-band access point distributed as Experia WiFi by KPN in the Netherlands. It features two ethernet ports and 2 internal antennas. Specifications -- SOC : Mediatek MT7621AT ETH : Two 1 gig

Re: [PATCH] ramips: add support for D-Link DAP-X1860 A1

2023-01-06 Thread Hauke Mehrtens
On 12/13/22 23:15, Sebastian Schaper wrote: The DAP-X1860 is a wall-plug AX1800 repeater. Specifications: - MT7621, 256 MiB RAM, 128 MiB SPI NAND - MT7915 + MT7975 2x2 802.11ax (DBDC) - Ethernet: 1 port 10/100/1000 - LED RSSI bargraph (2x green, 1x red/green), incorrectly populated red/orange

OpenWrt 22.03.3 third service release

2023-01-08 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwr

[PATCH relayd] route: Fix compile warning with glibc

2023-01-21 Thread Hauke Mehrtens
| ^~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. Signed-off-by: Hauke Mehrtens --- route.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/route.c b/route.c index c552d1f..602fdc9 100644 --- a/route

WRT54GS flash broken

2023-01-22 Thread Hauke Mehrtens
Hi, I wanted to flash a recent OpenWrt onto a WRT54GS today and broke something. I used the recovery mechanism in the CFE boot loader: CFE version 1.0.37 for BCM947XX (32bit,SP,LE) Build Date: Fri Jun 25 15:49:22 CST 2004 (root@Amin) Copyright (C) 2000,2001,2002,2003 Broadcom Corporatio

[OpenWrt-Devel] [PATCH libubox] blob: Check remaining size in blob_parse()

2020-01-26 Thread Hauke Mehrtens
This extends the blob_parse() function to check that no inner attribute is bigger than the outside attribute. The blob_parse_untrusted() should be used when we know the size of blob_attr *attr, in some other way. Signed-off-by: Hauke Mehrtens --- blob.c | 3 ++- 1 file changed, 2 insertions

[OpenWrt-Devel] [PATCH 18.06] libubox: backport security patches

2020-01-26 Thread Hauke Mehrtens
but not used. OpenWrt master and 19.07.0 already have these patches by using a more recent libubox version. Signed-off-by: Hauke Mehrtens --- This should not change the libubox ABI, but backports most of the changes which are in master. I hope I didn't miss anything important. package

[OpenWrt-Devel] OpenWrt 19.07.1 and 18.06.7

2020-01-26 Thread Hauke Mehrtens
Hi, We plan to tag and build OpenWrt 19.07.1 and 18.06.7 on Wednesday evening. Hauke signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwr

Re: [OpenWrt-Devel] [PATCH libubox] blob: Check remaining size in blob_parse()

2020-01-26 Thread Hauke Mehrtens
On 1/26/20 4:14 PM, Hauke Mehrtens wrote: > This extends the blob_parse() function to check that no inner attribute > is bigger than the outside attribute. The blob_parse_untrusted() should > be used when we know the size of blob_attr *attr, in some other way. > > Signed-off-by:

[OpenWrt-Devel] [PATH 19.07] mac80211: Update to version 4.19.98

2020-01-26 Thread Hauke Mehrtens
The removed patches are all integrated in the upstream version now. Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6 +- .../ath/930-ath10k_add_tpt_led_trigger.patch | 4 +- ...-of-peer_bw_rxnss_override-parameter.patch | 2 +- ...dling-for-VHT160-in

Re: [OpenWrt-Devel] [PATCH 18.06] libubox: backport security patches

2020-01-27 Thread Hauke Mehrtens
On 1/26/20 4:55 PM, Hauke Mehrtens wrote: > This backports some security relevant patches from libubox master. These > patches should not change the existing API and ABI so that old > applications still work like before without any recompilation. > Application can not also use more

[OpenWrt-Devel] OpenWrt developer meeting at Battlemesh

2020-02-02 Thread Hauke Mehrtens
Hi, We would like to organize a public, free of charge OpenWrt developer meeting at the Battlemesh this year. The Wireless Battle of the Mesh (Battlemesh) is an event that aims at bringing together people from across the world to test the performance of different routing protocols for ad-hoc netwo

[OpenWrt-Devel] x86: Add missing kernel option CONFIG_X86_DECODER_SELFTEST

2020-02-11 Thread Hauke Mehrtens
This option has now a different dependency and can be activated, set a default value. Fixes: 20b5a4ca01ca ("kernel: bump 4.19 to 4.19.101") Signed-off-by: Hauke Mehrtens --- target/linux/x86/config-4.14 | 1 + target/linux/x86/config-4.19 | 1 + 2 files changed, 2 insertions(+) di

[OpenWrt-Devel] [PATCH 4/4] build: Add additional kernel debug options

2020-02-12 Thread Hauke Mehrtens
Make it possible to activate some additional kernel debug options. This can be used to debug some problems in kernel drivers. Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 68 target/linux/generic/config-4.14 | 5 +++ target/linux/generic

[OpenWrt-Devel] [PATCH 1/4] build: Add option KERNEL_UBSAN

2020-02-12 Thread Hauke Mehrtens
The kernel Undefined Behavior Sanitizer is able to detect some memory bugs in the kernel like out of range array accesses. Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 35 target/linux/generic/config-4.14 | 4 target/linux/generic

[OpenWrt-Devel] [PATCH 3/4] build: Add KCOV kernel code coverage for fuzzing

2020-02-12 Thread Hauke Mehrtens
The adds an option to activate KCOV (Code coverage for fuzzing). Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 33 + 1 file changed, 33 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 3059a45f48..8e9e3518bf 100644

[OpenWrt-Devel] [PATCH 2/4] build: Add option KERNEL_KASAN

2020-02-12 Thread Hauke Mehrtens
The kernel kernel address sanitizer is able to detect some memory bugs in the kernel like out of range array accesses. Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 52 target/linux/generic/config-4.14 | 1 + target/linux/generic/config

Re: [OpenWrt-Devel] [PATCH] target: bump minimum CPU type to pentium-mmx

2020-02-22 Thread Hauke Mehrtens
On 1/12/20 5:44 AM, Rosen Penev wrote: > f4f8f4a180366ee90fd8e153213db2cb746ca361 broke ffmpeg compilation with x86 > > The reason is that ffmpeg's x86 assembly requires at least MMX, which the > pentium CPU_TYPE was preventing. As far as I understand it MMX is already needed and you just want to

[OpenWrt-Devel] [PATCH] rtl8812au-ct: Update to version 2020-01-12

2020-02-22 Thread Hauke Mehrtens
This fixes compile problems with kernel 5.4 Signed-off-by: Hauke Mehrtens --- We need this update to make this driver compile against kernel 5.4, but I do not have the hardware to run time test this change. package/kernel/rtl8812au-ct/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [OpenWrt-Devel] ath10k QCA9880 firmware TX hang

2020-02-22 Thread Hauke Mehrtens
On 10/19/19 1:43 PM, David Bauer wrote: > Hello, > > while preparing the switch to 19.07 for the mesh-framework Gluon, we found an > issue > with ath10k, which results in an overflowing TX queue in the kernel. The > QCA9880 does > not send TX_DONE or TX_FAILED messages back to the driver, which

[OpenWrt-Devel] [PATCH v2 1/3] mac80211: Allow ADHOC mode and different beacon intervals

2020-02-22 Thread Hauke Mehrtens
ath10k-ct supports the combination to select ADHOC (IBSS) mode and different beacon intervals together. mac80211 does not like this combination, but Ben says this is ok, so remove this check. Signed-off-by: Hauke Mehrtens --- .../patches/subsys/400-allow-ibss-mixed.patch | 29

[OpenWrt-Devel] [PATCH v2 3/3] ath10k-ct: Use ath10k-ct version 5.4

2020-02-22 Thread Hauke Mehrtens
This makes ath10k-ct use the version based on kernel 5.4 by default. Signed-off-by: Hauke Mehrtens --- The update to version 5.4 is needed to make this driver compile against kernel 5.4. This got some minimal testing on IPQ4019 by me. package/kernel/ath10k-ct/Makefile | 4

[OpenWrt-Devel] [PATCH v2 2/3] ath10k-ct: Update to version 2020-02-18

2020-02-22 Thread Hauke Mehrtens
This adds AP vlans support. Signed-off-by: Hauke Mehrtens --- package/kernel/ath10k-ct/Makefile | 6 ++-- ...rolling-support-for-various-chipsets.patch | 36 +-- ...h10k-4.16-use-tpt-trigger-by-default.patch | 4 +-- 3 files changed, 23 insertions(+), 23 deletions

[OpenWrt-Devel] [PATCH] linux-atm: Fix compile warning

2020-02-22 Thread Hauke Mehrtens
fixes") Signed-off-by: Hauke Mehrtens --- .../patches/400-portability_fixes.patch | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/package/network/utils/linux-atm/patches/400-portability_fixes.patch b/package/network/utils/linux-atm/p

[OpenWrt-Devel] [PATCH] kernel: Sort generic configuration

2020-02-23 Thread Hauke Mehrtens
eneric/config-4.14 /dev/null > target/linux/generic/config-4.14-new $ mv target/linux/generic/config-4.19-new target/linux/generic/config-4.19 Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.14 | 2 +- target/linux/generic/config-4.19 | 8 2 files changed, 5 insertion

[OpenWrt-Devel] [PATCH 01/12] armvirt: Remove kernel 4.14 support

2020-03-01 Thread Hauke Mehrtens
This target was switched to kernel 4.19 more than 6 months ago in commit f342ffd300da ("treewide: kernel: bump some targets to 4.19") and now with kernel 5.4 support being added it gets harder to support kernel 4.14 in addition to kernel 4.19 and 5.4. Signed-off-by: Hauke Mehrtens -

[OpenWrt-Devel] [PATCH 00/12] targets: Remove kernel 4.14 support

2020-03-01 Thread Hauke Mehrtens
This removed the kernel 4.14 support for multiple targets which were early switched to kernel 4.19. This should reduce the maintenance efforts especially after or when we add kernel 5.4 support for these targets. Some of these targets do not even compile against 4.14 any more. Hauke Mehrtens

[OpenWrt-Devel] [PATCH 00/12] targets: Remove kernel 4.14 support

2020-03-01 Thread Hauke Mehrtens
This removed the kernel 4.14 support for multiple targets which were early switched to kernel 4.19. This should reduce the maintenance efforts especially after or when we add kernel 5.4 support for these targets. Some of these targets do not even compile against 4.14 any more. Hauke Mehrtens

[OpenWrt-Devel] [PATCH 01/12] armvirt: Remove kernel 4.14 support

2020-03-01 Thread Hauke Mehrtens
This target was switched to kernel 4.19 more than 6 months ago in commit f342ffd300da ("treewide: kernel: bump some targets to 4.19") and now with kernel 5.4 support being added it gets harder to support kernel 4.14 in addition to kernel 4.19 and 5.4. Signed-off-by: Hauke Mehrtens -

[OpenWrt-Devel] [PATCH 07/12] mpc85xx: Remove kernel 4.14 support

2020-03-01 Thread Hauke Mehrtens
This target was switched to kernel 4.19 more than 6 months ago in commit f342ffd300da ("treewide: kernel: bump some targets to 4.19") and now with kernel 5.4 support being added it gets harder to support kernel 4.14 in addition to kernel 4.19 and 5.4. Signed-off-by: Hauke Mehrtens -

[OpenWrt-Devel] [PATCH 04/12] imx6: Remove kernel 4.14 support

2020-03-01 Thread Hauke Mehrtens
This target was switched to kernel 4.19 more than 6 months ago in commit f342ffd300da ("treewide: kernel: bump some targets to 4.19") and now with kernel 5.4 support being added it gets harder to support kernel 4.14 in addition to kernel 4.19 and 5.4. Signed-off-by: Hauke Mehrtens -

<    7   8   9   10   11   12   13   14   15   16   >