[OpenWrt-Devel] [PATCH 2/2] brcm47xx: Add initial support for Linksys WUMC710

2016-02-01 Thread Michał Osowiecki
Linksys WUMC710 (and probably TrendNET TEW-812DRU) needs specific firmware images. This patch adds (previously posted on list) trx2uimage tool and modifies Makefile for WUMC710 Signed-off-by: Michał Osowiecki diff --git a/tools/firmware-utils/Makefile

Re: [OpenWrt-Devel] Logging from Ath9k Code

2016-02-01 Thread Michal
On Mon, 1 Feb 2016 23:23:11 +0530 Nimantha Baranasuriya wrote: > Hi Michal, > > Thanks a lot for the info. So if I use ath_info(), the strings will > get written to a log irrespective of whether I have switched on > debugging or not, correct? > Correct, it is not affected

[OpenWrt-Devel] [PATCH] [routing] luci-app-bmx6: make configuration page fail less hard

2016-02-01 Thread Bob Ham
When visiting the Configuration page under BMX, I get the following error: /usr/lib/lua/luci/dispatcher.lua:433: Failed to execute cbi dispatcher target for entry '/admin/network/BMX6/Configuration'. The called action terminated with an exception:

Re: [OpenWrt-Devel] [PATCH 1/8] ath9k: enable platform WLAN LED name

2016-02-01 Thread Michal
On Mon, 1 Feb 2016 00:06:14 +0100 Hartmut Knaack wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Michal schrieb am 31.01.2016 um 22:53: > > On Sat, 30 Jan 2016 19:05:37 +0100 > > Hartmut Knaack wrote: > > > >> -BEGIN PGP SIGNED

[OpenWrt-Devel] [PATCH v2] linux/netsupport: Add support for MPLS protocol

2016-02-01 Thread André Valentin
This adds support for MPLS protocol including usage of lightweight tunnels. Kernel size of vmlinuz.bin grows by ~8k. Signed-off-by: André Valentin --- package/kernel/linux/modules/netsupport.mk | 22 ++ 1 file changed, 22 insertions(+) diff --git

[OpenWrt-Devel] [PATCH v4 7/8] ar71xx: WNR2000v3: fix for random WLAN MAC

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 7/8] ar71xx: WNR2000v3: fix for random WLAN MAC Fix for invalid/random WLAN MAC address in WNR2000v3. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface

[OpenWrt-Devel] [PATCH v4 8/8] ar71xx: WNR2000v3: enable control of all LEDs and buttons

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 8/8] ar71xx: WNR2000v3: enable control of all LEDs and buttons This patch provides full GPIO support for WNR2000v3 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by:

[OpenWrt-Devel] [PATCH v4 1/8] mac80211: ath9k: enable platform WLAN LED name

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 1/8] mac80211: ath9k: enable platform WLAN LED name Enable platform-supplied WLAN LED name for ath9k device. Signed-off-by: Michal Cieslakiewicz ---

Re: [OpenWrt-Devel] [PATCH v4 4/8] mac80211: ath9k: enable access to GPIO

2016-02-01 Thread Hartmut Knaack
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michal schrieb am 01.02.2016 um 22:28: > From: Michal Cieslakiewicz > Subject: [PATCH v4 4/8] mac80211: ath9k: enable access to GPIO > > Enable access to GPIO chip and its pins for Atheros AR92xx > wireless devices. For

[OpenWrt-Devel] [PATCH v4 6/8] ar71xx: WNR2000v3: exclude USB modules from image

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 6/8] ar71xx: WNR2000v3: exclude USB modules from image Netgear WNR2000v3 has no USB port yet default system image includes USB kernel modules. This patch fixes that. Signed-off-by: Michal Cieslakiewicz

[OpenWrt-Devel] [PATCH v4 4/8] mac80211: ath9k: enable access to GPIO

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 4/8] mac80211: ath9k: enable access to GPIO Enable access to GPIO chip and its pins for Atheros AR92xx wireless devices. For now AR9285 and AR9287 are supported. Signed-off-by: Michal Cieslakiewicz

Re: [OpenWrt-Devel] [PATCH v4 6/8] ar71xx: WNR2000v3: exclude USB modules from image

2016-02-01 Thread Hartmut Knaack
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michal schrieb am 01.02.2016 um 22:59: > From: Michal Cieslakiewicz > Subject: [PATCH v4 6/8] ar71xx: WNR2000v3: exclude USB modules from image > > Netgear WNR2000v3 has no USB port yet default system image > includes

[OpenWrt-Devel] [PATCH v4 5/8] mac80211: ath9k: enable GPIO buttons

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 5/8] mac80211: ath9k: enable GPIO buttons Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal

[OpenWrt-Devel] [PATCH v4 3/8] mac80211: ath9k: show platform MAC address in kernel log if set

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 3/8] mac80211: ath9k: show platform MAC address in kernel log if set Add information in kernel log during module startup if MAC address of WLAN device is overridden by platform-supplied one. Signed-off-by: Michal

Re: [OpenWrt-Devel] [PATCH v4 1/8] mac80211: ath9k: enable platform WLAN LED name

2016-02-01 Thread Hartmut Knaack
Michal schrieb am 01.02.2016 um 22:21: > From: Michal Cieslakiewicz > Subject: [PATCH v4 1/8] mac80211: ath9k: enable platform WLAN LED name > > Enable platform-supplied WLAN LED name for ath9k device. > > Signed-off-by: Michal Cieslakiewicz

[OpenWrt-Devel] [PATCH v4 2/8] mac80211: ath9k: set default state for platform LEDs

2016-02-01 Thread Michal
From: Michal Cieslakiewicz Subject: [PATCH v4 2/8] mac80211: ath9k: set default state for platform LEDs Support default state for platform LEDs connected to ath9k device. Now LEDs are correctly set on or off at ath9k module initialization. Signed-off-by: Michal

Re: [OpenWrt-Devel] [PATCH v4 3/8] mac80211: ath9k: show platform MAC address in kernel log if set

2016-02-01 Thread Hartmut Knaack
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michal schrieb am 01.02.2016 um 22:26: > From: Michal Cieslakiewicz > Subject: [PATCH v4 3/8] mac80211: ath9k: show platform MAC address in kernel > log if set > > Add information in kernel log during module startup if

Re: [OpenWrt-Devel] [PATCH v4 5/8] mac80211: ath9k: enable GPIO buttons

2016-02-01 Thread Hartmut Knaack
Michal schrieb am 01.02.2016 um 22:29: > From: Michal Cieslakiewicz > Subject: [PATCH v4 5/8] mac80211: ath9k: enable GPIO buttons > > Enable platform-defined GPIO button support for ath9k device. Key poller > is activated for attached platform buttons. Requires ath9k

Re: [OpenWrt-Devel] [PATCH v4 7/8] ar71xx: WNR2000v3: fix for random WLAN MAC

2016-02-01 Thread Hartmut Knaack
Michal schrieb am 01.02.2016 um 23:01: > From: Michal Cieslakiewicz > Subject: [PATCH v4 7/8] ar71xx: WNR2000v3: fix for random WLAN MAC > > Fix for invalid/random WLAN MAC address in WNR2000v3. Permanent platform MAC > is calculated and assigned during system

Re: [OpenWrt-Devel] [PATCH v4 2/8] mac80211: ath9k: set default state for platform LEDs

2016-02-01 Thread Hartmut Knaack
Michal schrieb am 01.02.2016 um 22:24: > From: Michal Cieslakiewicz > Subject: [PATCH v4 2/8] mac80211: ath9k: set default state for platform LEDs > > Support default state for platform LEDs connected to ath9k device. > Now LEDs are correctly set on or off at ath9k

[OpenWrt-Devel] [PATCH netifd 02/16] vlan: Fix possible segfault

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- vlan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlan.c b/vlan.c index 8e7141f..ac434ce 100644 --- a/vlan.c +++ b/vlan.c @@ -120,6 +120,8 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create)

[OpenWrt-Devel] [PATCH netifd 03/16] ubus: Fix possible segfault

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- ubus.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ubus.c b/ubus.c index 454b42d..4184301 100644 --- a/ubus.c +++ b/ubus.c @@ -969,6 +969,9 @@ static void netifd_add_iface_object(void) int i; methods = calloc(1,

[OpenWrt-Devel] [PATCH netifd 09/16] interface-ip: Fix possbile segfaults

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- interface-ip.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index 919c8cc..eb585f5 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -366,7 +366,7 @@

[OpenWrt-Devel] [PATCH netifd 08/16] interface: Fix possbile segfault

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- interface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface.c b/interface.c index 2aab37c..7b18cef 100644 --- a/interface.c +++ b/interface.c @@ -189,6 +189,9 @@ interface_add_data(struct interface *iface, const struct

[OpenWrt-Devel] [PATCH netifd 01/16] device: Fix possible segfault

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device.c b/device.c index 6dc4fa9..65183f3 100644 --- a/device.c +++ b/device.c @@ -429,6 +429,9 @@ device_create_default(const char *name, bool external) D(DEVICE,

[OpenWrt-Devel] [PATCH netifd 12/16] proto: Fix possible segfaults

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- proto.c | 9 + 1 file changed, 9 insertions(+) diff --git a/proto.c b/proto.c index b91fcde..45eeb4b 100644 --- a/proto.c +++ b/proto.c @@ -101,6 +101,9 @@ alloc_device_addr(bool v6, bool ext) struct device_addr *addr;

[OpenWrt-Devel] [PATCH netifd 11/16] handler: Fix memory leak

2016-02-01 Thread Hans Dedecker
Call globfree to free dynamically allocated storage from a previous glob call Signed-off-by: Hans Dedecker --- handler.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/handler.c b/handler.c index f81a7c5..0c4627f 100644 --- a/handler.c +++

[OpenWrt-Devel] [PATCH] gre: Support multicast configurable gre interfaces

2016-02-01 Thread Hans Dedecker
UCI paramater multicast is added which allows to toggle multicast support on gre interfaces. By default multicast support is enabled as gre tunnels are often used in combination with routing protocols using multicast. Signed-off-by: Hans Dedecker Signed-off-by: Nick Podolak

[OpenWrt-Devel] [PATCH netifd 16/16] device: Fix null pointer derefence if device is unset

2016-02-01 Thread Hans Dedecker
Fix null pointer deference in device_claim if device is unset in device_user struct. Typically this is observed when the parent device is removed from (mac)vlan device config followed by a network reload Signed-off-by: Hans Dedecker --- device.c | 13 ++--- 1 file

[OpenWrt-Devel] [PATCH netifd 06/16] proto: Fix possible buffer overflow due to non null terminated string

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto.c b/proto.c index eaec913..b91fcde 100644 --- a/proto.c +++ b/proto.c @@ -287,7 +287,7 @@ static bool parse_prefix_option(struct interface *iface, const char

[OpenWrt-Devel] [PATCH netifd 07/16] proto-shell: Fix possible segfault

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- proto-shell.c | 5 + 1 file changed, 5 insertions(+) diff --git a/proto-shell.c b/proto-shell.c index 8a3ff69..25dec00 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -708,6 +708,8 @@ proto_shell_add_host_dependency(struct

[OpenWrt-Devel] [PATCH netifd 15/16] device: Support multicast config option

2016-02-01 Thread Hans Dedecker
Make multicast device flag configurable by extending device attributes with the multicast attribute Signed-off-by: Hans Dedecker Signed-off-by: Nick Podolak --- Based on a patch by Nick Podolak

[OpenWrt-Devel] [PATCH netifd 04/16] tunnel: Fix uninitialized access

2016-02-01 Thread Hans Dedecker
Fix tb_dev uninitialized access by device_init_settings Signed-off-by: Hans Dedecker --- tunnel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tunnel.c b/tunnel.c index aa670a3..524fd43 100644 --- a/tunnel.c +++ b/tunnel.c @@ -49,12 +49,11 @@

[OpenWrt-Devel] [PATCH netifd 05/16] tunnel: Fix possible segfault

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- tunnel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tunnel.c b/tunnel.c index 524fd43..4a6c409 100644 --- a/tunnel.c +++ b/tunnel.c @@ -67,6 +67,9 @@ tunnel_create(const char *name, struct blob_attr *attr) struct device

[OpenWrt-Devel] [PATCH netifd 13/16] system-linux: Fix memory leak

2016-02-01 Thread Hans Dedecker
Call globfree to free dynamically allocated storage from a previous glob call Signed-off-by: Hans Dedecker --- system-linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system-linux.c b/system-linux.c index 909ba0f..9978ade 100644 --- a/system-linux.c +++

[OpenWrt-Devel] [PATCH netifd 14/16] alias: Fix possible segfault

2016-02-01 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- alias.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alias.c b/alias.c index 01bec41..1f23da0 100644 --- a/alias.c +++ b/alias.c @@ -112,6 +112,9 @@ alias_device_create(const char *name, struct blob_attr *attr) struct

[OpenWrt-Devel] [PATCH netifd 10/16] interface-event: Fix possible out of bounds array access

2016-02-01 Thread Hans Dedecker
The array eventnames is of size 3 while the interface_event type may use the indexes 3 or 4. Signed-off-by: Hans Dedecker --- interface-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface-event.c b/interface-event.c index cfbc15c..3cdfbdb

Re: [OpenWrt-Devel] Logging from Ath9k Code

2016-02-01 Thread Nimantha Baranasuriya
Hi Michal, Thanks a lot for the info. So if I use ath_info(), the strings will get written to a log irrespective of whether I have switched on debugging or not, correct? Can I also please know to which log file ath_info() would write to and where it is located in the file system? Thanks a

[OpenWrt-Devel] [PATCH v3] [zynq] Add new target zynq

2016-02-01 Thread Jason Wu
Add support for Xilinx ZC702 Dev board Zynq target is using 4.4 kernel and mainline 2016.1 u-boot. Patch is tested with Xilinx ZC702 Dev board with SD boot mode. known issues: - no QSPI driver in 4.4 kernel: no QSPI flash support - USB is not working in 4.4 kernel Signed-off-by: Jason Wu

[OpenWrt-Devel] Freeradius 3.x For Openwrt !!!

2016-02-01 Thread Bruno D'Ambrosio
Hi Mate I would like to know if it is already available FreeRADIUS 3.x for openwrt? By Bruno D'Ambrosio ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] memory leak in procd

2016-02-01 Thread Amine Aouled Hamed
So did the patch fix the problem and is it going to be added to the official procd repo? On Thu, Jan 28, 2016 at 5:32 PM, Felix Fietkau wrote: > On 2016-01-28 15:39, Kenneth Johansson wrote: > > when using rpcd and updating config files using the ubus interface there > > is

[OpenWrt-Devel] Freeradius 3.x For openwrt, Help Please !!

2016-02-01 Thread Bruno D'Ambrosio
Hi Community Openwrt I would like to know if it is already available FreeRADIUS 3.x for openwrt? By Bruno D'Ambrosio ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH 1/2] brcm47xx: Add initial support for Linksys WUMC710

2016-02-01 Thread Michał Osowiecki
This patch adds support for Linksys WUMC710 AC Media Bridge https://wikidevi.com/wiki/Linksys_WUMC710 What works: - leds - buttons - 4.1 and 4.4 kernel (320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch needs no change) - switch (top 3 sockets as configured as LAN, socket next to power

[OpenWrt-Devel] Logging from Ath9k Code

2016-02-01 Thread Nimantha Baranasuriya
Hi, I am trying to log the values of some variables in the ath9k driver code in runtime. There are logging statements like ath_dbg(common, QUEUE, "qnum: %d, txq_depth:%d\n") but I can't find where these logs get written. I added printk statements to the code as well but nothing gets written to

Re: [OpenWrt-Devel] [PATCH 0/2 v2] linux: add support of ARC HS38-based boards

2016-02-01 Thread Alexey Brodkin
Hello, On Fri, 2016-01-22 at 23:44 +0300, Alexey Brodkin wrote: > Hi Felix, > > On Mon, 2016-01-18 at 20:51 +0300, Alexey Brodkin wrote: > > This patch introduces support of new boards with ARC HS38 cores. > > > > ARC HS38 is a new generation of ARC cores which utilize ARCv2 ISA. > > Because of

Re: [OpenWrt-Devel] Logging from Ath9k Code

2016-02-01 Thread Michal
On Mon, 1 Feb 2016 19:58:39 +0530 Nimantha Baranasuriya wrote: > Hi, > > I am trying to log the values of some variables in the ath9k driver > code in runtime. There are logging statements like ath_dbg(common, > QUEUE, "qnum: %d, txq_depth:%d\n") but I can't find where