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] 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] [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] 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

[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] 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] 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] 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] 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] 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] 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: 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] 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] 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] 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

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

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 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 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

[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 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] 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

[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] 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 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

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

2014-05-11 Thread Nathan Hintz
ail.com > Date: Wed, 7 May 2014 14:40:20 +0800 > Subject: Re: [OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing > To: nlhi...@hotmail.com > CC: openwrt-devel@lists.openwrt.org > > Hi, Nathan. > > On 7 May 2014 13:25, Nathan Hintz wrote: >> >> PPPD crashes (SEGV) wh

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

2014-05-06 Thread Nathan Hintz
ion value, and to call the printer utility with the correct parameters. Signed-off-by: Nathan Hintz --- Supersedes this patch: http://patchwork.openwrt.org/patch/3245/ package/network/services/ppp/Makefile | 2 +- .../501-fix-o_special-option-printing.patch| 29 ++

[OpenWrt-Devel] [PATCH 1/2] ppp: fix printing of DNS/WINS addresses

2014-05-06 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- Re-send of the following: http://patchwork.openwrt.org/patch/3246/ .../ppp/patches/502-fix-ms-dns-and-ms-wins-print.patch | 17 + 1 file changed, 17 insertions(+) create mode 100644 package/network/services/ppp/patches/502-fix-ms-dns-and-ms

Re: [OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet length

2014-04-06 Thread Nathan Hintz
Hi Rafał: > From: zaj...@gmail.com > To: ha...@hauke-m.de; openwrt-devel@lists.openwrt.org > Date: Thu, 3 Apr 2014 19:26:48 +0200 > Subject: [OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet > length > > This bgmac patch was an attempt to

[OpenWrt-Devel] [PATCH, v2 2/2] 6relayd: minimize interface updates

2014-01-14 Thread Nathan Hintz
>From 3ab6fc3a87c6782c324d0638da950efe35ca2194 Mon Sep 17 00:00:00 2001 From: Nathan Hintz Date: Sun, 1 Dec 2013 11:15:46 -0800 Subject: [PATCH,v2 2/2] 6relayd: minimize interface updates This is an attempt to prevent frequently triggering dnsmasq/firewall reload when only the validity tim

[OpenWrt-Devel] [PATCH, v2 1/2] 6relayd: verify fd is valid before use

2014-01-14 Thread Nathan Hintz
>From 400821e6eab2f7803d35862d6e03b9689f7cc18c Mon Sep 17 00:00:00 2001 From: Nathan Hintz Date: Sun, 20 Oct 2013 14:02:48 -0700 Subject: [PATCH,v2 1/2] 6relayd: verify fd is valid before use Signed-off-by: Nathan Hintz ---  src/6relayd.c | 3 +++  1 file changed, 3 insertions(+) diff --gi

[OpenWrt-Devel] [PATCH,v2 0/2] 6relayd updates

2014-01-14 Thread Nathan Hintz
>From 3ab6fc3a87c6782c324d0638da950efe35ca2194 Mon Sep 17 00:00:00 2001 From: Nathan Hintz Date: Tue, 14 Jan 2014 21:00:29 -0800 Subject: [PATCH,v2 0/2] 6relayd updates Hi Steven: Of the gaggle of patches I sent previously for 6relayd when you were working on the RA filtering (for Comcast)

[OpenWrt-Devel] [PATCH] firewall: improve logging in hotplug script

2014-01-14 Thread Nathan Hintz
Signed-off-by: Nathan Hintz Index: package/network/config/firewall/files/firewall.hotplug === --- package/network/config/firewall/files/firewall.hotplug (revision 39294) +++ package/network/config/firewall/files

Re: [OpenWrt-Devel] WRT610n v2 support

2013-12-13 Thread Nathan Hintz
> > On Sat, Dec 18, 2010 at 2:19 AM, Nathan Hintz wrote: > > The patches being referred to can be found in this thread > > (https://lists.openwrt.org/pipermail/openwrt-devel/2010-May/007049.html). I > > have applied them with modifications to a recent version of trun

Re: [OpenWrt-Devel] WRT610n v2 support

2013-12-11 Thread Nathan Hintz
The patches being referred to can be found in this thread (https://lists.openwrt.org/pipermail/openwrt-devel/2010-May/007049.html). I have applied them with modifications to a recent version of trunk and the 2.6.37-rc6 kernel; and modified the build to produce a bootable image for a Linksys E3000

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

2013-11-15 Thread Nathan Hintz
On Sun, 03 Nov 2013 20:41:15 +0100 "Imre Kaloz" wrote: > On Sat, 02 Nov 2013 20:38:19 +0100, Nathan Hintz wrote: > > > > > Set ARCH=arm in target/linux/ixp4xx/Makefile > > > > There are virtually zero LE ixp4xx devices out there, and this config

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

2013-11-12 Thread Nathan Hintz
swapon/swapoff are no longer provided by swap-utils; they are provided by block-mount instead. Signed-off-by: Nathan Hintz --- package/system/zram-swap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap

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

2013-11-10 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, wds0-2...). package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/k

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

2013-11-10 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

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

2013-11-10 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 --- v2 - Added an error check when attempting to read 'bssmax'. .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 10 - pack

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

2013-11-10 Thread Nathan Hintz
Specify variables as 'local' where appropriate Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, wds0-2...). .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 47 +- 1 f

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

2013-11-10 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 8/18, v2] broadcom-wl: simplify processing of 'hwmode'

2013-11-10 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, v2] broadcom-wl: improve device cleanup

2013-11-10 Thread Nathan Hintz
Move all device cleanup to "disable_broadcom". Signed-off-by: Nathan Hintz --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, wds0-2...). .../kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 36 +- 1 f

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

2013-11-10 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 11/18, v2] broadcom-wl: add support for setting H/W address

2013-11-10 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 --- v2 - Incorporated Jow's comment to rename the interfaces (wl0, wl0-1, wl0-2..., and wds0-1, w

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

2013-11-10 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 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

[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 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 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 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 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

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 ___

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 > }}} > >

[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

[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 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 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 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 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 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 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 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 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] 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 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 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 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 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 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] 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] 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] 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 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] 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] 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 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] 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] 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 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] [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

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] [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

[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] [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: 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

  1   2   3   >