Re: [LEDE-DEV] Help on porting new device (DCS-933L)

2016-12-14 Thread Luiz Angelo Daros de Luca
Hi John, I did not get your mails. I just saw them on the maillist history. My device is labeled A1 (external tag). However, the ID on board is B1 (and according to openwrt wiki, A1 should use a different SoC). If I consider only the external tag, it is DCS-933L A1. Anyway, A1 and A2 shares the s

Re: [LEDE-DEV] Help on porting new device (DCS-933L)

2016-12-14 Thread John Crispin
On 14/12/2016 09:22, Luiz Angelo Daros de Luca wrote: > Hi John, > > I did not get your mails. I just saw them on the maillist history. > > My device is labeled A1 (external tag). However, the ID on board is B1 > (and according to openwrt wiki, A1 should use a different SoC). > If I consider on

[LEDE-DEV] [PATCH v2] hostapd: update to version 2016-12-12

2016-12-14 Thread Koen Vandeputte
Update to latest upstream HEAD: - Refreshed all - Delete patches and parts which made it upstream - Add new patch 480 which fixes a build error in the Mini config due to missing macro's Compile tested Full & Mini configs Run-tested Mini config Signed-off-by: Koen Vandeputte --- package/network

Re: [LEDE-DEV] [PATCH] hostapd: update to version 2016-12-12

2016-12-14 Thread Koen Vandeputte
On 2016-12-13 22:21, Felix Fietkau wrote: On 2016-12-13 18:04, Koen Vandeputte wrote: Update to latest upstream HEAD: - Refreshed all - Delete patches and parts which made it upstream - Add new patch 480 which fixes a build error in the Mini config due to missing macro's Compile tested Full

Re: [LEDE-DEV] [PATCH] libubox: Fix cppcheck warnings

2016-12-14 Thread Rafał Miłecki
On 14 December 2016 at 06:47, Rosen Penev wrote: > @@ -44,7 +44,10 @@ void *__calloc_a(size_t len, ...) > > ptr = calloc(1, alloc_len); > if (!ptr) > + { > + va_end(ap); > return NULL; > + } Please following coding style used across the wh

[LEDE-DEV] [Frontpage] Stuff that cannot be found since switch to wiki software

2016-12-14 Thread Stijn Segers
Hi guys, I find the new frontpage to be rather messy compared to the old Jekyll setup before. It had a ton of 'quick links' up top, which may have looked a bit dense, but it did allow efficient access to crucial information for possible contributors. Someone was looking for info on how to se

Re: [LEDE-DEV] [PATCH v2] hostapd: update to version 2016-12-12

2016-12-14 Thread Felix Fietkau
On 2016-12-14 10:04, Koen Vandeputte wrote: > Update to latest upstream HEAD: > > - Refreshed all > - Delete patches and parts which made it upstream > - Add new patch 480 which fixes a build error in the Mini config due to > missing macro's > > Compile tested Full & Mini configs > Run-tested Min

Re: [LEDE-DEV] DMARC related mass bounces / disabled subscriptions

2016-12-14 Thread Michael Richardson
Jo-Philipp Wich wrote: > a recent mailing list post from a DMARC enabled domain caused a large > flood of bounces from various mail providers, causing an automatic > disabling of about 190 subscriptions [1]. Thank you for taking care of this. Do you think that the From: could be oth

[LEDE-DEV] mdnsd ignoring questions

2016-12-14 Thread Cristian Morales Vega
I have found a problem with mdnsd, but since I'm no expert in the protocol and would prefer to stay that way, could somebody comment on these? The problem is with service_reply_single() (https://git.lede-project.org/?p=project/mdnsd.git;a=blob;f=service.c;h=fe6e5a91d31bd3475e47b3775db3e3474b848de6

[LEDE-DEV] [PATCH mdnsd] Fix IPv6 read

2016-12-14 Thread Cristian Morales Vega
This is a quick fix. It may still not work when the interface has multiple IPs, and this also applies to IPv4. Signed-off-by: Cristian Morales Vega --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 9ca85e1..1fae58e 100644 --- a/in

Re: [LEDE-DEV] mdnsd ignoring questions

2016-12-14 Thread John Crispin
On 14/12/2016 17:35, Cristian Morales Vega wrote: > I have found a problem with mdnsd, but since I'm no expert in the > protocol and would prefer to stay that way, could somebody comment on > these? > > The problem is with service_reply_single() > (https://git.lede-project.org/?p=project/mdnsd.g

Re: [LEDE-DEV] DMARC related mass bounces / disabled subscriptions

2016-12-14 Thread Lars Kruse
Hi Michael, Am Wed, 14 Dec 2016 09:29:18 -0500 schrieb Michael Richardson : > Jo-Philipp Wich wrote: > > a recent mailing list post from a DMARC enabled domain caused a large > > flood of bounces from various mail providers, causing an automatic > > disabling of about 190 subscripti

Re: [LEDE-DEV] [PATCH v3] ramips: build factory images for Buffalo WSR-1166DHP/WSR-1166DHP2

2016-12-14 Thread Naoki FUKAUMI
hi, I'll split my patch into 2 pieces, firmware-utils part and device specific part. I confirmed factory image (squashfs based) for WZR-900DHP2 works, so I'll send firmware-utils + WZR-900DHP2 patches at first. for WSR-1166DHP, I'll send RFC patch. Regards, _

[LEDE-DEV] [PATCH 1/3] firmware-utils: improve tools for Buffalo DHP series

2016-12-14 Thread FUKAUMI Naoki
some of Buffalo DHP series use slightly different trx magic, buffalo-tag, and factory image begin with 'bgn'. this patch adds support for building those images. Signed-off-by: FUKAUMI Naoki --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/buffalo-tag.c | 29 --

[LEDE-DEV] [PATCH 2/3] mtd: bcm47xxpart: add device specific workaround for Buffalo WZR-900DHP

2016-12-14 Thread FUKAUMI Naoki
2nd trx partition shouldn't be added, otherwise size of 1st trx partition won't be set properly. Signed-off-by: FUKAUMI Naoki --- .../901-mtd-bcm47xxpart-add-device-specific-workarounds.patch | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/target/linux/bcm53xx/pat

[LEDE-DEV] [PATCH 3/3] bcm53xx: build factory images for WZR-900DHP series

2016-12-14 Thread FUKAUMI Naoki
only DHP-EU and DHP2-JP (fw ver. 2.x) images are built for now. it seems DHP-JP/AP/TW (fw ver. 1.x) use different buffalo_csum() formula, so this may not work for them. (not confirmed) Signed-off-by: FUKAUMI Naoki --- target/linux/bcm53xx/image/Makefile | 32 1

Re: [LEDE-DEV] Help on porting new device (DCS-933L)

2016-12-14 Thread Luiz Angelo Daros de Luca
I guess you was looking for something like this: dcs933l_v1.13.05/dcs933l/RT288x_SDK/source/linux-2.6.21.x/drivers/char/ralink_gpio.h: #define PUSH_BUTTON_1_IRQ 0 #define PUSH_BUTTON_2_IRQ 10 #define WPS_LED 13 #define POWER_LED 2 #define LINK_LED9 #define LIGHT_S

[LEDE-DEV] [PATCH] libubox: Fix cppcheck warnings

2016-12-14 Thread Rosen Penev
Two formats and a memory leak. Signed-off by: Rosen Penev --- ulog.c | 2 +- usock.c | 2 +- utils.c | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ulog.c b/ulog.c index 985d366..e7fb081 100644 --- a/ulog.c +++ b/ulog.c @@ -91,7 +91,7 @@ static void ulog_kmsg(int prior