[OpenWrt-Devel] [PATCH] [rpcd] Allow non-negative RSSI reading

2015-05-08 Thread Dmitry Ivanov
WLAN RSSI reading can be non-negative, i.e. 0 dBm and more. For example, this occurs with QCA9561 when transmitter is very close. Driver, Linux kernel and iw tool do allow this. This patch allows non-negative RSSI in rpcd too. Signed-off-by: Dmitry Ivanov --- iwinfo.c | 2 +- 1 file changed, 1

[OpenWrt-Devel] [PATCH] [iwinfo] Allow non-negative RSSI reading

2015-05-08 Thread Dmitry Ivanov
WLAN RSSI reading can be non-negative, i.e. 0 dBm and more. For example, this occurs with QCA9561 when transmitter is very close. Driver, Linux kernel and iw tool do allow this. This patch allows non-negative RSSI in iwinfo too. Signed-off-by: Dmitry Ivanov --- include/iwinfo.h | 4 +++- iwi

Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-05-08 Thread Felix Fietkau
On 2015-04-28 01:46, Mathieu Olivari wrote: > Most of the time, we want to make sure OpenWrt has been configured and > setup before start running make. However, in case of package/symlinks, > forcing prereq as a dependency creates multiple issues: > *when executed on a clean workspace, it will prom

Re: [OpenWrt-Devel] [PATCH 3/4] ralink: add mt7621 support automatic recognition memory size(32M-512M)

2015-05-08 Thread Felix Fietkau
On 2015-05-07 04:25, wengbj wrote: > From: daixj > > Signed-off-by: daixj > +Index: linux-3.18.11/arch/mips/kernel/setup.c > +=== > +--- linux-3.18.11.orig/arch/mips/kernel/setup.c 2015-04-04 > 10:46:37.0 +0800 >

Re: [OpenWrt-Devel] Patch to fix broken DHCP renewals with metric for AA

2015-05-08 Thread Felix Fietkau
On 2015-03-13 18:51, Joseph Marlin wrote: > Below is a patch to fix a bug I ran into on Attitude Adjustment. > > When a DHCP interface with a metric assigned to it attempted to renew its > lease, the default route was removed and not re-added. However, removing the > metric from the interface w

Re: [OpenWrt-Devel] [PATCH] [libubox][v4] b64: add base64 support

2015-05-08 Thread Felix Fietkau
On 2015-04-19 02:32, Luka Perkov wrote: > On Fri, Apr 17, 2015 at 02:14:14AM +0200, Felix Fietkau wrote: >> > +size_t b64decode(void *out, const void *in, size_t len) >> > +{ >> > + uint8_t *o = (uint8_t *) out; >> > + const uint8_t *data = (const uint8_t *) in; >> > + size_t lenout, i, j; >> >

Re: [OpenWrt-Devel] [PATCH procd] hotplug: support for interval commands

2015-05-08 Thread Felix Fietkau
On 2015-05-07 12:54, Rafał Miłecki wrote: > This allows executing code with a given interval. As every command, it > can be triggered by any uevent. > > Intervals may be useful for counting elapsed time since some action. It > allows e.g. indicating that button has been pressed for some time and >

[OpenWrt-Devel] [PATCH 0/2] firewall3: add support for IPv6 NAT (i.e. masquerading)

2015-05-08 Thread Lars
This patch-series is for the firewall3.git repository. A checkbox in LuCI for toggling the new masq6 option remains to-do. Lars Gierth (2): firewall3: add masq6 option for IPv6 masquerading firewall3: remove IPv4-only restriction for NAT defaults.c | 8 options.h | 1 + zones.c

[OpenWrt-Devel] [PATCH 1/2] firewall3: add masq6 option for IPv6 masquerading

2015-05-08 Thread Lars
Signed-off-by: Lars Gierth --- options.h | 1 + zones.c | 10 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/options.h b/options.h index a2bacce..20188c6 100644 --- a/options.h +++ b/options.h @@ -302,6 +302,7 @@ struct fw3_zone const char *extra_dest;

[OpenWrt-Devel] [PATCH 2/2] firewall3: remove IPv4-only restriction for NAT

2015-05-08 Thread Lars
IPv6 NAT support was added in Linux Kernel 3.7 and iptables 1.4.17 Signed-off-by: Lars Gierth --- defaults.c | 8 zones.c| 11 +++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/defaults.c b/defaults.c index 396cbf7..45d6de6 100644 --- a/defaults.c +++ b/de

[OpenWrt-Devel] [PATCH] kirkwood: add support for the Seagate GoflexHome

2015-05-08 Thread L. D. Pinney
Add Support for the Seagate GoflexHome Signed-off-by: L. D. Pinney --- target/linux/kirkwood/base-files/etc/diag.sh | 1 + target/linux/kirkwood/base-files/etc/uci-defaults/01_leds| 1 + target/linux/kirkwood/base-files/e

[OpenWrt-Devel] [PATCH] TP-LINK Archer C7 () JFFS2 only 5GHz fix

2015-05-08 Thread Spencer Thomason
If you select a JFFS2 only build for the TP-Link Archer C7 then the ath10k drivers blob doesn't load and the 5GHz band doesn't work at all. It looks like the partitions were hard-coded for sqashfs. This patch allows both squashfs and JFFS2 to work. Signed-off-by: Spencer Thomason diff --git a/

Re: [OpenWrt-Devel] [PATCH] kernel: fix uninitialised variable causing 1-wire to not bind to GPIO

2015-05-08 Thread Felix Fietkau
On 2015-05-01 12:15, Andrew McDonnell wrote: > This patch fixes a bug where 1-wire fails with an error instead of binding > to the requested GPIO pin: "gpio_request_one (ext_pullup_enable_pin) failed" > > --- > package/kernel/w1-gpio-custom/src/w1-gpio-custom.c | 1 + > 1 file changed, 1 insertio

Re: [OpenWrt-Devel] [PATCH 0/2] firewall3: add support for IPv6 NAT (i.e. masquerading)

2015-05-08 Thread Lars
I just noticed that the patches are line-wrapped. I'll fix my mail client and resend. On 08.05.2015 19:52, Lars wrote: > This patch-series is for the firewall3.git repository. > > A checkbox in LuCI for toggling the new masq6 option remains to-do. > > Lars Gierth (2): > firewall3: add masq6 op

[OpenWrt-Devel] [PATCH v2 0/2] firewall3: add support for IPv6 NAT (i.e. masquerading)

2015-05-08 Thread Lars Gierth
This patch-series is for the firewall3.git repository. A checkbox in LuCI for toggling the new masq6 option remains to-do. Lars Gierth (2): firewall3: add masq6 option for IPv6 masquerading firewall3: remove IPv4-only restriction for NAT defaults.c | 8 options.h | 1 + zones.c

[OpenWrt-Devel] [PATCH v2 1/2] firewall3: add masq6 option for IPv6 masquerading

2015-05-08 Thread Lars Gierth
Signed-off-by: Lars Gierth --- options.h | 1 + zones.c | 10 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/options.h b/options.h index a2bacce..20188c6 100644 --- a/options.h +++ b/options.h @@ -302,6 +302,7 @@ struct fw3_zone const char *extra_dest;

[OpenWrt-Devel] [PATCH v2 2/2] firewall3: remove IPv4-only restriction for NAT

2015-05-08 Thread Lars Gierth
IPv6 NAT support was added in Linux Kernel 3.7 and iptables 1.4.17 Signed-off-by: Lars Gierth --- defaults.c | 8 zones.c| 11 +++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/defaults.c b/defaults.c index 396cbf7..45d6de6 100644 --- a/defaults.c +++ b/de

[OpenWrt-Devel] [Patch V2] build: don't call prereq for any package/symlinks rules

2015-05-08 Thread Mathieu Olivari
Most of the time, we want to make sure OpenWrt has been configured and setup before start running make. However, in case of package/symlinks, forcing prereq as a dependency creates multiple issues: *when executed on a clean workspace, it will prompt for user input and open a menuconfig window befo