[LEDE-DEV] [PATCH] wpa_supplicant: fix forced HT20/HT40 selection in IBSS and MESH mode

2016-07-27 Thread Koen Vandeputte
Signed-off-by: Masashi Honma Tested-by: Koen Vandeputte --- wpa_supplicant/wpa_supplicant.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -1955,20 +1955,27 @@ void ibss_mes

[LEDE-DEV] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-07-27 Thread Alexey Brodkin
For some [still unknown] reason in ARC SDP boards DW GMAC doesn't enter promiscuous mode if eth0 gets added to the br-lan interface before Ethernet PHY finishes autonegotiation (PHY gets reset on DW GMAC start). As a work-around we completely disable frame filtering in GMAC hardware which gives us

[LEDE-DEV] [PATCH] b53: allow ports with higher numbers than CPU port

2016-07-27 Thread Rafał Miłecki
Our code was assuming CPU port uses the highest number. My BCM53573 device has eth0 connected to port 8 and eth1 connected to port 5. While working on support for it I tried to: 1) Enable all ports (including port 8) 2) Set CPU port to 5 I noticed port 8 is not accessible anymore. It was just a de

Re: [LEDE-DEV] [PATCH] b53: allow ports with higher numbers than CPU port

2016-07-27 Thread Jonas Gorski
Hi, On 27 July 2016 at 14:15, Rafał Miłecki wrote: > Our code was assuming CPU port uses the highest number. My BCM53573 > device has eth0 connected to port 8 and eth1 connected to port 5. While > working on support for it I tried to: > 1) Enable all ports (including port 8) > 2) Set CPU port to

[LEDE-DEV] [PATCH ugps 1/7] cmake: Add proper library and include files search logic for dependecies

2016-07-27 Thread Petr Štetiar
Signed-off-by: Petr Štetiar --- CMakeLists.txt | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 326e649..7fe7a16 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,15 +7,19 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") SET(

[LEDE-DEV] [PATCH ugps 3/7] Bail out if we can't find GPS device

2016-07-27 Thread Petr Štetiar
Signed-off-by: Petr Štetiar --- main.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 87d069b..6ff4c17 100644 --- a/main.c +++ b/main.c @@ -145,7 +145,10 @@ main(int argc, char ** argv) conn.path = ubus_socket; conn.cb = ubus_connect_

[LEDE-DEV] [PATCH ugps 5/7] Fix typo in error message

2016-07-27 Thread Petr Štetiar
Signed-off-by: Petr Štetiar --- nmea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmea.c b/nmea.c index 3646a36..5a691b9 100644 --- a/nmea.c +++ b/nmea.c @@ -248,7 +248,7 @@ nmea_process(char *a) return; if (nmea_verify_checksum(a)) { -

[LEDE-DEV] [PATCH ugps 7/7] Allow bigger lat/lng numbers in RMC message

2016-07-27 Thread Petr Štetiar
It works now with following message: $GPRMC,122536.0,A,4350.237769,N,01826.423315 Signed-off-by: Petr Štetiar --- nmea.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nmea.c b/nmea.c index 4d9cb90..fecdef8 100644 --- a/nmea.c +++ b/nmea.c @@ -108,8 +108,9 @@ nmea_rm

[LEDE-DEV] [PATCH ugps 0/7] Few fixes and additions

2016-07-27 Thread Petr Štetiar
Hi, this patch series is result of my work on ugps while I was adding support for my Quectel EC20 miniPCIe device. -- ynezz Petr Štetiar (7): cmake: Add proper library and include files search logic for dependecies Switch to ulog for logging and add few commandline params Bail out if w

[LEDE-DEV] [PATCH ugps 2/7] Switch to ulog for logging and add few commandline params

2016-07-27 Thread Petr Štetiar
Signed-off-by: Petr Štetiar --- log.h | 17 +++-- main.c | 46 ++ nmea.c | 20 ++-- 3 files changed, 59 insertions(+), 24 deletions(-) diff --git a/log.h b/log.h index b8ae621..bf86f1e 100644 --- a/log.h +++ b/log.h @@ -15,

[LEDE-DEV] [PATCH ugps 4/7] Use strsep for NMEA message tokenization

2016-07-27 Thread Petr Štetiar
strtok doesn't parse correctly following message: $GPGSA,A,1,,,*1E Resulting in "datagram has wrong parameter count". Signed-off-by: Petr Štetiar --- nmea.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nmea.c b/nmea.c index 05c904d..3646a36 100644 --- a

[LEDE-DEV] [PATCH ugps 6/7] Show more useful error message if we can't open GPS device

2016-07-27 Thread Petr Štetiar
Signed-off-by: Petr Štetiar --- nmea.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nmea.c b/nmea.c index 5a691b9..4d9cb90 100644 --- a/nmea.c +++ b/nmea.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -314,7 +315,7 @@ nmea_open(

[LEDE-DEV] [PATCH] toolchain/gcc/arc-2016.03: Fix building on hosts with gcc 6.x

2016-07-27 Thread Alexey Brodkin
On attempt to build ARC toolchain on the host with gcc 6.1 I saw the same failure as described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959 This change adds a back-port of the fix from upstream gcc, see https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=233572 Note the fix is already

Re: [LEDE-DEV] lede forum

2016-07-27 Thread Rich Brown
Another thought: I strongly recommend that any forum software we choose support Markdown. BBcode was astonishing in the last 90's when it first came out. But requiring BBcode to to make decent formatting for messages is a big disincentive 15 years later. Rich _

Re: [LEDE-DEV] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-07-27 Thread Felix Fietkau
On 2016-07-27 14:11, Alexey Brodkin wrote: > For some [still unknown] reason in ARC SDP boards > DW GMAC doesn't enter promiscuous mode if eth0 gets > added to the br-lan interface before Ethernet PHY finishes > autonegotiation (PHY gets reset on DW GMAC start). I think this is something we need to

Re: [LEDE-DEV] lede forum

2016-07-27 Thread Russell Senior
> "Rich" == Rich Brown writes: Rich> Another thought: I strongly recommend that any forum software we Rich> choose support Markdown. BBcode was astonishing in the last 90's Rich> when it first came out. But requiring BBcode to to make decent Rich> formatting for messages is a big disincentiv

Re: [LEDE-DEV] [PATCH] linux/arc*: disable MAC frame filter in DW GMAC

2016-07-27 Thread Alexey Brodkin
Hi Felix, On Wed, 2016-07-27 at 17:19 +0200, Felix Fietkau wrote: > On 2016-07-27 14:11, Alexey Brodkin wrote: > > > > For some [still unknown] reason in ARC SDP boards > > DW GMAC doesn't enter promiscuous mode if eth0 gets > > added to the br-lan interface before Ethernet PHY finishes > > auton

Re: [LEDE-DEV] lede forum

2016-07-27 Thread Rich Brown
> On Jul 27, 2016, at 4:06 PM, Russell Senior wrote: > >> "Rich" == Rich Brown writes: > > Rich> Another thought: I strongly recommend that any forum software we > Rich> choose support Markdown. BBcode was astonishing in the last 90's > Rich> when it first came out. But requiring BBcode to

Re: [LEDE-DEV] [PATCH] dropbear: Fix append_port in IPv6 case (v2)

2016-07-27 Thread John Crispin
On 09/07/2016 23:55, Laurent GUERBY wrote: > The new IPPort parameter allows to pass unchanged parameters to dropbear, > dropbear uses -p [ip6]:port for IPv6 and this was not supported with > existing scripts. > > Fix indentation and missing then of previous patch. > > Signed-off-by: Laurent GU

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-07-27 Thread John Crispin
Hi, sorry for the late reply. i like the idea. however, please move the code into get_image() inside package/base-files/files/lib/upgrade/common.sh where the http/ftp code resides. John On 06/07/2016 15:40, ad...@yapic.net wrote: > From: Sergey Sergeev > > scp uls(like this > scp://ad

Re: [LEDE-DEV] [PATCH 1/4] bugcheck: Add tools to poll for and report certain bugs.

2016-07-27 Thread John Crispin
On 22/07/2016 01:52, gree...@candelatech.com wrote: > From: Ben Greear > > This first release is all about checking for ath10k firmware > crashes. Could be extended later for other modules/bugs/etc. > the description could be a little more verbose explaining roughly what the tool does > Sig

Re: [LEDE-DEV] lede forum

2016-07-27 Thread Nicolás Echániz
On 07/27/2016 10:43 PM, Rich Brown wrote: > Do you know of any forums that you could recommend? we have been using https://nodebb.org/ and it is quite good. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listin

Re: [LEDE-DEV] [PATCH] dropbear: Fix append_port in IPv6 case (v2)

2016-07-27 Thread Laurent GUERBY
On Thu, 2016-07-28 at 07:07 +0200, John Crispin wrote: > > On 09/07/2016 23:55, Laurent GUERBY wrote: > > The new IPPort parameter allows to pass unchanged parameters to dropbear, > > dropbear uses -p [ip6]:port for IPv6 and this was not supported with > > existing scripts. > > > > Fix indentatio