Re: [OpenWrt-Devel] [PATCH v3] base-files: make wifi report unknown command

2018-08-10 Thread Jonas Gorski
On 9 August 2018 at 20:35, Thibaut wrote: > >> On 9 Aug 2018, at 19:58, Jonas Gorski wrote: >> >> On 9 August 2018 at 18:49, Thibaut VARÈNE wrote: >>> Avoid having /sbin/wifi silently ignore unknown keywords and execute >>> "enable"; instead display the help message and exit with an error. >>> >

Re: [OpenWrt-Devel] [PATCH v4] base-files: make wifi report unknown command

2018-08-10 Thread Karl Palsson
Thibaut VARÈNE wrote: > Avoid having /sbin/wifi silently ignore unknown keywords and > execute "up"; instead display the help message and exit with an > error. > > Spell out the "up" keyword (which has users), add it to usage > output, and preserve the implicit assumption that runing > /sbin/wi

[OpenWrt-Devel] Firewall Documentation

2018-08-10 Thread Dave Turvene - Work
On 09/08/2018, Alberto Busi wrote: > Yeah I saw that. Wiki maintainers are notified of each edit in the wiki. > Looks good, follows wiki guidelines. > I cannot say how good it actually is, as I don't know much about manual > firewall usage. > > That said, many thanks for volunteering to do a clea

[OpenWrt-Devel] [PATCH 2/5] ath79: port cybertan_part from ar71xx

2018-08-10 Thread Christian Lamparter
The cybertan_part mtd parser is ported over from ar71xx and converted to integrate into the "firmware" mtd splitter. It will no longer add the u-boot, nvram and art partitions, which were never part of the special Cybertan header. Instead these partitions have to be specified in the DT, which has

[OpenWrt-Devel] [PATCH 3/5] ath79: gmac: add parsers for rxd(v)- and tx(d|en)-delay for AR9344

2018-08-10 Thread Christian Lamparter
Some AR9344 boards do very poorly with the default settings and need custom rxdv-delay, rxd-delay, txd-delay, txen-delay flags to perform reasonably. In this case the WD My Net Wi-Fi Range Extender can not even manage 10Mbps on a 1Gbit link: root@AR9344:~# iperf3 -s --

[OpenWrt-Devel] [PATCH 1/5] packages: nvram: make it possible to include it for ath79 targets

2018-08-10 Thread Christian Lamparter
The WD My Net Range Extender stores the MAC addresses inside the nvram partition. This utility can extract it, but it's currently not avilable on the ath79 target. Hence, this patch adds the necessary target declaration, so it can be built. Signed-off-by: Christian Lamparter --- package/utils/nv

[OpenWrt-Devel] [PATCH 4/5] ath79: add ath9k calibration data MAC addresses patching

2018-08-10 Thread Christian Lamparter
This patch copies over the MAC patching helper functions from lantiq's target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom file. Not all vendors bothered to write the correct MAC addresses for the ath9k wifi into the calibration data. And while ath9k does have some special dt-pro

[OpenWrt-Devel] [PATCH 5/5] ath79: add support for WD My Net Wi-Fi Range Extender

2018-08-10 Thread Christian Lamparter
This patch ports over support for the device from ar71xx. SOC:AR7370 (Wasp - AR9344 rev2 0001974c) RAM:Winbond W9725G6KB-25 32MiB FLASH: Winbond 25Q64FVSIG 8MiB WLAN: AR9300 Dual-Band 802.11abgn 3x3:3 INPUT: WPS, RESET button. (hardware Power button) LED:Power, LAN, WiFi, 3 RSSI-Le

Re: [OpenWrt-Devel] Firewall Documentation

2018-08-10 Thread Alberto Bursi
On 10/08/2018 16:39, Dave Turvene - Work wrote: On 09/08/2018, Alberto Busi wrote: Yeah I saw that. Wiki maintainers are notified of each edit in the wiki. Looks good, follows wiki guidelines. I cannot say how good it actually is, as I don't know much about manual firewall usage. That said, m

[OpenWrt-Devel] [PATCH 1/3] apex: Remove dead URL.

2018-08-10 Thread Rosen Penev
Should fix uscan. Also switched the download URL to HTTPS. Signed-off-by: Rosen Penev --- package/boot/apex/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/boot/apex/Makefile b/package/boot/apex/Makefile index d90df8e..64c2426 100644 --- a/package/boot/apex

[OpenWrt-Devel] [PATCH 2/3] fconfig: Remove dead URLs

2018-08-10 Thread Rosen Penev
Should fix uscan. Signed-off-by: Rosen Penev --- package/boot/fconfig/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/boot/fconfig/Makefile b/package/boot/fconfig/Makefile index 3c33d73..d82fa8d 100644 --- a/package/boot/fconfig/Makefile +++ b/package/boot/

[OpenWrt-Devel] [PATCH 3/3] yamonenv: Remove dead URLs

2018-08-10 Thread Rosen Penev
Signed-off-by: Rosen Penev --- package/boot/yamonenv/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/boot/yamonenv/Makefile b/package/boot/yamonenv/Makefile index 011d39a..ef1f36d 100644 --- a/package/boot/yamonenv/Makefile +++ b/package/boot/yamonenv/Makefi

[OpenWrt-Devel] [PATCH] delta: fix parsing malformed delta lines

2018-08-10 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- delta.c | 6 ++ test/tests.d/100_changes | 33 + 2 files changed, 39 insertions(+) create mode 100644 test/tests.d/100_changes diff --git a/delta.c b/delta.c index e9c79ab..386167d 100644 --- a/delta.c +++ b/d