Re: GitHub Actions usage on OpenWRT/LEDE main/master

2023-06-26 Thread Ansuel Smith
Il giorno lun 26 giu 2023 alle ore 19:10 Stefan Kalscheuer via openwrt-devel ha scritto: > > The sender domain has a DMARC Reject/Quarantine policy which disallows > sending mailing list messages using the original "From" header. > > To mitigate this problem, the original message has been wrapped

Re: typo in module config

2023-06-23 Thread Ansuel Smith
Il giorno ven 23 giu 2023 alle ore 15:58 Koen Vandeputte ha scritto: > > Hi Yousong, > > By reading some mk files I noticed your commit: > https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=4f443c885dede3331b969e6265a41a0ff1e3059a > > within netfilter.mk: > > +define KernelPackage/nf-socket

Intention on moving board-2 blob to a separate repo

2023-02-27 Thread Ansuel Smith
Hi, there is an idea of moving board-2 blob to a separate repo. It seems ath10k chance of getting board-2 blob merged upstream is becoming almost impossible. Result is that the board-2 blob number is growing and some are complaining that these are bloating openwrt repo. As said in the intro, ther

Internal Server Error on subscribing to mailing list

2023-01-12 Thread Ansuel Smith
Hi, I got some report that user can't subscribe to the devel mailing list and the page return Internal Server Error I confirmed that with a secondary email. Can someone check it? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://li

[RFC] CI: add tag on failed tests

2022-11-20 Thread Ansuel Smith
I wonder if it would be a good idea to introduce tag like 'Formal-Error', 'Broken-ath79' that gets applied on test failing by our github actions test. Would be good to quickly identify problems without checking what is actually failing. Also would be good for the user as he can quickly identify th

Add SoB tag to hack patches on generic target

2022-09-20 Thread Ansuel Smith
Hi, we are trying to improve the situation about the hack patch for the generic target. Currently it's a mess... no header, extra old patch not needed, patch with no sob tag. Some user [1] are trying to improve the situation and checked all the changes done to a specific patch and added the relat

Question about ancient TARGET_CFLAGS in rules.mk?

2022-07-16 Thread Ansuel Smith
Hi, some background about this. I'm trying to improve our CI system more and more by finally adding support for real EXTERNAL_TOOLCHAIN_SUPPORT... I'm running (and abusing) the github CI to make sure everything works and all compiles correctly... While testing it I notice a specific target fails

Moving ipq-wifi to a dedicated repo

2022-06-28 Thread Ansuel Smith
As the title said, it was suggested to move the ipq-wifi package board file to a separate repo. The problem is that we currently ship many board file with the openwrt git repo and we always download them. These won't change that much (or probably forever) and so shipping them and downloading them

Re: Testing network / NAT performance

2022-06-17 Thread Ansuel Smith
Il giorno ven 17 giu 2022 alle ore 13:51 Hauke Mehrtens ha scritto: > > 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 co

Enforce Signed-off-by for pr from Github web interface

2022-06-09 Thread Ansuel Smith
Github introduced a new option to enforce user that submit pr from the Github web interface to include a Signed-off-by tag. While probably 99% a pr generated from the Github web interface is wrong and will require additional changes, at least alert the user that he is not doing something right and

Wrong hash for firewall package?

2022-05-20 Thread Ansuel Smith
I notice that firewall hash is different for firewall package The one we have is 307baf09c61ce727b4edb4283144b0d8128ebba34b858cc6389571421f829a24 but the correct one is ce9e8ac1bcf22afbb0a80c3da1a8e8e887851299681097e3dfbfc347f2c4c80f Did someone force pushed something to the firewall git or the h

[rpcd PATCH] iwinfo: fix compilation error with GCC 12

2022-05-19 Thread Ansuel Smith
From: Christian 'Ansuel' Marangi Fix compilation error with GCC 12. In file included from /home/ansuel/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libubus.h:23, from iwinfo.c:21: In function 'blobmsg_close_array', inlined from 'rpc_iwinfo_assoclist' at iw

Re: [PATCH RFC/RFT] ath10k: use xmit encapsulation offloading

2022-05-18 Thread Ansuel Smith
Il giorno gio 19 mag 2022 alle ore 01:17 Edward Matijevic ha scritto: > > Reporting an issue running these patches with the ath10k-ct driver > from OpenWrt 22.03-rc1 crashing repeatedly on my IPQ8064+QCA9980 > router > The patches only require an edit to the file locations to the > directory ath10

[PATCH] generic: 5.15: fix panic on tcp_no_window_check set with interface up

2022-05-14 Thread Ansuel Smith
The current reworked version cause kernel panic when the value is changes and an interface is up. Following the tcp_be_liberal impelementation, reimplement this to permit a safe change of this value without any panic. This has been tested with a QSDK package where tcp_no_window_check is used. Fixe

Clarification about board.json and sysinfo

2022-04-29 Thread Ansuel Smith
I'm checking files that are created on a clean system with initramfs and I'm a bit confused about 2 files I notice that for preinit we create board.json in /tmp but we have the same file in /etc/board.json... Considering that /tmp/board.json comes from 10_indicate_preinit and the file is used jus

Re: [PATCH] libnetfilter-conntrack: backport patch fixing compilation with 5.15

2022-03-02 Thread Ansuel Smith
Il giorno mer 2 mar 2022 alle ore 15:43 Robert Marko ha scritto: > > On Wed, 2 Mar 2022 at 15:40, Ansuel Smith wrote: > > > > Backport patch fixing compilation with 5.15 and musl provided by Robert > > Marko > > I would prefer just bumping the package version usin

[PATCH] libnetfilter-conntrack: backport patch fixing compilation with 5.15

2022-03-02 Thread Ansuel Smith
Backport patch fixing compilation with 5.15 and musl provided by Robert Marko Signed-off-by: Ansuel Smith --- package/libs/libnetfilter-conntrack/Makefile | 2 +- ...-fix-build-with-kernel-5_15-and-musl.patch | 56 +++ 2 files changed, 57 insertions(+), 1 deletion(-) create

Re: [PATCH 2/6] tools/dwarves: add host package

2022-02-28 Thread Ansuel Smith
> > On 27/02/2022 17:20, Ansuel Smith wrote: > > > > >> From: Tony Ambardar > >> > >> dwarves is a set of tools that use the debugging information inserted in > >> ELF binaries by compilers such as GCC. Utilities in the dwarves suite > >&g

Re: [PATCH 2/6] tools/dwarves: add host package

2022-02-27 Thread Ansuel Smith
> > From: Tony Ambardar > > dwarves is a set of tools that use the debugging information inserted in > ELF binaries by compilers such as GCC. Utilities in the dwarves suite > include pahole, which can be used to find alignment holes in structs and > classes, and also extracts other information su

Re: [PATCH] firewall3: remove unnecessary fw3_has_table

2022-02-21 Thread Ansuel Smith
> > > > > Hi, guys, > > > > On Fri, 11 Feb 2022 at 19:12, Wenli Looi wrote: > > > > > > Sorry, forgot to reply all > > > > > > On Fri, Feb 11, 2022 at 11:09 AM Wenli Looi wrote: > > > > > > > > Hi Rui, > > > > > > > > Yes, I believe it still works. Every place where fw3_has_table is > > > > calle

Re: [PATCH v3 2/2] iproute2: add support for cpu set

2022-02-20 Thread Ansuel Smith
> > On Thu, Feb 03, 2022 at 01:44:12AM +0100, Ansuel Smith wrote: > > Add support for cpu set useful to set CPU port for dsa devices. > > Please also document the newly added 'cpu' parameter in the command- > line output -- the manpage isn't even installed/avai

Re: [PATCH] firewall3: remove unnecessary fw3_has_table

2022-02-17 Thread Ansuel Smith
> > Hi, guys, > > On Fri, 11 Feb 2022 at 19:12, Wenli Looi wrote: > > > > Sorry, forgot to reply all > > > > On Fri, Feb 11, 2022 at 11:09 AM Wenli Looi wrote: > > > > > > Hi Rui, > > > > > > Yes, I believe it still works. Every place where fw3_has_table is > > > called, we check immediately afte

Clarification about issue on github

2022-02-15 Thread Ansuel Smith
Hi, I have a question for the issue on github. They are only for bugs and issues on openwrt or can also be used for asking the community for some testing? I notice some user are present only on github and not on the forum so I wonder if a use like that is acceptable. (this comes from the fact that

[PATCH v3 2/2] iproute2: add support for cpu set

2022-02-02 Thread Ansuel Smith
Add support for cpu set useful to set CPU port for dsa devices. Signed-off-by: Ansuel Smith --- ...101-iplink_allow_to_change_cpu_value.patch | 81 +++ 1 file changed, 81 insertions(+) create mode 100644 package/network/utils/iproute2/patches/101

[PATCH v3 0/2] Add DSA MultiCPU port support

2022-02-02 Thread Ansuel Smith
ms/malfunctions. v3: - Move IFLA_CPU at the end of enum for ABI compatibility - Remove junk from patches - Fix commit description v2: - Rework iproute logic to not pollute link - Rework the round-robin cpu port assign logic Ansuel Smith (2): linux: introduce multi-cpu dsa patch iproute2: add

[PATCH v3 1/2] linux: introduce multi-cpu dsa patch

2022-02-02 Thread Ansuel Smith
c function port_change_cpu_port is required to correctly setup the port on cpu change request. Signed-off-by: Ansuel Smith --- ...net-dsa-allow-for-multiple-CPU-ports.patch | 97 +++ ...add-ndo-for-setting-the-cpu-proprety.patch | 113 ++ ...t-ndo_set_cpu-for-changing-DSA-port-.p

Re: [RFC PATCH v2 0/2] Add DSA MultiCPU port support

2022-01-28 Thread Ansuel Smith
Il giorno dom 23 gen 2022 alle ore 02:39 Ansuel Smith ha scritto: > > Il giorno dom 23 gen 2022 alle ore 02:29 Daniel Golle > ha scritto: > > > > On Sun, Jan 23, 2022 at 01:35:24AM +0100, Ansuel Smith wrote: > > > This adds the hack patches for DSA multicpu suppor

Re: [RFC PATCH v2 0/2] Add DSA MultiCPU port support

2022-01-22 Thread Ansuel Smith
Il giorno dom 23 gen 2022 alle ore 02:29 Daniel Golle ha scritto: > > On Sun, Jan 23, 2022 at 01:35:24AM +0100, Ansuel Smith wrote: > > This adds the hack patches for DSA multicpu support. > > I still have to clean patch 1, 3, 4 but considering this is still a bit WIP > >

[RFC PATCH v2 1/2] linux: introduce multi-cpu dsa patch

2022-01-22 Thread Ansuel Smith
c function port_change_cpu_port is required to correctly setup the port on cpu change request. Signed-off-by: Ansuel Smith --- ...net-dsa-allow_for_multiple_CPU_ports.patch | 151 ++ ...add_ndo_for_setting_the_cpu_property.patch | 113 + ..._set_cpu_for_changing_ports_CPU_port.p

[RFC PATCH v2 0/2] Add DSA MultiCPU port support

2022-01-22 Thread Ansuel Smith
ms/malfunctions. v2: - Rework iproute logic to not pollute link - Rework the round-robin cpu port assign logic Ansuel Smith (2): linux: introduce multi-cpu dsa patch iproute2: add support for cpu set ...101-iplink_allow_to_change_cpu_value.patch | 81 +++

[RFC PATCH v2 2/2] iproute2: add support for cpu set

2022-01-22 Thread Ansuel Smith
Add support for cpu set useful to set CPU port for dsa devices. Signed-off-by: Ansuel Smith --- ...101-iplink_allow_to_change_cpu_value.patch | 81 +++ 1 file changed, 81 insertions(+) create mode 100644 package/network/utils/iproute2/patches/101

[PATCH] kernel: bpf-headers: fix build error when testing kernel is used

2022-01-22 Thread Ansuel Smith
kernel version/hash file for the specific kernel version requested. Signed-off-by: Ansuel Smith --- package/kernel/bpf-headers/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/kernel/bpf-headers/Makefile b/package/kernel/bpf-headers/Makefile index f3c0584007..b3f1c0c7f3

Re: [PATCH 2/2] iproute2: add support for link set

2022-01-21 Thread Ansuel Smith
> > On Fri, Jan 21, 2022 at 09:14:50PM +, Rui Salvaterra wrote: > > On Fri, 21 Jan 2022 at 21:11, Ansuel Smith wrote: > > > > > > Should we follow the suggestion and add a specific attribute just for DSA? > > I believe that would be the right thing to do,

Re: [PATCH 2/2] iproute2: add support for link set

2022-01-21 Thread Ansuel Smith
> > Hi, Ansuel, > > After reading the patch more carefully, I have to say I'm really not fond of > it in its current form, especially considering that the original feedback > from Stephen Hemminger and Vladimir Oltean [1] hasn't been addressed. To be > honest, overloading the IFLA_LINK attribute

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

2022-01-20 Thread Ansuel Smith
Some countries permit a specific channel to be used only indoors. Introduce a new restriction_flags entry to declare different restrition of a specific channel. Signed-off-by: Ansuel Smith --- v2: - Fix spelling mistake - Fix wrong define include/iwinfo.h | 4 iwinfo_nl80211.c | 14

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

2022-01-20 Thread Ansuel Smith
A channel can declare restriction where it should be used only indoors. 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 2/2] iproute2: add support for link set

2022-01-20 Thread Ansuel Smith
Add support for link set useful to set CPU port for dsa drivers. Signed-off-by: Ansuel Smith --- ...-iplink_allow_to_change_iplink_value.patch | 94 +++ 1 file changed, 94 insertions(+) create mode 100644 package/network/utils/iproute2/patches/191

[PATCH 1/2] linux: introduce multi-cpu dsa patch

2022-01-20 Thread Ansuel Smith
pu_port to correctly setup the port on cpu change request. Signed-off-by: Ansuel Smith --- ...net-dsa-allow_for_multiple_CPU_ports.patch | 159 ++ ..._ndo_for_setting_the_iflink_property.patch | 88 ++ ..._netlink_for_changing_ports_CPU_port.patch | 89 ++ ...clu

[maintainer-tools PATCH] update_kernel.sh: update it to new kernel hash/version file way

2022-01-16 Thread Ansuel Smith
Openwrt changed how the hash/version of the various kernel are declared and saved. They are now placed in dedicated files. Fix the update_kernel.sh script to update the kernel version/hash to the correct file. Signed-off-by: Ansuel Smith --- update_kernel.sh | 2 +- 1 file changed, 1 insertion

Re: Switch issues and CI to GitHub

2022-01-08 Thread Ansuel Smith
> > Hi all, > > Back at the Hamburg meeting in 2019 and a succeeding vote we decided to > migrate over to a self-hosted GitLab instance. Some years passed and nothing > really happened so I’d like to give this another go. > > None of the OpenWrt project members is willing to setup and maintain a

[firewall3 PATCH] firewall3: support async table init in 5.15+ kernel

2022-01-07 Thread Ansuel Smith
operation. This simple operation is sufficient to make the missing tables appear in the proc entry. Signed-off-by: Ansuel Smith --- main.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/main.c b/main.c index 7ad00b4..796ae80 100644 --- a/main.c +++ b/main.c @@ -266,6 +266,

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

2021-11-20 Thread Ansuel Smith
> > Hi Ansuel, > > below are a few comments from someone (me) who is not very familiar > with the whole topic. So please keep this in mind. > > On Thu, Nov 18, 2021 at 5:42 PM Ansuel Smith wrote: > > > > Some country permit a specific channel to be used on

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 > > --- > >

[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

[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

Re: warning about which deprecated

2021-11-07 Thread Ansuel Smith
Il giorno dom 7 nov 2021 alle ore 19:18 Bjørn Mork ha scritto: > > Ansuel Smith writes: > > > Updating to latest ubuntu devel this now comes up > > /home/ansuel/openwrt/staging_dir/host/bin/which: this version of > > `which' is deprecated; use `command -v' i

warning about which deprecated

2021-11-07 Thread Ansuel Smith
Updating to latest ubuntu devel this now comes up /home/ansuel/openwrt/staging_dir/host/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. I think we have to update something? ___ openwrt-devel mailing list openwrt-de

Re: Release goals for 22.XX

2021-10-02 Thread Ansuel Smith
Il giorno sab 2 ott 2021 alle ore 01:35 Rosen Penev ha scritto: > > On Fri, Oct 1, 2021 at 3:05 PM Hauke Mehrtens wrote: > > > > On 9/30/21 10:40 PM, Paul Spooren wrote: > > > > > > On 9/30/21 10:01, Nick wrote: > > >> > > >> On 9/30/21 21:43, Daniel Golle wrote: > > >>> On Thu, Sep 30, 2021 at 0

Re: uci: unnecessary write accesses

2021-09-21 Thread Ansuel Smith
> > > I have written a small shell script, to track write access to the > '/etc/config' directory. > For this task I am using the inotify-tool package [1]. > I am using the inotifywait tool to add the watchers [2] with a small > shell script and log them to the syslog. > > If I change a 'uci' optio

Re: Build issues gcc10

2021-09-12 Thread Ansuel Smith
> > > -Original Message- > > From: Ansuel Smith [mailto:ansuels...@gmail.com] > > Sent: Sonntag, 12. September 2021 19:18 > > To: Rui Salvaterra > > Cc: Adrian Schmutzler ; OpenWrt Development > > List > > Subject: Re: Build issues gcc10 >

Re: Build issues gcc10

2021-09-12 Thread Ansuel Smith
Il giorno dom 12 set 2021 alle ore 19:16 Rui Salvaterra ha scritto: > > Hi, Adrian, > > On Sun, 12 Sept 2021 at 15:15, Adrian Schmutzler > wrote: > > > > I'm having build issues with master and (default) gcc10 on ipq targets. > > I don't know about ipq, but I jumped straight to GCC 11.2. Does it

Re: Question about qca8k dsa driver and path to follow

2021-09-11 Thread Ansuel Smith
> > > Is there any situation where the user would need to decide whether DSA or > > swconfig should be used, assuming both are working? A kmod may be > > Just a side note on this: > Having a user choice between drivers should not be a development goal by any > means here. > If it happens "by accide

Ramfs (and img build) compilation error

2021-09-10 Thread Ansuel Smith
Hi, i'm having some compilation error where it seems the buildroot is using my host bin to compress the ramfs or img image. How can I backtrack this error? I currently get this error if I change the compression algo. Could there be a problem in detecting missing tools and building them? I'm 100% t

Re: Question about qca8k dsa driver and path to follow

2021-09-09 Thread Ansuel Smith
Il giorno gio 9 set 2021 alle ore 22:20 Ansuel Smith ha scritto: > > Il giorno gio 9 set 2021 alle ore 22:19 Rafał Miłecki > ha scritto: > > > > wt., 7 wrz 2021 o 18:53 Ansuel Smith napisał(a): > > > I currently have a pr open [1] to migrate ipq806x to > >

Re: Question about qca8k dsa driver and path to follow

2021-09-09 Thread Ansuel Smith
Il giorno gio 9 set 2021 alle ore 22:19 Rafał Miłecki ha scritto: > > wt., 7 wrz 2021 o 18:53 Ansuel Smith napisał(a): > > I currently have a pr open [1] to migrate ipq806x to > > dsa driver > > Can you paste a missing link, please? > > -- > Rafał Yes sor

Re: Question about qca8k dsa driver and path to follow

2021-09-09 Thread Ansuel Smith
> > > On 09/09/2021 01:04, Stefan Lippers-Hollmann wrote: > > > I'm not really in a position to give advice, but -imho- unless those > > other targets have at least proof-of-concept code for using qca8k on > > their devices /working/ and an intention to migrate to DSA for these > > devices within r

Re: [PATCH 21.02] ipq806x: backport cpufreq changes to 5.4

2021-09-08 Thread Ansuel Smith
Il giorno mer 8 set 2021 alle ore 02:11 Shane Synan ha scritto: > > On 8/24/21 7:21 PM, Shane Synan wrote: > > The fix hasn't been found, but progress has been made! > > > > After further testing, I think I've found a way to recreate this issue > > with just the router itself, no external USB HDD,

Question about qca8k dsa driver and path to follow

2021-09-07 Thread Ansuel Smith
I am writing this to ask for some help/direction on what path we should follow for the qca8k driver. I currently have a pr open [1] to migrate ipq806x to dsa driver (qca8k) but some other devs reported that the same switch is also used by other targets. (ath79, bcm53xx) It was suggested to move the

Compilation problem with initramfs lzo compression

2021-08-29 Thread Ansuel Smith
On build termination I have the current error. The error comes from the building of an initramfs with lzo compression selected The build env is ubuntu with devel package selected. make[5]: Entering directory '/home/ansuel/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_g

Re: convert mtd-mac-address to nvmem implementation

2021-07-20 Thread Ansuel Smith
Il giorno mar 20 lug 2021 alle ore 21:03 Adrian Schmutzler ha scritto: > > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Ansuel Smith > > Sent: Montag, 19. Juli 2021 16:25 > >

convert mtd-mac-address to nvmem implementation

2021-07-19 Thread Ansuel Smith
The dts has been migrated with a script and we decided to remove the dtsi that caused some compilation problem. We still need to take a decision for the device that have dtsi that declare mtd-mac-address using partition tag declared in user dts (dtsi use partition declared in the dts) > I don't se

convert mtd-mac-address to nvmem implementation

2021-07-19 Thread Ansuel Smith
hi, some dtsi still use the old implementation as they have to be manually migrated. Does it cause any problem ? > Hi, it looks like, that qca9558_tplink_archer-c.dtsi is missing in commit > abc17bf (ath79: convert mtd-mac-address to nvmem implementation). Regards, > Hartmut ___

Re: 6in4 tunnel creation sometimes goes into infinite loop on kernel 5.10

2021-07-18 Thread Ansuel Smith
> > For details see FS#3690, created months ago but no progress has been made. > I hope it can be fixed ASAP. > > Regards, > Qingfang > Can confirm the bug... I also asked for support on the forum, didn't know it was present also on other users. ___ ope

Re: [PATCH 21.02] ipq806x: backport cpufreq changes to 5.4

2021-06-27 Thread Ansuel Smith
Il giorno dom 27 giu 2021 alle ore 23:41 Baptiste Jonglez ha scritto: > > Hi, > > On 20-06-21, Shane Synan wrote: > > In the time since submitting this, I've continued testing this > > change on my ZyXEL NBG6817. I'm reasonably confident this fixes my > > issue (11/11 successes), and if there's a

[PATCH] mac80211: split ath patch in dedicated subdir

2021-06-01 Thread Ansuel Smith
-off-by: Ansuel Smith --- package/kernel/mac80211/Makefile | 8 .../{ath => ath10k}/080-ath10k_thermal_config.patch | 0 ...0k-add-CCMP-PN-replay-protection-for-fragmented-.patch | 0 ...ath10k-drop-fragments-with-multicast-DA-for-PCIe.patch | 0 ...ath

Mac80211 ath patch split proposal

2021-05-31 Thread Ansuel Smith
Hi, since we are starting to add support for ath11k i was thinking... To have things organized and remove some confusion, I was thinking if it wouldn't be better to split the ath patch dir to 3 (or 4) sub directory and introduce patch for ath9k, patch for ath10k and patch for ath11k with a 4th opti

Re: [PATCH] ipq806x: dwmac: fix GMACs connected via SGMII fixed-link

2021-05-08 Thread Ansuel Smith
ested-by: Hannu Nyman > Run-tested: ipq806x/ubnt,unifi-ac-hd, ipq806x/netgear,r7800 > Cc: Petr Štetiar > Cc: Ansuel Smith > --- > ...-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch | 62 +++++++++-- > 1 file changed, 56 insertions(+), 6 deletions(-) > Tested-by: Ansuel Smi

Re: [PATCH] Revert "dbus: update to 1.13.18"

2021-04-21 Thread Ansuel Smith
> > This reverts commit 0fb5d3ed2cb31a0a6076d36fb7a668cfe5328c92. > > root@finn:/# /etc/init.d/dbus start > dbus[2537]: Failed to start message bus: Failed to open > "/dbus-1/system.conf": No such file or directory > The avahi package is also affected by this breakage and crash loop in the curr

Re: [PATCH] mvebu: armada 370: dts: fix the crypto engine

2021-04-05 Thread Ansuel Smith
> > Hi Hauke, > > El lun, 5 abr 2021 a las 14:55, Hauke Mehrtens () escribió: > > > > On 4/4/21 11:06 PM, Daniel González Cabanelas wrote: > > > The crypto engine in Armada 370 SoCs is currently broken. It can be > > > checked installing the required packages for testing openssl with hw > > > accel

Re: Switch mtd-mac-address to nvmem implementation

2021-03-31 Thread Ansuel Smith
> > With a quick search, there are LOTS of dts that use these special bindings > > and it would take a lot of time to convert all the dts. (think the best > > approach > > would be to convert the dts one target at time) > > I think, that if you're willing to do that tedious hardwork, it's better t

Switch mtd-mac-address to nvmem implementation

2021-03-29 Thread Ansuel Smith
The pending nvmem patches have been applied to mtd/next. Some time ago I also sent a patch with the mtd-mac-address-increment-byte upstream but it got rejected since dts should not contain this kind of binding. The patch directly implements the increment and increment-byte binding to the of_get_ma

Re: Dsa multi-cpu port problem

2021-03-10 Thread Ansuel Smith
> > On Wed, Mar 10, 2021 at 4:19 PM Ansuel Smith wrote: > > > > I'm working on the conversion of ipq806x to dsa. > > It's been 2 years and still dsa doesn't support multi-cpu port. > > Online there are many patches that add support for this but they

Dsa multi-cpu port problem

2021-03-10 Thread Ansuel Smith
I'm working on the conversion of ipq806x to dsa. It's been 2 years and still dsa doesn't support multi-cpu port. Online there are many patches that add support for this but they were never accepted upstream since there isn't a solution that would work for all the switches. Fact is that openwrt is d

Clarification about dsa and ipq806x

2021-02-28 Thread Ansuel Smith
Hello, I just pushed a fist pr to the openwrt github repo for ipq806x port to kernel 5.10. The idea is to switch this target to dsa but there is a problem... Since kernel 5.10 is a testing kernel how should I change the base files to apply different network config? Kernel 5.4 would still use the ol

kernel 5.10: Wireguard wants some love

2021-02-16 Thread Ansuel Smith
The compat module is no longer required and complains about wireguard included in kernel from version 5.6. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: ath10k-ct iw missing rx stats

2021-02-14 Thread Ansuel Smith
> > On 2021-02-14 18:28, Ansuel Smith wrote: > > With recent mac80211 bump I notice that rx stats > > are no longer displayed. > > I ported the atk10-ct patches to the version 5.10 > > and I noticed this. It's only me? > > Also this is only to report that

Re: Installation error for libncursesw6

2021-02-14 Thread Ansuel Smith
> Collected errors: > * pkg_hash_fetch_best_installation_candidate: Packages for > libreadline8 found, but incompatible with the architectures configured > * opkg_install_cmd: Cannot install package libreadline8. > * satisfy_dependencies_for: Cannot satisfy the following dependencies > for softe

Installation error for libncursesw6

2021-02-14 Thread Ansuel Smith
Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for libreadline8 found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package libreadline8. * satisfy_dependencies_for: Cannot satisfy the following dependencies for softethervpn5-lib

ath10k-ct iw missing rx stats

2021-02-14 Thread Ansuel Smith
With recent mac80211 bump I notice that rx stats are no longer displayed. I ported the atk10-ct patches to the version 5.10 and I noticed this. It's only me? Also this is only to report that ath10k-ct patches can be ported with minimal changes and works normally (except this problem with ubus not r

[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

[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

[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

Re: [PATCH 1/2 iwinfo] iwinfo: add support for GCMP cipher

2021-01-05 Thread Ansuel Smith
> > Extend support for WPA ciphers by GCMP which is required for 802.11ad. > Breaks ABI as ciphers now needs to be a field of 16 bits instead of 8. > If this gets accepted and we are changing the ABI, can we also add my changes for the wifi channel analysis feature? __

[PATCH] tools: zlib: fix broken compile with ccache enabled

2020-12-17 Thread Ansuel Smith
If ccache is enabled with an empty buildroot the compilation fails. Fix this by using the NOCACHE compiler as it's done by other tools package. Signed-off-by: Ansuel Smith --- tools/zlib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/zlib/Makefile b/tools/zlib/Makefile

Re: Compilation error for host zilb from cmake

2020-12-17 Thread Ansuel Smith
> > On Thu, Dec 17, 2020 at 1:57 PM Ansuel Smith wrote: > > > > Hello I can't currently compile openwrt on my system. > > The error is this > > https://gist.github.com/Ansuel/b5a6574ea912d56e8697984154d0ba42 > > > > Any idea why ? I have a very rece

Compilation error for host zilb from cmake

2020-12-17 Thread Ansuel Smith
Hello I can't currently compile openwrt on my system. The error is this https://gist.github.com/Ansuel/b5a6574ea912d56e8697984154d0ba42 Any idea why ? I have a very recent system with latest package (ubuntu devel branch) ___ openwrt-devel mailing list o

[IWINFO PATCH v4 2/4] iwinfo: export center_chan info for local wifi

2020-12-05 Thread Ansuel Smith
Iwinfo already export the htmode but there is no way to know where the channel expan in case a 40Mhz+ channel width is used. Export the center channels used by the driver to better know the channel utilizzation of the wifi. Signed-off-by: Ansuel Smith --- include/iwinfo.h | 2 ++ iwinfo_cli.c

[IWINFO PATCH v4 1/4] iwinfo: export ht and vht operation in scan results

2020-12-05 Thread Ansuel Smith
Export ht and vht operation data in scan results. These additional data can be usefull to check wifi channel utilizzation by neraby stations. Signed-off-by: Ansuel Smith --- include/iwinfo.h | 34 ++ iwinfo_cli.c | 35

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

2020-12-05 Thread Ansuel Smith
Iwinfo export the center channel sued by the wifi. Include this data in the ubus info call to better know the channel utilizzation of the wifi. Signed-off-by: Ansuel Smith --- iwinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iwinfo.c b/iwinfo.c index 45ca784..94fa822 100644 --- a

[PATCH v4 0/4] Add support channel with to iwinfo

2020-12-05 Thread Ansuel Smith
This series modify 2 different repo. Iwinfo and Rpcd The 2 iwinfo patch add support to iwinfo to display and export channel width and center_channel info for both wifi scan and wifi info related to the local wifi. The other 2 rpcd patch export the iwinfo data to ubus to make them usable by the webu

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

2020-12-05 Thread Ansuel Smith
Iwinfo exports ht and vht operation info useful to get channel info of nearby stations. Add these new info to ubus output. Signed-off-by: Ansuel Smith --- iwinfo.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/iwinfo.c b/iwinfo.c index 7780e69..45ca784

[IWINFO PATCH v3 1/4] iwinfo: export ht and vht operation in scan results

2020-12-05 Thread Ansuel Smith
Export ht and vht operation data in scan results. These additional data can be usefull to check wifi channel utilizzation by neraby stations. Signed-off-by: Ansuel Smith --- include/iwinfo.h | 34 ++ iwinfo_cli.c | 35

[IWINFO PATCH v3 2/4] iwinfo: export center_chan info for local wifi

2020-12-05 Thread Ansuel Smith
Iwinfo already export the htmode but there is no way to know where the channel expan in case a 40Mhz+ channel width is used. Export the center channels used by the driver to better know the channel utilizzation of the wifi. Signed-off-by: Ansuel Smith --- include/iwinfo.h | 2 ++ iwinfo_cli.c

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

2020-12-05 Thread Ansuel Smith
Iwinfo exports ht and vht operation info useful to get channel info of nearby stations. Add these new info to ubus output. Signed-off-by: Ansuel Smith --- iwinfo.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/iwinfo.c b/iwinfo.c index 7780e69..45ca784

[PATCH v3 0/4] Add support channel with to iwinfo

2020-12-05 Thread Ansuel Smith
This series modify 2 different repo. Iwinfo and Rpcd The 2 iwinfo patch add support to iwinfo to display and export channel width and center_channel info for both wifi scan and wifi info related to the local wifi. The other 2 rpcd patch export the iwinfo data to ubus to make them usable by the webu

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

2020-12-05 Thread Ansuel Smith
Iwinfo export the center channel sued by the wifi. Include this data in the ubus info call to better know the channel utilizzation of the wifi. Signed-off-by: Ansuel Smith --- iwinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iwinfo.c b/iwinfo.c index 45ca784..94fa822 100644 --- a

Re: [PATCH] cmake.mk, rules.mk: fix host builds using CMake and ccache

2020-11-28 Thread Ansuel Smith
cache into > > the account so fix it by handling ccache use cases as well. > > > > In order to get this working we need to export HOSTCXX_NOCACHE in > > rules.mk as well. > That's annoying. I didn't know ccache was used with host packages. > > Can c

Compilation error with latest master

2020-11-27 Thread Ansuel Smith
Commit f98878e4c17d5f11e78994b4fc456e6b60b2660f cause some compilation error like (the package is random... i got this with many package that use cmake) Reverting the commit and rebuilding the related package fix the problem. make[3]: Entering directory '/home/ansuel/openwrt/tools/padjffs2' -- The

[PATCH v2 0/4] Add support channel with to iwinfo

2020-11-23 Thread Ansuel Smith
This series modify 2 different repo. Iwinfo and Rpcd The 2 iwinfo patch add support to iwinfo to display and export channel width and center_channel info for both wifi scan and wifi info related to the local wifi. The other 2 rpcd patch export the iwinfo data to ubus to make them usable by the webu

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

2020-11-23 Thread Ansuel Smith
Iwinfo export the center channel sued by the wifi. Include this data in the ubus info call to better know the channel utilizzation of the wifi. Signed-off-by: Ansuel Smith --- iwinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iwinfo.c b/iwinfo.c index 45ca784..94fa822 100644 --- a

  1   2   >