Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-07 Thread Nathan Hintz
Hi, On Mar 7, 2016 2:52 AM, John Crispin wrote: > > > > On 07/03/2016 11:47, Álvaro Fernández Rojas wrote: > > I just want to add that openwrt-commits list is also affected, since last commit published there matches the last one in the read-only mirror. > > > > Regards, > > Álvaro. > > i noticed

Re: [OpenWrt-Devel] [PATCH] base-files: fix generating network configuration

2015-12-30 Thread Nathan Hintz
Hi: On Dec 30, 2015 4:01 AM, Yousong Zhou wrote: > > With the default /e/c/network present, board_detect won't create a new > config from board.json.  Move this default configuration to > generate_static_network of config_generate instead. > > This should fix the issue on malta target and should n

[OpenWrt-Devel] [PATCH 2/2,v2] ppp: fix o_special option printing

2014-07-15 Thread Nathan Hintz
ion value, and to call the printer utility with the correct parameters. Signed-off-by: Nathan Hintz --- v2: Address comments from Yousong Zhou Please apply along with http://patchwork.openwrt.org/patch/5327/ package/network/services/ppp/Makefile | 2 +- .../services/ppp/patc

[OpenWrt-Devel] [PATCH] toolchain: fix binutils broken symlink

2014-10-18 Thread Nathan Hintz
The Makefile for binutils creates a broken symlink to "binutils-linaro" in "trunk/build_dir/toolchain-_gcc-4.9-linaro_uClibc-0.9.33.2". Modify the Makefile to point the symlink to the correct directory. Signed-off-by: Nathan Hintz --- toolchain/binutils/Makefile | 2 +

[OpenWrt-Devel] [PATCH] brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74k

2014-10-18 Thread Nathan Hintz
kernel config for mips74k to explicitly select CPU_MIPS32_R2 and CPU_MIPSR2. Signed-off-by: Nathan Hintz --- target/linux/brcm47xx/mips74k/config-default | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/brcm47xx/mips74k/config-default b/target/linux/brcm47xx/mips74k/config

[OpenWrt-Devel] [PATCH] brcm47xx: move wrt610n_v2 and e3000_v1 to mips74k subtarget

2014-10-18 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- target/linux/brcm47xx/image/Makefile | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile index 33a3c85..62f68c8 100644 --- a/target/linux/brcm47xx/image/Makefile

Re: [OpenWrt-Devel] [PATCH v4] brcm-wl: fix bash comparison error

2014-10-18 Thread Nathan Hintz
Hi Alvaro: > Date: Sat, 18 Oct 2014 13:55:39 +0200 > From: nolt...@gmail.com > To: openwrt-devel@lists.openwrt.org; ha...@hauke-m.de; blo...@openwrt.org; > n...@openwrt.org > Subject: [OpenWrt-Devel] [PATCH v4] brcm-wl: fix bash comparison error > > wlc returns a string number ending with "\n

[OpenWrt-Devel] [PATCH] broadcom_wl: eliminate compiler error with gcc-4.9-linaro

2014-10-18 Thread Nathan Hintz
_TIME__ macros, as the info is not really useful. Signed-off-by: Nathan Hintz --- .../patches/914-eliminate-date-time-error.patch | 21 + 1 file changed, 21 insertions(+) create mode 100644 package/kernel/broadcom-wl/patches/914-eliminate-date-time-error.patch diff --git a/

Re: [OpenWrt-Devel] [PATCH] brcm47xx: move wrt610n_v2 and e3000_v1 to mips74k subtarget

2014-10-18 Thread Nathan Hintz
Hi Rafał: > Date: Sat, 18 Oct 2014 21:28:29 +0200 > Subject: Re: [PATCH] brcm47xx: move wrt610n_v2 and e3000_v1 to mips74k > subtarget > From: zaj...@gmail.com > To: nlhi...@hotmail.com > CC: openwrt-devel@lists.openwrt.org; ha...@hauke-m.de > > On 18 October 2014 21

Re: [OpenWrt-Devel] [PATCH v4] brcm-wl: fix bash comparison error

2014-10-18 Thread Nathan Hintz
Hi Bastian: > Date: Sat, 18 Oct 2014 22:37:59 +0200 > From: bitt...@bluebottle.com > To: nlhi...@hotmail.com > CC: nolt...@gmail.com; openwrt-devel@lists.openwrt.org; ha...@hauke-m.de > Subject: Re: [OpenWrt-Devel] [PATCH v4] brcm-wl: fix bash comparison error > > * Nathan

Re: [OpenWrt-Devel] [PATCH] brcm47xx: move wrt610n_v2 and e3000_v1 to mips74k subtarget

2014-10-18 Thread Nathan Hintz
Hi Rafał: > Date: Sat, 18 Oct 2014 23:13:45 +0200 > Subject: Re: [PATCH] brcm47xx: move wrt610n_v2 and e3000_v1 to mips74k > subtarget > From: zaj...@gmail.com > To: nlhi...@hotmail.com > CC: openwrt-devel@lists.openwrt.org; ha...@hauke-m.de > > On 18 October 2014 22

Re: [OpenWrt-Devel] [PATCH] brcm47xx: move wrt610n_v2 and e3000_v1 to mips74k subtarget

2014-10-19 Thread Nathan Hintz
Hi Rafał: > Date: Sun, 19 Oct 2014 07:48:04 +0200 > Subject: Re: [PATCH] brcm47xx: move wrt610n_v2 and e3000_v1 to mips74k > subtarget > From: zaj...@gmail.com > To: nlhi...@hotmail.com > CC: openwrt-devel@lists.openwrt.org; ha...@hauke-m.de > > On 19 October 2014 00

[OpenWrt-Devel] [PATCH] procd: increase memory allocated for tmpfs on zram

2015-01-23 Thread Nathan Hintz
Devices with <= 32MB of ram get half of memory allocated to zram (up to 16MB). Devices with > 32MB of ram get just 8MB of memory allocated to zram. Increase memory allocated to devices with > 32MB ram to 16MB. Signed-off-by: Nathan Hintz --- initd/zram.c | 2 +- 1 file changed, 1

[OpenWrt-Devel] [PATCH] modules: select grace_period config option for nfs-common

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/linux/modules/fs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 3ae3c2d..1de7acd 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux

[OpenWrt-Devel] [PATCH] modules: add lz4 compression support

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/linux/modules/lib.mk | 20 target/linux/generic/config-3.18 | 4 .../patches-3.18/262-compressor_kconfig_hack.patch | 16 ++-- 3 files changed, 38 insertions(+), 2

[OpenWrt-Devel] [PATCH] kirkwood: modify guruplug profile name

2015-01-23 Thread Nathan Hintz
This makes the naming pattern of the output rootfs and image files consistent with the naming of the DTB file. Signed-off-by: Nathan Hintz --- target/linux/kirkwood/image/Makefile | 4 ++-- target/linux/kirkwood/profiles/120-plug.mk | 10 +- 2 files changed, 7 insertions(+), 7

[OpenWrt-Devel] [PATCH] kirkwood: include kernel images and DTB in rootfs

2015-01-23 Thread Nathan Hintz
For SheevaPlug and GuruPlug devices. Signed-off-by: Nathan Hintz --- target/linux/kirkwood/profiles/120-plug.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/kirkwood/profiles/120-plug.mk b/target/linux/kirkwood/profiles/120-plug.mk index dcbda71..473955d 100644 --- a

[OpenWrt-Devel] [PATCH] kirkwood: define ethernet aliases in the device tree

2015-01-23 Thread Nathan Hintz
The aliases are needed for u-boot to update the ethernet mac addresses using the values from the u-boot environment. Signed-off-by: Nathan Hintz --- .../patches-3.14/180-kirkwood-ethernetn.patch | 33 ++ .../patches-3.18/180-kirkwood-ethernetn.patch | 17

[OpenWrt-Devel] [PATCH] hostapd: add dependency to hostapd-common

2015-01-23 Thread Nathan Hintz
'hostapd-common' is needed by all of the variants for wifi to function correctly (a number of the target profiles simply select 'wpad-mini'). Signed-off-by: Nathan Hintz --- package/network/services/hostapd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti

[OpenWrt-Devel] [PATCH] mac80211: update libertas_sdio package name

2015-01-23 Thread Nathan Hintz
Change the name of the package to match the module name so it matches the package name referenced by the Kirkwood (Guruplug) profile. Signed-off-by: Nathan Hintz --- package/kernel/mac80211/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/kernel

[OpenWrt-Devel] [PATCH] mac80211: fix fallback to macaddr

2015-01-23 Thread Nathan Hintz
ces' from the beginning of the path). Modify the checks to detect these conditions, and fallback to using the macaddr. Signed-off-by: Nathan Hintz --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/kernel/

[OpenWrt-Devel] [PATCH] libertas: configure sysfs symlinks

2015-01-23 Thread Nathan Hintz
Update the libertas driver to configure symlinks in sysfs. This enables the driver to be handled correctly by the mac80211/netifd/hostapd scripts. With this patch, the wireless interface is functional on Guruplug Server Plus. Signed-off-by: Nathan Hintz --- .../801-libertas-configure-sysfs

[OpenWrt-Devel] [PATCH] libertas: set wireless macaddr

2015-01-23 Thread Nathan Hintz
Update the wireless macaddr with the value retrieved from the H/W. Signed-off-by: Nathan Hintz --- .../mac80211/patches/802-libertas-set-wireless-macaddr.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/kernel/mac80211/patches/802-libertas-set-wireless

[OpenWrt-Devel] [PATCH] kirkwood: add wpad-mini to guruplug profile

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- target/linux/kirkwood/profiles/120-plug.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/kirkwood/profiles/120-plug.mk b/target/linux/kirkwood/profiles/120-plug.mk index 473955d..8b2a016 100644 --- a/target/linux/kirkwood

Re: [OpenWrt-Devel] [PATCH] kirkwood: include kernel images and DTB in rootfs

2015-01-24 Thread Nathan Hintz
e the kernal image and DTB in the rootfs (which none of them do). I'm obviously missing something. Any ideas? The change you are suggesting would probably best be addressed by the target maintainer; but I may experiment with it a bit too. Thanks for the pointers! Nathan > > On Fri

[OpenWrt-Devel] [PATCH] brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74k

2015-04-05 Thread Nathan Hintz
CPU_MIPSR2. Modify the default kernel config for mips74k to explicitly select CPU_MIPS32_R2 and CPU_MIPSR2. Signed-off-by: Nathan Hintz --- target/linux/brcm47xx/mips74k/config-default | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/brcm47xx/mips74k/config-default b/target/linux

Re: [OpenWrt-Devel] [RFC][PATCH 2/2] bgmac: pass received packet to the netif instead of copying it

2013-08-11 Thread Nathan Hintz
Is there a penalty in synchronizing (DMA) more of the buffer than is needed?  Here's a modified version of the patch that mostly eliminates the unneeded synchronization (there is another 24 bytes of pad in the RX header that could be eliminated - in both directions); this hasn't been tested in a

Re: [OpenWrt-Devel] [RFC][PATCH 2/2] bgmac: pass received packet to the netif instead of copying it

2013-08-11 Thread Nathan Hintz
received packet to > the netif instead of copying it > > 2013/8/11 Nathan Hintz : >> Is there a penalty in synchronizing (DMA) more of the buffer than is needed? >> Here's a modified version of the patch that mostly eliminates the unneeded >> synchronization (the

Re: [OpenWrt-Devel] [RFC][PATCH 2/2] bgmac: pass received packet to the netif instead of copying it

2013-08-14 Thread Nathan Hintz
On Tue, 13 Aug 2013 22:50:05 +0200 Rafał Miłecki wrote: > 2013/8/11 Nathan Hintz : > > Is there a penalty in synchronizing (DMA) more of the buffer than > > is needed? Here's a modified version of the patch that mostly > > eliminates the unneeded synchronization

Re: [OpenWrt-Devel] [PATCH][RFC] Add 'N' mode support to broadcom-wl

2013-08-17 Thread Nathan Hintz
On Sat, 17 Aug 2013 15:40:43 +0200 Hauke Mehrtens wrote: > On 08/17/2013 02:09 PM, Hauke Mehrtens wrote: > > On 09/23/2012 11:07 PM, Nathan Hintz wrote: > >> This is partly based on patches sent by Łukasz Kwestarz (See > >> https://lists.openwrt.org/pipermail/openwrt-d

[OpenWrt-Devel] PPPD Patches

2013-08-23 Thread Nathan Hintz
Hi jow: I submitted these patches to PPPD a while back, but they haven't been applied. Is there something wrong with either of them that I need to fix/adjust, or are they just still in the queue? http://patchwork.openwrt.org/patch/3245/ http://patchwork.openwrt.org/patch/3246/ Thanks, Nathan _

[OpenWrt-Devel] [PATCH] uhttpd: fix option printing (when support not compiled)

2013-08-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 8dc352e..e71dd79 100644 --- a/main.c +++ b/main.c @@ -238,7 +238,7 @@ int main(int argc, char **argv) case 'K':

[OpenWrt-Devel] [PATCH] uhttpd: update dependencies and compile options

2013-08-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/network/services/uhttpd/Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile index 6194f4b..8f41109 100644 --- a/package/network

Re: [OpenWrt-Devel] [PATCH] [package] dnsmasq: use host-record instead of address

2013-09-08 Thread Nathan Hintz
On Wed, 28 Aug 2013 15:05:35 -0600 "Philip A. Prindeville" wrote: > I should have sent this AFTER trying out patch 3828. > > Julian's patch is even simpler than my suggestion. > > On 08/28/2013 02:42 PM, Philip A. Prindeville wrote: > > Sorry if it's a little after-the-fact, but I've been wonde

Re: [OpenWrt-Devel] Un-softbricking Linksys E900 (bcm47xx) with CFE

2013-09-09 Thread Nathan Hintz
On Mon, 9 Sep 2013 16:06:49 +0200 Rafał Miłecki wrote: > 2013/9/9 Hauke Mehrtens : > > On 09/09/2013 12:52 PM, Rafał Miłecki wrote: > >> 2013/9/9 Rafał Miłecki : > >>> 1) flash [options] source-file [destination-file] > >>> Passing source-file is easy (like 192.168.1.2:/bin/code.bin), but > >>> I

Re: [OpenWrt-Devel] [PATCH] base-files: uci-defaults Actually generate a working ipv6 configuration by default.

2013-09-12 Thread Nathan Hintz
On Mon, 26 Aug 2013 16:46:46 -0700 ebied...@xmission.com (Eric W. Biederman) wrote: > > By default generate the configuaration: > > config interface 'lan' >option ifname 'eth0.1' >option type 'bridge' >option proto 'static' >option ipaddr '192.168.1.1' >op

[OpenWrt-Devel] [PATCH] brcm47xx: add support for ipv6 in default network config

2013-09-22 Thread Nathan Hintz
Modify /etc/init.d/netconfig to use UCI defaults for building the default network config, which includes appropriate defaults for IPV6. Signed-off-by: Nathan Hintz --- .../linux/brcm47xx/base-files/etc/init.d/netconfig | 99 +- 1 file changed, 41 insertions(+), 58 deletions

Re: [OpenWrt-Devel] [PATCH] brcm47xx: add support for ipv6 in default network config

2013-09-22 Thread Nathan Hintz
On Sun, 22 Sep 2013 13:21:10 +0200 Hauke Mehrtens wrote: A couple of questions below... > On 09/22/2013 09:04 AM, Nathan Hintz wrote: > > Modify /etc/init.d/netconfig to use UCI defaults for building the > > default network config, which includes appropriate defaults for IPV6. &

[OpenWrt-Devel] [PATCH] broadcom-diag: fix 'autoload' number of diag.ko

2013-09-22 Thread Nathan Hintz
Change the autoload number from '5' to '05' so the module loads earlier (as intended). Signed-off-by: Nathan Hintz --- package/kernel/broadcom-diag/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/broadcom-diag/Makefile b/package/

[OpenWrt-Devel] "dhcpv6.script" being triggered a lot

2013-09-29 Thread Nathan Hintz
My cable provider (Comcast) recently enabled native IPV6, and I've enabled it on my router (using a recent trunk version). While generally the IPV6 connectivity is working, I am seeing something strange. Roughly every 3 seconds, the "dhcpv6.script is being triggered to run (by odhcp6c). My dire

Re: [OpenWrt-Devel] "dhcpv6.script" being triggered a lot

2013-09-30 Thread Nathan Hintz
On Mon, 30 Sep 2013 08:18:58 +0200 Steven Barth wrote: > Hi Nathan, > > I've seen this being reported by someone else already a few months ago > also involving Comcast ( > https://forum.openwrt.org/viewtopic.php?pid=191916#p191916 ). It seems > they have a rather weird way of sending out Rout

Re: [OpenWrt-Devel] "dhcpv6.script" being triggered a lot

2013-10-01 Thread Nathan Hintz
On Tue, 01 Oct 2013 09:51:23 +0200 Steven Barth wrote: > Hi Nathan, > > actually it's not that easy. Especially if the contents are the same > this means an update. This is because most contents of the RA contain a > validity timer in seconds. > > Thus if you sent 2 successive RAs with the sa

Re: [OpenWrt-Devel] "dhcpv6.script" being triggered a lot

2013-10-01 Thread Nathan Hintz
On Tue, 1 Oct 2013 01:30:07 -0700 Nathan Hintz wrote: > On Tue, 01 Oct 2013 09:51:23 +0200 > Steven Barth wrote: > > > Hi Nathan, > > > > actually it's not that easy. Especially if the contents are the same > > this means an update. This is bec

Re: [OpenWrt-Devel] "dhcpv6.script" being triggered a lot

2013-10-01 Thread Nathan Hintz
Hi Steven: Thank you for taking the time to look at this. "compat_ula" was set to "1" in /etc/config/6relayd; setting it to "0" eliminated the logging every 3 seconds by the "avahi-daemon" in my down stream linux box. The change to netifd didn't have any effect on this, which I believe is as ex

Re: [OpenWrt-Devel] "dhcpv6.script" being triggered a lot

2013-10-01 Thread Nathan Hintz
On Tue, 01 Oct 2013 19:42:35 +0200 Steven Barth wrote: > Hi Nathan, > > I just pushed an update to netifd. > Could you please check if the current version improves behaviour for you? > > Also alternatively could you please check in your /etc/config/6relayd if > compat_ula is set to 1 and if so

Re: [OpenWrt-Devel] "dhcpv6.script" being triggered a lot

2013-10-02 Thread Nathan Hintz
On Wed, 02 Oct 2013 08:21:33 +0200 Steven Barth wrote: > > On 02.10.2013 07:35, Nathan Hintz wrote: > > > > Hi Steven: > > > > netifd eventually crashed: > > > > Tue Oct 1 21:57:58 2013 daemon.notice netifd: wan6 (1382): > > Segmentation

[OpenWrt-Devel] [PATCH] iwinfo: make 'type' visible in wrapped iwinfo

2013-10-05 Thread Nathan Hintz
There are several cases within 'luci' that attempt to access the interface 'type' from within the 'type' specific meta tables; however, 'type' is not currently available there. Replicate the common metadata in the 'type' specific meta tables.

Re: [OpenWrt-Devel] [PATCH] iwinfo: make 'type' visible in wrapped iwinfo

2013-10-10 Thread Nathan Hintz
On Thu, 10 Oct 2013 16:52:23 +0200 Jo-Philipp Wich wrote: > I do not understand the purpose of this patch. > Can you outline such a callsite which is attempting to read the type > attribute? > > ~ Jow > Here are the places in luci that I am aware of: libs/core/luasrc/model/network.lua

[OpenWrt-Devel] [PATCH] 6relayd: verify fd is valid before use

2013-10-20 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- src/6relayd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/6relayd.c b/src/6relayd.c index fcfecb7..32ead14 100644 --- a/src/6relayd.c +++ b/src/6relayd.c @@ -403,6 +403,9 @@ int relayd_get_interface_mtu(const char *ifname) snprintf(buf

[OpenWrt-Devel] [PATCH] 6relayd: correct exit condition

2013-10-20 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- src/dhcpv6-ia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index e5fefea..f824355 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -388,7 +388,7 @@ static void update(struct relayd_interface *iface

[OpenWrt-Devel] [PATCH] 6relayd: correct memcmp length calculation

2013-10-20 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- src/dhcpv6-ia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index f824355..aced2c0 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -414,7 +414,7 @@ static void update(struct relayd_interface *iface

[OpenWrt-Devel] [RFC] 6relayd: only invoke callback when addresses have changed

2013-10-20 Thread Nathan Hintz
useful for debugging but not relevant to dnsmasq. Reference: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/021699.html Signed-off-by: Nathan Hintz --- src/dhcpv6-ia.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/dhcpv6-ia.c b/src

Re: [OpenWrt-Devel] [RFC TRY#2][PATCH] bgmac: pass received packet to the netif instead of copying it

2013-10-28 Thread Nathan Hintz
On Mon, 28 Oct 2013 18:42:22 +0100 Rafał Miłecki wrote: Hi: A few questions/comments inline... Nathan > Copying whole packets with skb_copy_from_linear_data_offset is a pretty > bad idea. CPU was spending time in __copy_user_common and network > performance was lower. With the new solution ipe

[OpenWrt-Devel] [PATCH] ubox: support specifying swap priority from the command line

2013-10-30 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- block.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/block.c b/block.c index 2289b77..2ef33e8 100644 --- a/block.c +++ b/block.c @@ -1038,8 +1038,8 @@ static int main_info(int argc, char **argv) static int

[OpenWrt-Devel] [PATCH v2] ubox: support specifying swap priority from the command line

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- block.c | 104 1 file changed, 66 insertions(+), 38 deletions(-) diff --git a/block.c b/block.c index 2289b77..941e4b8 100644 --- a/block.c +++ b/block.c @@ -13,6 +13,7 @@ */ #define

[OpenWrt-Devel] util-linux: cleanup description for swap-utils

2013-11-02 Thread Nathan Hintz
swapon/swapoff are no longer provided by swap-utils, so remove them from the description as well. Signed-off-by: Nathan Hintz --- package/utils/util-linux/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux

[OpenWrt-Devel] [PATCH] zram-swap: fix dependencies

2013-11-02 Thread Nathan Hintz
swapon/swapoff are no longer provided by swap-utils; they are provided by block-mount instead. Selecting swap-utils when swapon/swapoff are not provided by busybox serves no purpose. Signed-off-by: Nathan Hintz --- package/system/zram-swap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

[OpenWrt-Devel] [PATCH v3] zram-swap: Assign non-default priority to zram swap

2013-11-02 Thread Nathan Hintz
Insures zram swap is higher priority than any swap added by block-mount; which is not the case if zram swap is restarted for any reason (e.g., /etc/init.d/zram restart). Signed-off-by: Nathan Hintz --- v3 - Added fallback for case when swap priority is not supported. - Removed default of

[OpenWrt-Devel] [PATCH] busybox: don't enable swapon/swapoff by default

2013-11-02 Thread Nathan Hintz
'swapon/swapoff' are now provided by 'block-mount'; enabling them by default in busybox is no longer required and adds unnecessary bloat. Signed-off-by: Nathan Hintz --- package/utils/busybox/config/util-linux/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OpenWrt-Devel] [PATCH] ixp4xx: support for little endian build

2013-11-02 Thread Nathan Hintz
# CONFIG_CPU_BIG_ENDIAN is not set # CONFIG_CPU_ENDIAN_BE32 is not set CONFIG_MTD_CFI_BE_BYTE_SWAP=y Tested on NSLU2. Signed-off-by: Nathan Hintz --- package/boot/apex/Makefile | 10 +- .../patches/100

[OpenWrt-Devel] [PATCH v2] netifd: Implement "unbridge" in /lib/network/config.sh

2013-11-02 Thread Nathan Hintz
wild card (e.g., all interfaces) when the ubus call "network.interface. remove_device" was made. Signed-off-by: Nathan Hintz --- .../config/netifd/files/lib/network/config.sh | 28 +++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/package/network/conf

[OpenWrt-Devel] [PATCH] netifd: delete redundant 'wifi down'

2013-11-02 Thread Nathan Hintz
"wifi up" performs an implied "wifi down" prior to performing the "up". Delete the redundant "wifi down" calls. Signed-off-by: Nathan Hintz --- package/network/config/netifd/files/etc/init.d/network | 2 -- 1 file changed, 2 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH] iwinfo: fix hwmodelist reporting for broadcom wl

2013-11-02 Thread Nathan Hintz
Modify the hwmodelist reporting for broadcom devices to include proper reporting of 802.11n support. Signed-off-by: Nathan Hintz --- .../utils/iwinfo/src/include/iwinfo/api/broadcom.h | 23 +--- package/network/utils/iwinfo/src/iwinfo_wl.c | 41 +- 2 files

[OpenWrt-Devel] [PATCH] iwinfo: don't report associations for broadcom wds interfaces

2013-11-02 Thread Nathan Hintz
The associations list for Broadcom WDS interfaces are duplicate to those reported by the corresponding AP interface; so there is no need to report them again. Signed-off-by: Nathan Hintz --- package/network/utils/iwinfo/src/iwinfo_wl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[OpenWrt-Devel] [PATCH 1/5] base-files: clean up variable definitions in /sbin/wifi

2013-11-02 Thread Nathan Hintz
Make variables 'local' when appropriate and delete unused. Signed-off-by: Nathan Hintz --- package/base-files/files/sbin/wifi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi ind

[OpenWrt-Devel] [PATCH 2/5] base-files: clean up parameters to setup_interface in /sbin/wifi

2013-11-02 Thread Nathan Hintz
Delete unused/obsolete parameters in 'setup_interface' call. Signed-off-by: Nathan Hintz --- package/base-files/files/sbin/wifi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index b6d286

[OpenWrt-Devel] [PATCH 3/5] base-files: remove unnecessary 'scan_interfaces' call

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/base-files/files/sbin/wifi | 1 - 1 file changed, 1 deletion(-) diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 7f12e01..eb12b59 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files

[OpenWrt-Devel] [PATCH 4/5] base-files: fix return values

2013-11-02 Thread Nathan Hintz
Fix return values for 'find_net_config' and 'bridge_interface'. Signed-off-by: Nathan Hintz --- package/base-files/files/sbin/wifi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbi

[OpenWrt-Devel] [PATCH 5/5] base-files: improve device cleanup

2013-11-02 Thread Nathan Hintz
/var/state/wireless isn't cleaned up properly when 'set_wifi_down' is called. State info for virtual devices (broadcom-wl) remains set unless 'scan_wifi' is invoked prior to calling 'uci_revert_state wireless "$cfg"' Signed-off-by: Nathan Hintz ---

[OpenWrt-Devel] [PATCH] base-files: don't kill nas for sysupgrade

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 7e6e5fc..322c9c9 100644 --- a/package/base

[OpenWrt-Devel] [PATCH 1/18] broadcom-wl: fix compiler warning

2013-11-02 Thread Nathan Hintz
Delete the return value (nvram_exit is declared with a 'void' return). Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/broadcom-wl/p

[OpenWrt-Devel] [PATCH 4/18] broadcom-wl: update description for recently added

2013-11-02 Thread Nathan Hintz
Update descriptions for 'phytype' and 'band'. Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/src/wlc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/broadcom-wl/src/wlc.c b/package/kernel/broadcom-wl/src/wlc.c index 7e6

[OpenWrt-Devel] [PATCH 2/18] broadcom-wl: change interface names

2013-11-02 Thread Nathan Hintz
'netifd' treats all devices with a "." in their name as vlan devices. Modify the name of virtual/WDS interfaces created by broadcom-wl to use an "_" instead of a ".", so they will be treated as simple devices by 'netifd'. Signed-off-by: Nathan H

[OpenWrt-Devel] [PATCH 0/18] broadcom-wl: improvements for newer devices

2013-11-02 Thread Nathan Hintz
The goal of this patch set is to provide improved support for newer devices supported by the proprietary broadcom-wl driver. This includes some general cleanup items, bug fixes, and some enhancements. I've tried to keep the individual patches small and focused on a single topic. Testing was limi

[OpenWrt-Devel] [PATCH 3/18] broadcom-wl: fix band reporting

2013-11-02 Thread Nathan Hintz
Modify the band reporting for broadcom devices to correctly report HW capability. Currently, 802.11na devices report "bgn"; but should be reporting "an". Signed-off-by: Nathan Hintz --- .../patches/014-fix-band-reporting.patch | 41 ++

[OpenWrt-Devel] [PATCH 5/18] broadcom-wl: fix whitespace handling

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/src/wlc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/broadcom-wl/src/wlc.c b/package/kernel/broadcom-wl/src/wlc.c index 7b21ea0..9f4abc0 100644 --- a/package/kernel/broadcom-wl/src/wlc.c

[OpenWrt-Devel] [PATCH 7/18] broadcom-wl: shutdown 'nas' when 'wl' device is disabled

2013-11-02 Thread Nathan Hintz
'nas' must be shutdown independently for each 'wl' device to properly support devices with multiple radios. Do the shutdown when the device is disabled instead of when it is brought up. Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/files/lib/wifi/broadcom

[OpenWrt-Devel] [PATCH 8/18] broadcom-wl: simplify processing of 'hwmode'

2013-11-02 Thread Nathan Hintz
Default gmode to "GOnly" unless explicitly overwridden. This corrects processing for 11ng to specify "GOnly" for gmode instead of "Auto" (which translated to "bg"). Signed-off-by: Nathan Hintz --- .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 4

[OpenWrt-Devel] [PATCH 12/18] broadcom-wl: improve device cleanup

2013-11-02 Thread Nathan Hintz
Move all device cleanup to "disable_broadcom". Signed-off-by: Nathan Hintz --- .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 36 +- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/pack

[OpenWrt-Devel] [PATCH 10/18] broadcom-wl: eliminate 'invalid command' when setting ssid

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh index dd2acec..a25ea7e 100644

[OpenWrt-Devel] [PATCH 6/18] broadcom-wl: use a single instance of 'nas' per 'wl' device

2013-11-02 Thread Nathan Hintz
A single instance of 'nas' can support multiple interfaces; there's no need to run multiple instances. Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/ker

[OpenWrt-Devel] [PATCH 11/18] broadcom-wl: add support for setting H/W address

2013-11-02 Thread Nathan Hintz
Some devices initialize with a default address (common to all H/W). The address needs to be changeable so that a unique address can be assigned to each AP. Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 15 +++ package/kernel/broadcom-wl/src

[OpenWrt-Devel] [PATCH 15/18] broadcom-wl: fix crash when starting multiple virtual interfaces

2013-11-02 Thread Nathan Hintz
When enabling multiple VIFS, the driver sometimes crashes. The frequency of the crash increases as more VIFS are enabled. Signed-off-by: Nathan Hintz --- .../patches/008-fix_virtual_interfaces.patch | 123 - .../broadcom-wl/patches/009-fix_compile_3_2.patch | 4

[OpenWrt-Devel] [PATCH 9/18] broadcom-wl: clean up variable definitions (broadcom.sh)

2013-11-02 Thread Nathan Hintz
Specify variables as 'local' where appropriate Signed-off-by: Nathan Hintz --- .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 47 +- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/pack

[OpenWrt-Devel] [PATCH 16/18] broadcom-wl: support probe of 'wds' devices

2013-11-02 Thread Nathan Hintz
'nas' requires probe of 'wds' devices to be successful; so don't fail them. Signed-off-by: Nathan Hintz --- .../patches/015-support-probe-of-wds-interfaces.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/kernel/broadcom-wl/

[OpenWrt-Devel] [PATCH 13/18] broadcom-wl: support more virtual interfaces

2013-11-02 Thread Nathan Hintz
Read the number of virtual interfaces to support from the device capabilities; as some newer devices can support up to 16. Signed-off-by: Nathan Hintz --- .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 10 - package/kernel/broadcom-wl/src/wlc.c | 43

[OpenWrt-Devel] [PATCH 14/18] broadcom-wl: perform additional cleanup on wl module unload

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/patches/007-use-glue-driver.patch | 8 ++-- .../kernel/broadcom-wl/patches/008-fix_virtual_interfaces.patch | 2 +- package/kernel/broadcom-wl/patches/012-compat-3.10.patch | 2 +- package/kernel/broadcom-wl/patches

[OpenWrt-Devel] [PATCH 17/18] broadcom-wl: support 'wds' interfaces on 'wl1' device

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds b/package/kernel/broadcom-wl/files/etc/hotplug.d/net/20

[OpenWrt-Devel] [PATCH 18/18] broadcom-wl: version roll

2013-11-02 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/broadcom-wl/Makefile b/package/kernel/broadcom-wl/Makefile index 3b4d54c..588ac34 100644 --- a/package/kernel/broadcom-wl/Makefile +++ b/package

Re: [OpenWrt-Devel] build fails when uhttpd is built without TLS/SSL with r38575 / Trac fails for new tickets

2013-11-02 Thread Nathan Hintz
On Tue, 29 Oct 2013 11:24:50 +0100 Bastian Bittorf wrote: > again trac fails openening a new ticket, because of SPAM: > > build fails when uhttpd is built without TLS/SSL with r38575: > > {{{ > make dirclean > rm .config > make menuconfig > - select brcm63xx > - select uhttpd > make > }}} > >

Re: [OpenWrt-Devel] [PATCH 0/18] broadcom-wl: improvements for newer devices

2013-11-05 Thread Nathan Hintz
On Tue, 05 Nov 2013 16:16:01 +0100 Hauke Mehrtens wrote: > Are you integrating Jow's suggesting into your patches and will you > resend them? > I will update the patches with Jow's suggestion, and resend them (probably won't be until this weekend though). -- Nathan ___

[OpenWrt-Devel] [PATCH 0/18, v2] broadcom-wl: improvements for newer devices

2013-11-10 Thread Nathan Hintz
The goal of this patch set is to provide improved support for newer devices supported by the proprietary broadcom-wl driver. This includes some general cleanup items, bug fixes, and some enhancements. I've tried to keep the individual patches small and focused on a single topic. Testing was limi

[OpenWrt-Devel] [PATCH 4/18, v2] broadcom-wl: update description for recently added

2013-11-10 Thread Nathan Hintz
Update descriptions for 'phytype' and 'band'. Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/src/wlc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/broadcom-wl/src/wlc.c b/package/kernel/broadcom-wl/src/wlc.c index 7e6

[OpenWrt-Devel] [PATCH 2/18, v2] broadcom-wl: change interface names

2013-11-10 Thread Nathan Hintz
'netifd' treats all devices with a "." in their name as vlan devices. Modify the name of virtual/WDS interfaces created by broadcom-wl to use a "-" instead of a ".", so they will be treated as simple devices by 'netifd'. Signed-off-by: Nathan Hin

[OpenWrt-Devel] [PATCH 7/18, v2] broadcom-wl: shutdown 'nas' when 'wl' device is disabled

2013-11-10 Thread Nathan Hintz
'nas' must be shutdown independently for each 'wl' device to properly support devices with multiple radios. Do the shutdown when the device is disabled instead of when it is brought up. Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the inte

[OpenWrt-Devel] [PATCH 3/18, v2] broadcom-wl: fix band reporting

2013-11-10 Thread Nathan Hintz
Modify the band reporting for broadcom devices to correctly report HW capability. Currently, 802.11na devices report "bgn"; but should be reporting "an". Signed-off-by: Nathan Hintz --- .../patches/014-fix-band-reporting.patch | 41 ++

[OpenWrt-Devel] [PATCH 1/18, v2] broadcom-wl: fix compiler warning

2013-11-10 Thread Nathan Hintz
Delete the return value (nvram_exit is declared with a 'void' return). Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/broadcom-wl/p

[OpenWrt-Devel] [PATCH 5/18, v2] broadcom-wl: fix whitespace handling

2013-11-10 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/src/wlc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/broadcom-wl/src/wlc.c b/package/kernel/broadcom-wl/src/wlc.c index 7b21ea0..9f4abc0 100644 --- a/package/kernel/broadcom-wl/src/wlc.c

[OpenWrt-Devel] [PATCH 10/18, v2] broadcom-wl: eliminate 'invalid command' when setting ssid

2013-11-10 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh index 17fa80f..0dd25a3 100644

[OpenWrt-Devel] [PATCH 6/18, v2] broadcom-wl: use a single instance of 'nas' per 'wl' device

2013-11-10 Thread Nathan Hintz
A single instance of 'nas' can support multiple interfaces; there's no need to run multiple instances. Signed-off-by: Nathan Hintz --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/ker

  1   2   3   >