[OpenWrt-Devel] [PATCH] ca-certificates: update to version 20190110

2019-03-13 Thread Josef Schlehofer
- Tested on Turris MOX, OpenWrt master - Removed PKG_BUILD_DIR In build_dir there were two folders ca-certificates and ca-certificates-20190110 and it failed as files were in ca-certificates-20190110 Signed-off-by: Josef Schlehofer --- package/system/ca-certificates/Makefile | 7 +++ 1 file

[OpenWrt-Devel] [PATCH 3/3] ramips: ethernet: Replace random_ether_addr with eth_hw_addr_random

2019-03-13 Thread Rosen Penev
eth_hw_addr_random additionally sets addr_assign_type to NET_ADDR_RANDOM. Signed-off-by: Rosen Penev --- .../files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediat

[OpenWrt-Devel] [PATCH 2/3] ramips: ethernet: Fix NAPI weight for non mt7621 devices

2019-03-13 Thread Rosen Penev
My original fix was to make the code do 16 * 4 as 64 is the limit for NAPI weight. However this also reduces the weight for non mt7621 devices. Changed the multiplier to 2 instead. Signed-off-by: Rosen Penev --- .../drivers/net/ethernet/mediatek/mtk_eth_soc.c | 8 1 file chan

[OpenWrt-Devel] [PATCH 1/3] ramips: ethernet: Replace alloc_etherdev with devm variant

2019-03-13 Thread Rosen Penev
Allows simplifying the code slightly. Also get rid of devm_iounmap as it is not necessary. Tested on GnuBee PC1. Signed-off-by: Rosen Penev --- .../net/ethernet/mediatek/mtk_eth_soc.c | 38 ++- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/target/linux/

[OpenWrt-Devel] [PATCH v2] iwinfo: Add support for 802.11ad

2019-03-13 Thread Robert Marko
This patch adds support for identifying, calculating channels from frequency and vice versa as well as Lua hwmode for 802.11ad. Support has been added for channels 1-6. Changes from v1: Use strcmp to compare strings. Signed-off-by: Robert Marko --- include/iwinfo.h | 2 ++ iwinfo_cli.c |

Re: [OpenWrt-Devel] [PATCH] ath79: add suport for EnGenius EPG5000

2019-03-13 Thread Tomasz Maciej Nowak
W dniu 06.03.2019 o 21:03, Tomasz Maciej Nowak pisze: > Hi, > > W dniu 04.03.2019 o 21:54, Petr Štetiar pisze: >> Tomasz Maciej Nowak [2019-03-04 15:18:53]: >> >>> + wan { >>> + label = "epg5000:blue:wan"; >>> + gpios = <&gpio 22 GPIO_ACTIVE_LOW>; >>>

[OpenWrt-Devel] [PATCH 3/4] ath79: add leds migration script

2019-03-13 Thread Tomasz Maciej Nowak
With transition from ar71xx to ath79 some of devices change their naming of LEDs. When upgrading from ar71xx target images this will require the user to adjust previously working configuration. This commit adds migration script which can be used to rename old names to new ones. With this previously

[OpenWrt-Devel] [PATCH 4/4] ath79: engenius epg5000: add leds migration case

2019-03-13 Thread Tomasz Maciej Nowak
The wireless LEDs names have changed between ar71xx and ath79 targets from epg5000:blue:wlan2-g and epg5000:blue:wlan-5g to epg5000:blue:wlan2g and epg5000:blue:wlan5g. Add this case to migration script to automatically translate those names if defined in system configuration. Signed-off-by: Tomas

[OpenWrt-Devel] [PATCH 1/4] ath79: fix leds description for EnGenius EPG5000

2019-03-13 Thread Tomasz Maciej Nowak
Align the LEDs deffinition with MACH file present in ar71xx target which has the correct LED functions and colors adescription. Signed-off-by: Tomasz Maciej Nowak --- target/linux/ath79/dts/qca9558_engenius_epg5000.dts | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --gi

[OpenWrt-Devel] [PATCH 2/4] ath79: qca955x: add wmac migration hotplug event

2019-03-13 Thread Tomasz Maciej Nowak
When upgrading from ar71xx target images to ath79 based ones, the integrated wireless interface changes its sysfs path. Therefore the previous enabled wireless interface will be disabled, which can cause false complains about it not working. This commit adds hotplug event which migrates to new path

[OpenWrt-Devel] [PATCH] procd: instance: Support deleting stopped instances

2019-03-13 Thread Kristian Evensen
procd currently does not support deleting a stopped instance. The reason is that we return in instance_stop(), if pending is set to false. This patch adds a new function, instance_delete(), which does the necessary clean-up of an instance. instance_delete() is called before we return in instance_st

[OpenWrt-Devel] [PATCH netifd] interface-ip: fix delegate config update on reload (FS#2087)

2019-03-13 Thread Hans Dedecker
Update the no_delegation parameter on a config reload; in case prefixes are present update the prefix assignments as well according to the no_delegation status Signed-off-by: Hans Dedecker --- interface-ip.c | 14 ++ interface-ip.h | 1 + interface.c| 10 +- 3 files chan

[OpenWrt-Devel] [PATCH] iwinfo: Add support for 802.11ad

2019-03-13 Thread Robert Marko
This patch adds support for identifying, calculating channels from frequency and vice versa as well as Lua hwmode for 802.11ad. Support has been added for channels 1-6. Signed-off-by: Robert Marko --- include/iwinfo.h | 2 ++ iwinfo_cli.c | 5 +++-- iwinfo_lua.c | 3 +++ iwinfo_nl80

[OpenWrt-Devel] [PATCH] netifd: wireless: Add support for 802.11ad

2019-03-13 Thread Robert Marko
This simple patch adds 802.11ad to hwmode list so that netifd-wireless.sh does not otherwise overwrite it with the default hwmode=g Signed-off-by: Robert Marko --- scripts/netifd-wireless.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/netifd-wireless.sh b/scripts

[OpenWrt-Devel] JFFS2 overlay failed to mount

2019-03-13 Thread Patrick Vorlicek
Maybe someone has a hint for me how this could happen: [   12.992367] jffs2: notice: (462) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 1 orphan) and 5 of xref (1 dead, 0 orphan) found. [   13.008791] block: attempting to load /tmp/jffs_cfg/upper/etc