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
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
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
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
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
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
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
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/
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
'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
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
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
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
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
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
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
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
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
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
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
_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/
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
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
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
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 +
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
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
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 ++
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
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
>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
>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
>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)
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
>
> 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
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
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
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
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
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
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
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
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
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
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
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
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
'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/
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
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
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
'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
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 ++
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
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
'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
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
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
___
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
> }}}
>
>
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
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
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
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
'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/
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
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
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
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
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
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
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 ++
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
'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
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
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
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
'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
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
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
/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
---
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
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
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
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
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
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
"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
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
# 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
'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(-)
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
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
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
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
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
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
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
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
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
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 - 100 of 214 matches
Mail list logo