Re: [OpenWrt-Devel] [PATCH] b53: fix overriding port 8 state (if it is connected to CPU)

2015-03-18 Thread Rafał Miłecki
On 18 March 2015 at 11:28, Jonas Gorski j...@openwrt.org wrote: On Wed, Mar 18, 2015 at 10:02 AM, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- .../generic/files/drivers/net/phy/b53/b53_common.c | 23 +-

Re: [OpenWrt-Devel] [PATCH] b53: reverse duplex bit meaning for IMP state override register

2015-03-18 Thread Jonas Gorski
On Wed, Mar 18, 2015 at 8:52 AM, Alexandru Ardelean ardeleana...@gmail.com wrote: On Wed, Mar 18, 2015 at 9:18 AM, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- When reading bcmrobo.c code for BCM5301X I've noticed that it uses REG_CTRL_MIIPO (0x0e)

[OpenWrt-Devel] [PATCH] b53: fix overriding port 8 state (if it is connected to CPU)

2015-03-18 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- .../generic/files/drivers/net/phy/b53/b53_common.c | 23 +- .../generic/files/drivers/net/phy/b53/b53_regs.h | 1 + 2 files changed, 23 insertions(+), 1 deletion(-) diff --git

Re: [OpenWrt-Devel] [PATCH] b53: fix overriding port 8 state (if it is connected to CPU)

2015-03-18 Thread Jonas Gorski
On Wed, Mar 18, 2015 at 10:02 AM, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- .../generic/files/drivers/net/phy/b53/b53_common.c | 23 +- .../generic/files/drivers/net/phy/b53/b53_regs.h | 1 + 2 files changed, 23

Re: [OpenWrt-Devel] [PATCH] b53: define registers available and needed on BCM5301X

2015-03-18 Thread Jonas Gorski
On Wed, Mar 18, 2015 at 8:50 AM, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- .../generic/files/drivers/net/phy/b53/b53_regs.h | 26 ++ 1 file changed, 26 insertions(+) diff --git

[OpenWrt-Devel] [PATCH] octeon: Add MMC support for EdgeRouter ER8

2015-03-18 Thread Jonathan Thibault
This adds in-kernel support for the octeon mmc controller so that Ubiquiti ER8 are now bootable from their internal storage. Aimed at the BB branch but should work on trunk as well. Pay attention to the change in default value for bb_size in octeon_mmc.c, default was too large (256KB) and caused

Re: [OpenWrt-Devel] [PATCH] octeon: Add MMC support for EdgeRouter ER8

2015-03-18 Thread John Crispin
On 18/03/2015 14:50, Jonathan Thibault wrote: This adds in-kernel support for the octeon mmc controller so that Ubiquiti ER8 are now bootable from their internal storage. Aimed at the BB branch but should work on trunk as well. Pay attention to the change in default value for bb_size in

Re: [OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Christian Mehlis
Thanks Steven! It's working. Do you or should I add some text in the wiki? I think this @ notation is not present on http://wiki.openwrt.org/doc/uci/network. Best Christian Am 18.03.2015 um 16:11 schrieb Steven Barth: Try config interface 'lan' option type 'bridge' option ifname

[OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Christian Mehlis
Hi, I want to use a router as a client in my dual stack lan. I'm using ICMP router announcements. Additionally I want to use mesh at the same time, so I'm using a bridge on the lan interface. Is there any way to express that I want dynamic IPv4 and IPv6 on a bridge?

Re: [OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Steven Barth
Try config interface 'lan' option type 'bridge' option ifname 'eth0.1 bat0' option proto 'dhcp' config interface lan6 option ifname @lan option proto dhcpv6 # option reqprefix no (uncomment if you don't need an IPv6 delegated prefix) Cheers,

[OpenWrt-Devel] [PATCH] procd: check for empty parameters in askfirst

2015-03-18 Thread Zefir Kurtisi
Signed-off-by: Zefir Kurtisi zefir.kurt...@neratec.com --- utils/askfirst.c | 5 + 1 file changed, 5 insertions(+) diff --git a/utils/askfirst.c b/utils/askfirst.c index e78823c..2aadd1a 100644 --- a/utils/askfirst.c +++ b/utils/askfirst.c @@ -31,6 +31,11 @@ int main(int argc, char **argv)

[OpenWrt-Devel] [PATCH] netifd:Make sure interface device config is also cached

2015-03-18 Thread Hans Dedecker
Fixes issue interface device config is not applied in some cases. As the interface device config was applied but not always cached; an interface device config diff was not always detected. Simplify device config setting by exposing as api only device_apply_config Signed-off-by: Hans Dedecker

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2015-03-18 Thread Stefan Rompf
On Dienstag, 17. März 2015 23:24:26 Sergey Ryazanov wrote: Interesting enough: When stopping all wifi related software on the device and creating a monitor interface, the RF filter seems to follow iwconfig channel commands (yes it is the madwifi driver). How do you realized that RF

[OpenWrt-Devel] [PATCH V2] b53: define registers available and needed on BCM5301X

2015-03-18 Thread Rafał Miłecki
They are also present on some BCM63xx switches. Signed-off-by: Rafał Miłecki zaj...@gmail.com --- .../generic/files/drivers/net/phy/b53/b53_regs.h | 27 ++ 1 file changed, 27 insertions(+) diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h

[OpenWrt-Devel] [PATCH] b53: reverse duplex bit meaning for IMP state override register

2015-03-18 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- When reading bcmrobo.c code for BCM5301X I've noticed that it uses REG_CTRL_MIIPO (0x0e) with a following comment: /* default(1 1) DUPLX_MODE: * Full Duplex */ So I guess our bit definition may be reversed. Can someone verify this? ---

[OpenWrt-Devel] [PATCH] b53: define registers available and needed on BCM5301X

2015-03-18 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- .../generic/files/drivers/net/phy/b53/b53_regs.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h b/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h

Re: [OpenWrt-Devel] [PATCH] b53: reverse duplex bit meaning for IMP state override register

2015-03-18 Thread Alexandru Ardelean
On Wed, Mar 18, 2015 at 9:18 AM, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- When reading bcmrobo.c code for BCM5301X I've noticed that it uses REG_CTRL_MIIPO (0x0e) with a following comment: /* default(1 1) DUPLX_MODE: * Full Duplex */ So I

[OpenWrt-Devel] [PATCH] curl: fix PKG_CONFIG_DEPENDS

2015-03-18 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- package/network/utils/curl/Makefile | 66 ++--- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile index

Re: [OpenWrt-Devel] [PATCH] [package] mwlwifi: generate TX_STATUS event on transmitting auth, associate, and reallocate responses

2015-03-18 Thread Ian Kent
On Thu, 2015-03-19 at 12:05 +0800, Ian Kent wrote: On Wed, 2015-03-18 at 21:40 -0600, Pat Fruth wrote: This patch addresses an issue specific to Apple devices experiencing a wireless disconnect when trying to associate with either 2.4Ghz or 5Ghz wifi of a Linksys WRT1900AC router. Apple

Re: [OpenWrt-Devel] [PATCH] [package] mwlwifi: generate TX_STATUS event on transmitting auth, associate, and reallocate responses

2015-03-18 Thread Ian Kent
On Wed, 2015-03-18 at 21:40 -0600, Pat Fruth wrote: This patch addresses an issue specific to Apple devices experiencing a wireless disconnect when trying to associate with either 2.4Ghz or 5Ghz wifi of a Linksys WRT1900AC router. Apple devices (MacBooks running Mac OS X 10.10.x Yosemite in

[OpenWrt-Devel] [PATCH] [package] mwlwifi: generate TX_STATUS event on transmitting auth, associate, and reallocate responses

2015-03-18 Thread Pat Fruth
This patch addresses an issue specific to Apple devices experiencing a wireless disconnect when trying to associate with either 2.4Ghz or 5Ghz wifi of a Linksys WRT1900AC router. Apple devices (MacBooks running Mac OS X 10.10.x Yosemite in particular, but there may be others), appear to

[OpenWrt-Devel] [PATCH] build: define STAMP_CONFIGURED recursively

2015-03-18 Thread Matthias Schiffer
Defining STAMP_CONFIGURED statically caused it not to reflect changes to PKG_CONFIG_DEPENDS made after including package.mk, like the additional options added by feeds.mk for all packages. Furthermore, as STAMP_CONFIGURED_WILDCARD was already defined recursively, the patsubst in its definition

[OpenWrt-Devel] [PATCH V3] b53: define registers available and needed on BCM5301X

2015-03-18 Thread Rafał Miłecki
They are also present on some BCM63xx switches. Signed-off-by: Rafał Miłecki zaj...@gmail.com --- .../generic/files/drivers/net/phy/b53/b53_regs.h | 32 ++ 1 file changed, 32 insertions(+) diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h

Re: [OpenWrt-Devel] [PATCH] octeon: Add MMC support for EdgeRouter ER8

2015-03-18 Thread Jonathan Thibault
On 18/03/15 09:53 AM, John Crispin wrote: Hi Jonathan, nice one, i saw the patch on the lmo mailing list and had this on my todo list for the next days, will give it a shot later on my ER8. do you fancy also sending a version that we can apply to trunk ? John Here you go. diff --git