Re: [iwinfo PATCH 1/2] iwinfo: add support for indoor only chan restriction

2021-11-18 Thread Karl Palsson
Ansuel Smith wrote: > Some country permit a specific channel to be used only indoor. > Introduce a new restriction_flags entry to declare different > restrition of a specific channel. > > Signed-off-by: Ansuel Smith > --- > include/iwinfo.h | 4 > iwinfo_nl80211.c | 14 ++ >

[PATCH 2/6] kernel: 5.10: backport gpio-cascade and related symbols

2021-11-18 Thread Mauri Sandberg
The patch is under review at [1]. Signed-off-by: Mauri Sandberg [1] http://patchwork.ozlabs.org/project/linux-gpio/patch/20211026191506.3099-3-mau...@ext.kapsi.fi/ --- target/linux/generic/config-5.10 | 6 + ...pio-cascade-add-generic-GPIO-cascade.patch | 232 ++

[PATCH 1/6] kernel: 5.4: backport gpio-cascade and config symbols

2021-11-18 Thread Mauri Sandberg
The patch is under review at [1] and modified for 5.4 Signed-off-by: Mauri Sandberg [1] http://patchwork.ozlabs.org/project/linux-gpio/patch/20211026191506.3099-3-mau...@ext.kapsi.fi/ --- target/linux/generic/config-5.4 | 6 + ...pio-cascade-add-generic-GPIO-cascade.patch |

[PATCH 6/6] gpio-nxp-74hc153: remove package

2021-11-18 Thread Mauri Sandberg
This module was used solely by Buffalo WZR-HP-G300NH devices and has become obsolete with the introduction of gpio-cascade. Signed-off-by: Mauri Sandberg --- package/kernel/gpio-nxp-74hc153/Makefile | 35 --- package/kernel/gpio-nxp-74hc153/src/Makefile | 1 -

[PATCH 4/6] kernel: add package kmod-gpio-cascade

2021-11-18 Thread Mauri Sandberg
Signed-off-by: Mauri Sandberg --- package/kernel/linux/modules/gpio-cascade.mk | 20 1 file changed, 20 insertions(+) create mode 100644 package/kernel/linux/modules/gpio-cascade.mk diff --git a/package/kernel/linux/modules/gpio-cascade.mk

[PATCH 3/6] kernel: add package kmod-multiplexer

2021-11-18 Thread Mauri Sandberg
Signed-off-by: Mauri Sandberg --- package/kernel/linux/modules/multiplexer.mk | 34 + 1 file changed, 34 insertions(+) create mode 100644 package/kernel/linux/modules/multiplexer.mk diff --git a/package/kernel/linux/modules/multiplexer.mk

[PATCH 0/6] use gpio-cascade for Buffalo WZR-HP-G300NH

2021-11-18 Thread Mauri Sandberg
Currently, Buffalo wzr-hp-g300nh uses a driver that is developed specificly for NXP 74HC153 dual 4-way multiplexer. It's being used for several different buttons on the device casing. Replace that driver with a generic gpio-cascade driver that is in the process of being upstreamed. All comments

[PATCH 5/6] ath79: use gpio-cascade for Buffalo WZR-HP-G300NH

2021-11-18 Thread Mauri Sandberg
Signed-off-by: Mauri Sandberg --- .../dts/ar9132_buffalo_wzr-hp-g300nh.dtsi | 41 ++- target/linux/ath79/image/generic.mk | 2 +- 2 files changed, 32 insertions(+), 11 deletions(-) diff --git a/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi

Re: [iwinfo PATCH 1/2] iwinfo: add support for indoor only chan restriction

2021-11-18 Thread Ansuel Smith
> > > Ansuel Smith wrote: > > Some country permit a specific channel to be used only indoor. > > Introduce a new restriction_flags entry to declare different > > restrition of a specific channel. > > > > Signed-off-by: Ansuel Smith > > --- > > include/iwinfo.h | 4 > > iwinfo_nl80211.c |

[iwinfo PATCH 1/2] iwinfo: add support for indoor only chan restriction

2021-11-18 Thread Ansuel Smith
Some country permit a specific channel to be used only indoor. Introduce a new restriction_flags entry to declare different restrition of a specific channel. Signed-off-by: Ansuel Smith --- include/iwinfo.h | 4 iwinfo_nl80211.c | 14 ++ 2 files changed, 14 insertions(+), 4

[rpcd PATCH 2/2] rpcd: iwinfo: export no_outdoor restriction

2021-11-18 Thread Ansuel Smith
A channel can declare restriction where it should be used only indoor. Export this restriction in the channel data. Signed-off-by: Ansuel Smith --- iwinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iwinfo.c b/iwinfo.c index ba4fc1e..85860e6 100644 --- a/iwinfo.c +++ b/iwinfo.c @@

[PATCH v2] realtek: reset both ethernet NIC and queues

2021-11-18 Thread Sander Vanheule
Recent versions of Realtek's SDK reset both the ethernet NIC and queues (SW_NIC_RST and SW_Q_RST bits) when initialising the hardware. Furthermore, when issuing a CPU reset on the Zyxel GS1900-8 (not supported by any current driver), the networking part of the SoC is not reset. This leads to

[PATCH] procd: setup /dev/stdin, /dev/stdout and /dev/stderr symlinks

2021-11-18 Thread Jo-Philipp Wich
Extend the hotplug.json ruleset to setup the common /dev/std{in,out,err} symbolic links which are needed by some applications, e.g. nftables when applying rulesets from stdin. Signed-off-by: Jo-Philipp Wich --- package/system/procd/files/hotplug.json | 12 +++- 1 file changed, 11

[RFC PATCH] treewide: drop librt and libpthread packages

2021-11-18 Thread Jo-Philipp Wich
Since OpenWrt's main libc library, musl, does not provide separate shared object files for libpthread and librt, the existing binary packages for them are empty placeholders which provide no runtime functionality and frequently cause confusion among users who attempt to build software linking -lrt