[LEDE-DEV] [PATCH] ramips: Change ethernet driver to use napi_complete_done.

2017-09-06 Thread Rosen Penev
Backport of mailine linux commit. Speeds up ethernet slightly and reduces latency. Signed-off-by: Rosen Penev --- target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mtk_eth_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/files-4.9/drivers/net/e

[LEDE-DEV] [PATCH] dnsmasq: backport official fix for CVE-2017-13704

2017-09-06 Thread Kevin Darbyshire-Bryant
Remove LEDE partial fix for CVE-2017-13704. Backport official fix from upstream. Signed-off-by: Kevin Darbyshire-Bryant --- Please cherrypick to LEDE 17.01 .../patches/025-backport-fix-CVE-2017-13704.patch | 94 ++ .../dnsmasq/patches/025-fix-CVE-2017-13704.patch | 37 --

Re: [LEDE-DEV] Recent issues w/ sysupgrade

2017-09-06 Thread Philip Prindeville
Yes, confirmed. I updated to: 5c983be uclient: update to 2017-09-06 and then rebased, deleting out the 3 last util-linux commits: e505f59 utils/util-linux: Update to 2.30.1 4fce22e util-linux: add missing dependencies 5c2c0f8 util-linux: don't need to build NLS support and built and installed

[LEDE-DEV] [PATCH] ath10k: Re-enable intermediate softqueues for all devices

2017-09-06 Thread Toke Høiland-Jørgensen
The upstream ath10k driver disables the intermediate softqueues for some devices. This patch reverts that behaviour and always enables the softqueues (and associated bufferbloat fixes). We have had reports of people running this with good results: https://lists.bufferbloat.net/pipermail/make-wifi-f

Re: [LEDE-DEV] [PATCHv2 3/4] kernel/4.4: add generic spi-nand framework

2017-09-06 Thread Weijie Gao
Yes, I have to admit operations of GigaDevice's chips are the same. All the chips have the same read/write/erase command sequences. Differences are plane selection bits (Micron), die selection (Micron/Winbond), buffered read/continuous read (Winbond) and ECC status bits. These differences can be ab

[LEDE-DEV] [PATCH v4] ramips: Add support for the HNET C108

2017-09-06 Thread Kristian Evensen
The HNET C108 (http://www.szhwtech88.com/Product-product-cid-100-id-4374.html) is a mifi based on MT7602A, which has the following specifications: * CPU: MT7620A * 1x 10/100Mbps Ethernet. * 16 MB Flash. * 64 MB RAM. * 1x USB 2.0 port. Only power is connected, this port is meant for charging other

Re: [LEDE-DEV] [PATCH uclient] uclient-http: fix Host: header for literal IPv6 addresses

2017-09-06 Thread Jo-Philipp Wich
Hi Matthias, > For literal IPv6 addresses, the host header must have the form > > Host: [...] > > including the square brackets, as it may also contain a port. Some > webservers ignore the missing brackets, while others will return > error 400. > > IPv6 addresses are determined by searching fo

Re: [LEDE-DEV] [PATCH v3] ramips: Add support for the HNET C108

2017-09-06 Thread Kristian Evensen
On Wed, Sep 6, 2017 at 10:35 AM, Kristian Evensen wrote: > The HNET C108 > (http://www.szhwtech88.com/Product-product-cid-100-id-4374.html) is a > mifi based on MT7602A, which has the following specifications: > > * CPU: MT7620A > * 1x 10/100Mbps Ethernet. > * 16 MB Flash. > * 64 MB RAM. > * 1x US

[LEDE-DEV] [PATCH v3] ramips: Add support for the HNET C108

2017-09-06 Thread Kristian Evensen
The HNET C108 (http://www.szhwtech88.com/Product-product-cid-100-id-4374.html) is a mifi based on MT7602A, which has the following specifications: * CPU: MT7620A * 1x 10/100Mbps Ethernet. * 16 MB Flash. * 64 MB RAM. * 1x USB 2.0 port. Only power is connected, this port is meant for charging other

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread Kristian Evensen
On Wed, Sep 6, 2017 at 10:07 AM, Mathias Kresin wrote: > 06.09.2017 09:26, Kristian Evensen: >> >> On Wed, Sep 6, 2017 at 9:03 AM, Mathias Kresin wrote: * Wifi LED. It is always switched on. >>> >>> >>> >>> Always switched on in terms of no relation to the up/down state of the >>> wirel

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread Mathias Kresin
06.09.2017 09:26, Kristian Evensen: On Wed, Sep 6, 2017 at 9:03 AM, Mathias Kresin wrote: * Wifi LED. It is always switched on. Always switched on in terms of no relation to the up/down state of the wireless interface or it doesn't blink on activity? Is the LED connected to the SoC? Have yo

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread Kristian Evensen
Hi, On Wed, Sep 6, 2017 at 9:46 AM, John Crispin wrote: > the mt7620 only has 1 usb port. if the minipcie usb works, then its wired > there. maybe there is a gpio to switch between internal modem port and > external port ? Thanks for the help! I just spoke to the factory and it turns out that po

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread John Crispin
On 06/09/17 09:26, Kristian Evensen wrote: Hi, Thanks for the feedback. On Wed, Sep 6, 2017 at 9:03 AM, Mathias Kresin wrote: Not working: * USB port. What does not working means? Not detected? USB devices not powered (but are working with an external powered hub)? Any error messages? No

Re: [LEDE-DEV] [PATCH] netifd: update to git HEAD version (add veth-support)

2017-09-06 Thread Hans Dedecker
On Tue, Sep 5, 2017 at 1:52 PM, Sven Roederer wrote: > Hans, > > The intention was to get veth-support for 17.01, as we need this in our > Freifunk firmware. > As vti/gre/6rd are features not used, it was not found to be broken. > > So only picking > https://git.lede-project.org/?p=source.git;a=

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread Kristian Evensen
Hi, Thanks for the feedback. On Wed, Sep 6, 2017 at 9:03 AM, Mathias Kresin wrote: >> Not working: >> * USB port. > > > What does not working means? Not detected? USB devices not powered (but are > working with an external powered hub)? Any error messages? Not detected and no error messages, so

Re: [LEDE-DEV] [PATCH] ramips: Add support for the HNET C108

2017-09-06 Thread Mathias Kresin
Hey Kristian, I've picked your 01_leds file permission fix since it fixes an bug that I'm searching for a few days already. Find comments from a first brief review inline. Mathias 05.09.2017 21:48, Kristian Evensen: The HNET C108 (http://www.szhwtech88.com/Product-product-cid-100-id-4374.ht