Re: [OpenWrt-Devel] [ar71xx] Help with Ubiquiti Rocket M5 XW support patch

2015-04-16 Thread Roger Pueyo Centelles
Hi lynxis, Just one port, but without switch. The init is correct now and the Ethernet port works. I was using the wrong mask, I thought it would be BIT(2) but I was wrong. I'll be submitting the patch in a while. Thank you very much! Roger 2015-04-16 0:15 GMT+02:00 Alexander Couzens

[OpenWrt-Devel] How can I get the dBm when the phone connecting the router.

2015-04-16 Thread Soulkey
Hi, I have some problem to solve, and hope I can get some help. Thank you !!! MTK7620A Soc and the OPENWRT official wifi driver (cfg80211, mac80211, rt2800-soc). May I ask how can I get the signal intensity when the device connecting the router, and let me according to the signal strength to

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Add support for Ubiquiti Rocket M XW devices

2015-04-16 Thread Roger Pueyo Centelles
Hi, Just setting the mask with BIT(4) does not work. The Rocket needs this line: ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; for the RGMII AR8035 Ethernet controller, while the Nano/Loco use the MII mode: ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII; Therefore the

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Add support for Ubiquiti Rocket M XW devices

2015-04-16 Thread Alexander Couzens
Hi Roger, the loco xw seems to be very similiar to the rocket xw. Have you tried the init code from my last mail? If it works I would prefer it, because it's reusing existent code and it's a lot less code. Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@jabber.ccc.de

[OpenWrt-Devel] [PATCH] [ar71xx] Add support for Ubiquiti Rocket M XW devices

2015-04-16 Thread roger . pueyo
From: Roger Pueyo Centelles roger.pu...@guifi.net This patch adds support for the XW version of the Rocket M series devices manufactured by Ubiquiti, based on the Atheros AR9342 SoC. Signed-off-by: Roger Pueyo Centelles roger.pu...@guifi.net --- target/linux/ar71xx/base-files/etc/diag.sh

[OpenWrt-Devel] [Patch] kernel: remove usb-serial-motorola-phone

2015-04-16 Thread Dirk Neukirchen
replaced by usb-serial-simple (see r45233) Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- package/kernel/linux/modules/usb.mk | 15 --- 1 file changed, 15 deletions(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index

[OpenWrt-Devel] [Patch] kernel: fix generic/3.18 wpan symbols

2015-04-16 Thread Dirk Neukirchen
-removed symbol because it should be handled by wpan.mk -add missing FAKEHARD symbol (this symbol is removed in Kernel 4.0) Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- target/linux/generic/config-3.18 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [Patch v2] wpan: rework bluetooth / wpan and 6lowpan dependencies

2015-04-16 Thread Dirk Neukirchen
- remove/rename of 6lowpan-iphc upstream change in 3.17: 6lowpan: introduce new net/6lowpan directory id: 2c6bed7cfcd3f594ed9e4d6919fa2ebea2243d19 Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- package/kernel/linux/modules/other.mk | 30 +-

[OpenWrt-Devel] [PATCH] kernel: add bluetooth symbols from Kernel 4.0

2015-04-16 Thread Dirk Neukirchen
upstream commit: Bluetooth: Introduce BT_BREDR and BT_LE config options id: 65efd2bf4885312b42de9829159789199221cc60 Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- package/kernel/linux/modules/other.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git

[OpenWrt-Devel] [Patch] kernel: move wpan to separate menu

2015-04-16 Thread Dirk Neukirchen
bluetooth is separate from 802.11 entries too Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- package/kernel/linux/modules/wpan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk index

[OpenWrt-Devel] [PATCH] wpan: remove duplicate DEPENDS

2015-04-16 Thread Dirk Neukirchen
Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- package/kernel/linux/modules/wpan.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk index f544f61..6b07809 100644 ---

[OpenWrt-Devel] [Patch] kernel: remove module checks for 3.15/3.16/3.17

2015-04-16 Thread Dirk Neukirchen
Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- package/kernel/linux/modules/crypto.mk | 6 ++ package/kernel/linux/modules/other.mk | 4 +--- package/kernel/linux/modules/usb.mk| 15 --- package/kernel/linux/modules/video.mk | 16 4 files

[OpenWrt-Devel] [PATCH] swconfig: set pvid the same as vid to untagged ports in vlan group

2015-04-16 Thread Roman Yeryomin
Typical usage of PVID is when it's set to the same VLAN ID as untagged VLAN on that port so that ingress traffic would fall into the same VLAN as egress traffic. Before PVID was set to VLAN group number which could easily differ from VLAN ID. Signed-off-by: Roman Yeryomin ro...@advem.lv ---

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

2015-04-16 Thread Luka Perkov
The base code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov l...@openwrt.org CC: Steven Barth ste...@midlink.org --- = changes in v2: Use new API: size_t b64decode(void **out, const char *in, size_t len); size_t b64encode(char **out, const

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

2015-04-16 Thread Felix Fietkau
On 2015-04-17 01:13, Luka Perkov wrote: The base code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov l...@openwrt.org CC: Steven Barth ste...@midlink.org --- --- /dev/null +++ b/b64.c @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2011 Steven

Re: [OpenWrt-Devel] -ash: changed behaviour of local vars / v1.22.1 - v1.23.2

2015-04-16 Thread Felix Fietkau
On 2015-04-16 20:57, Bastian Bittorf wrote: while heavy testing of recent OpenWrt i discovered the following problem: x() { local x=1; echo $x; local x; echo $x; } older busybox will output 1 1 and v1.23.2 will only output 1 this means: 'local varname' will empty the var. is this

[OpenWrt-Devel] -ash: changed behaviour of local vars / v1.22.1 - v1.23.2

2015-04-16 Thread Bastian Bittorf
while heavy testing of recent OpenWrt i discovered the following problem: x() { local x=1; echo $x; local x; echo $x; } older busybox will output 1 1 and v1.23.2 will only output 1 this means: 'local varname' will empty the var. is this a problem with a changed config? at least i cannot find a