[PATCH] link libvalidate to uci

2021-01-06 Thread Rosen Penev
Fixes ldd error: Error relocating /lib/libvalidate.so: uci_free_context: symbol not found Error relocating /lib/libvalidate.so: uci_lookup_ptr: symbol not found Error relocating /lib/libvalidate.so: uci_alloc_context: symbol not found Signed-off-by: Rosen Penev --- CMakeLists.txt | 1 + 1 file

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-06 Thread Rosen Penev
On Wed, Jan 6, 2021 at 3:40 AM Hannu Nyman wrote: > > Hannu Nyman kirjoitti 6.1.2021 klo 12.08: > > Rosen Penev kirjoitti 6.1.2021 klo 0.49: > >> On Tue, Jan 5, 2021 at 12:20 PM Hannu Nyman wrote: > >>> Hannu Nyman kirjoitti 5.1.2021 klo 16.34: > Rosen Penev kirjoitti 5.1.2021 klo 0.29: > >>

RE: [PATCH 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Stijn Segers
Hi Adrian, Op woensdag 6 januari 2021 om 22u31 schreef Adrian Schmutzler : Hi, Alright, I'll split them out then. Can I refer to the v1 commit for the flashing procedure or would you like me to include it in full in the v2 commit message as well? If you make two patches out of it, I'

[PATCH 2/5] realtek: move memory node to device DTS

2021-01-06 Thread Stijn Segers
Move the memory out of the rtl838x.dtsi and into the device family DTSI or device DTS if applicable. This aligns with upstream practice. Signed-off-by: Stijn Segers --- target/linux/realtek/dts/rtl8380_netgear_gs110tpp-v1.dts | 6 +- target/linux/realtek/dts/rtl8380_zyxel_gs1900-10hp.dts |

[PATCH 3/5] realtek: ZyXEL: spell as done by manufacturer

2021-01-06 Thread Stijn Segers
ZyXEL spells its own name all uppercase with just the Y lowercase. Adapt the realtek target to follow this (other OpenWrt targets already do so). Signed-off-by: Stijn Segers --- target/linux/realtek/dts/rtl8380_zyxel_gs1900-10hp.dts | 2 +- target/linux/realtek/image/Makefile

[PATCH 4/5] realtek: introduce shared DTSI for GS1900-HP series

2021-01-06 Thread Stijn Segers
The ZyXEL GS1900-8HP v1, v2 and GS1900-10HP are all built on a similar Realtek RTL8380M platform. Create a common DTSI in preparation for GS1900-8HP support, and switch to the macros defined in rtl838x.dtsi. Signed-off-by: Stijn Segers --- .../realtek/dts/rtl8380_zyxel_gs1900-10hp.dts | 190 +---

[PATCH 5/5] realtek: add support for ZyXEL GS1900-8HP v1 and v2

2021-01-06 Thread Stijn Segers
The ZyXEL GS1900-8HP is an 8 port gigabit switch with PoE+ support. There are two versions on the market (v1 & v2) which share similar specs (same flash size and flash layout, same RAM size, same PoE+ power envelope) but have a different case and board layout that they each share with other GS1900

[PATCH 1/5] realtek: set PoE power budget for ZyXEL GS1900-10HP

2021-01-06 Thread Stijn Segers
As per the manufacturer's specifications, set the GS1900-10HP PoE power budget to 77W. Signed-off-by: Stijn Segers --- target/linux/realtek/base-files/etc/board.d/02_network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/li

RE: [PATCH 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Adrian Schmutzler
Hi, > > Alright, I'll split them out then. Can I refer to the v1 commit for the > flashing > procedure or would you like me to include it in full in the v2 commit message > as well? If you make two patches out of it, I'd prefer to have the flashing instructions twice (just copy them). That's a

RE: [PATCH 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Stijn Segers
Hi Adrian, Op woensdag 6 januari 2021 om 21u52 schreef Adrian Schmutzler : Hi, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Stijn Segers Sent: Mittwoch, 6. Januar 2021 19:25 To: Adrian Schmutzler Cc: openwrt-devel@lists.o

RE: [PATCH 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Segers > Sent: Mittwoch, 6. Januar 2021 19:25 > To: Adrian Schmutzler > Cc: openwrt-devel@lists.openwrt.org > Subject: RE: [PATCH 3/3] realtek: add support for ZyXEL GS1900

Re: [PATCH v2 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Bjørn Mork
Stijn Segers writes: > That's not ZyXEL's own website but a reseller. They list the 10HP as > discontinued > as well, which is pretty weird given I bought it new a week ago here > in Europe. I can confirm the same. Bought a GS1900-10HP new from a local reseller a couple of months ago, manufactu

RE: [PATCH 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Stijn Segers
Hi Adrian, Op woensdag 6 januari 2021 om 14:22 schreef Adrian Schmutzler : Hi, essentially the same comments as in the 2/3: -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Stijn Segers Sent: Mittwoch, 6. Januar 2021 01:45 To:

Re: [PATCH v2 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Stijn Segers
Hi, Op woensdag 6 januari 2021 om 18:23 schreef Michael Richardson : Stijn Segers wrote: > Op woensdag 6 januari 2021 om 11u22 schreef Michael Richardson > : >> The 1900-8/8HP are discontinued by ZyXEL, but the GS1900-16 and 24E seem to >> still be in production. > How

Re: [PATCH v2 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Michael Richardson
Stijn Segers wrote: > Op woensdag 6 januari 2021 om 11u22 schreef Michael Richardson > : >> The 1900-8/8HP are discontinued by ZyXEL, but the GS1900-16 and 24E seem to >> still be in production. > How do you know? At least the 8 and 8HP are still being sold (doesn't say

[RPCD PATCH] iwinfo: include ht_operation data only if available

2021-01-06 Thread Ansuel Smith
Check if ht_operation data are present and add them accordingly. Signed-off-by: Ansuel Smith --- iwinfo.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/iwinfo.c b/iwinfo.c index 7c9a656..63ff2a1 100644 --- a/iwinfo.c +++ b/iwinfo.c @@ -455,11 +455,13 @@ rpc_iwi

[IWINFO PATCH] iwinfo: set center chan unsupported for not-nl80211 driver

2021-01-06 Thread Ansuel Smith
Declare get_center_chan1 and get_center_chan2 not supported for not nl80211 driver. Signed-off-by: Ansuel Smith --- iwinfo_madwifi.c | 14 ++ iwinfo_wext.c| 14 ++ iwinfo_wl.c | 14 ++ 3 files changed, 42 insertions(+) diff --git a/iwinfo_madwifi.c b

Re: R: [RPCD PATCH v4 3/4] iwinfo: add ht and vht operation info to wifi scan

2021-01-06 Thread Jo-Philipp Wich
Hi, > I didn't add the check here as we can assume that ht_operation are always > present. > Should I add this anyway? why can we assume it? They way I see it, HT info is only populated if IE type 61 was present, valid and parsed from BSS info, otherwise the structure mightr be present but zero

Re: [bcm63xx] help in adding Netgear D6400 support

2021-01-06 Thread Enrico Mioso
Follow-up: logs from an attempt to flash my image via TFTP (CFE starts it upon failed boot): HELO CPUI L1CI HELO CPUI L1CI 4.1601A-1.0.38-116.17 DRAM PHYS STRF 400H PHYE DDR2 SIZ4 SIZ3 SIZ2 DINT USYN LSYN MFAS LMBE RACE PASS ZBSS CODE DATA L12F MAIN FPS0 BT02 0001 BT05 0492 NAN3 RFS2 N

Re: [PATCH v2 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Stijn Segers
Hi Michael, Op woensdag 6 januari 2021 om 11u22 schreef Michael Richardson : The 1900-8/8HP are discontinued by ZyXEL, but the GS1900-16 and 24E seem to still be in production. How do you know? At least the 8 and 8HP are still being sold (doesn't say anything about production). They aren't

[IWINFO PATCH] iwinfo: improve center channel handling

2021-01-06 Thread Ansuel Smith
- Improve iwinfo center channel struct position - Prevent read beyond buffer on malformed data Signed-off-by: Ansuel Smith --- include/iwinfo.h | 4 ++-- iwinfo_nl80211.c | 22 +- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/include/iwinfo.h b/include/iwi

Re: [PATCH] package/comgt: Handle bind/unbind events

2021-01-06 Thread Arjun AK
On 16/07/20 9:22 pm, Arjun AK wrote: This script was expecting only add/remove events which has not been the case since Kernel 4.12 (which added bind/unbind). Bind events were getting treated as remove events which would cause hotplugged 3g modems to not work. More info: https://lkml.org/lkml/20

R: [RPCD PATCH v4 4/4] iwinfo: export center channel for info ubus call

2021-01-06 Thread ansuelsmth
> Hi, > > comment below. > > > [...] > > diff --git a/iwinfo.c b/iwinfo.c > > index 45ca784..94fa822 100644 > > --- a/iwinfo.c > > +++ b/iwinfo.c > > @@ -364,6 +364,8 @@ rpc_iwinfo_info(struct ubus_context *ctx, struct > ubus_object *obj, > > > > rpc_iwinfo_call_int("mode", iw->mode, IWINFO_O

R: [RPCD PATCH v4 3/4] iwinfo: add ht and vht operation info to wifi scan

2021-01-06 Thread ansuelsmth
> Hi, > > comments below. > > > [...] > > @@ -441,6 +441,20 @@ rpc_iwinfo_scan(struct ubus_context *ctx, struct > ubus_object *obj, > > blobmsg_add_u32(&buf, "quality", e->quality); > > blobmsg_add_u32(&buf, "quality_max", e- > >quality_max); > > > > Only

RE: [PATCH 2/3] realtek: introduce common DTSI for ZyXEL GS1900-10HP and GS1900-8HP.

2021-01-06 Thread Stijn Segers
Hi Adrian, Op woensdag 6 januari 2021 om 14u19 schreef Adrian Schmutzler : Hi, Subject: [PATCH 2/3] realtek: introduce common DTSI for ZyXEL GS1900-10HP and GS1900-8HP. Please, no full stop after the commit title. Looks too long by the way. Noted. Memory node is moved out of the r

RE: [PATCH v2 2/2] ipq806x: add support for TP-Link Talon AD7200

2021-01-06 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Paul Fertser > Sent: Montag, 4. Januar 2021 18:28 > To: openwrt-devel@lists.openwrt.org > Cc: Gary Cooper > Subject: [PATCH v2 2/2] ipq806x: add support for TP-Link Talon AD7200

RE: [PATCH 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Adrian Schmutzler
Hi, essentially the same comments as in the 2/3: > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Stijn Segers > Sent: Mittwoch, 6. Januar 2021 01:45 > To: openwrt-devel@lists.openwrt.org > Subject: [PATCH 3/3] realtek: add support

RE: [PATCH 2/3] realtek: introduce common DTSI for ZyXEL GS1900-10HP and GS1900-8HP.

2021-01-06 Thread Adrian Schmutzler
Hi, > Subject: [PATCH 2/3] realtek: introduce common DTSI for ZyXEL GS1900-10HP > and GS1900-8HP. Please, no full stop after the commit title. Looks too long by the way. > Memory node is moved out of the rtl838.dtsi and into the device DTS as well. Please do that separately (= in a separate com

[PATCH v2 2/3] realtek: introduce common DTSI for ZyXEL GS1900-10HP and GS1900-8HP.

2021-01-06 Thread Stijn Segers
The ZyXEL GS1900-8HP v1, v2 and GS1900-10HP are all built on a similar Realtek RTL8380M platform. Create a common DTSI in preparation for GS1900-8HP support, and switch to the macros defined in rtl838x.dtsi. Memory node is moved out of the rtl838x.dtsi and into the device DTS as well (or series DTS

[PATCH v2 0/3] Introduce DTSI for GS1900 family, add GS1900-8HP support

2021-01-06 Thread Stijn Segers
This patch set adds a common DTSI for the GS1900 family of switches, and adds support for the GS1900-8HP v1 and v2 switch. PoE+ power envelope for the already supported GS1900-10HP is added as well. Memory node is moved out of the rtl838x.dtsi and moved into the device DTS or family DTSIs where ap

[PATCH v2 1/3] realtek: set PoE power budget for ZyXEL GS1900-10HP

2021-01-06 Thread Stijn Segers
As per the manufacturer's specifications, set the GS1900-10HP PoE power budget to 77W. Signed-off-by: Stijn Segers --- target/linux/realtek/base-files/etc/board.d/02_network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/li

[PATCH v2 3/3] realtek: add support for ZyXEL GS1900-8HP.

2021-01-06 Thread Stijn Segers
The ZyXEL GS1900-8HP is an 8 port gigabit switch with PoE+ support. There are two versions on the market (v1 & v2) which share similar specs (same flash size and flash layout, same RAM size, same PoE+ power envelope) but each have a different case and board layout that they share with other GS1900

[PATCH] ohdcpcd: apply prefix_filter on dhcpv6

2021-01-06 Thread vincent
From: Nick Hainke The prefix_filter allows to select which prefix should be assigned to clients if you have multiple prefixes on an interface. Currently, the filter only applies to RAs and does work with a dhcpv6 server. This commit enables the filter also on dhcpv6. Signed-off-by: Nick Hainke

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-06 Thread Hannu Nyman
Hannu Nyman kirjoitti 6.1.2021 klo 12.08: Rosen Penev kirjoitti 6.1.2021 klo 0.49: On Tue, Jan 5, 2021 at 12:20 PM Hannu Nyman  wrote: Hannu Nyman kirjoitti 5.1.2021 klo 16.34: Rosen Penev kirjoitti 5.1.2021 klo 0.29: It seems the config section is not refreshed either in this patch. That is,

Re: [PATCHv2 2/3] busybox: update to 1.33

2021-01-06 Thread Hannu Nyman
Rosen Penev kirjoitti 6.1.2021 klo 0.49: On Tue, Jan 5, 2021 at 12:20 PM Hannu Nyman wrote: Hannu Nyman kirjoitti 5.1.2021 klo 16.34: Rosen Penev kirjoitti 5.1.2021 klo 0.29: It seems the config section is not refreshed either in this patch. That is, the other Config.in files. No idea how to