[PATCH v2 1/4] kernel: remove target specific setting of CONFIG_TCP_CONG_ADVANCED

2020-12-23 Thread Yousong Zhou
The option was introduced in upstream linux commit a6484045 ("[TCP]: Do not present confusing congestion control options by default."). The option is set to y in generic config and to the moment does not incur additional size increment. Make it y for all so that packages such as kmod-tcp-bbr do

[PATCH v2 4/4] kmod-tcp-hybla: new module for hybla congestion control algorithm

2020-12-23 Thread Yousong Zhou
Just the module and no default sysctl conf file is provided Link: https://forum.openwrt.org/t/20-xx-tcp-hybla/83076 Signed-off-by: Yousong Zhou --- package/kernel/linux/modules/netsupport.mk | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH v2 0/4] add tcp hybla congestion control algorithm

2020-12-23 Thread Yousong Zhou
CONFIG_TCP_CONG_ADVANCED=y do not incur addition space cost. Quote commit message of the first commit > The option was introduced in upstream linux commit a6484045 ("[TCP]: > Do not present confusing congestion control options by default."). tcp-hybla cca will be a module, like kmod-tcp-bbr, it

[PATCH v2 3/4] kmod-tcp-bbr: use AutoProbe

2020-12-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/kernel/linux/modules/netsupport.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 958b510015..d287e46270 100644 ---

[PATCH v2 2/4] kmod-tcp-bbr: leave CONFIG_TCP_CONG_ADVANCED to target config

2020-12-23 Thread Yousong Zhou
Since generic has the option set to y and other targets now inherit that choice, there is no behaviour change Signed-off-by: Yousong Zhou --- package/kernel/linux/modules/netsupport.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: arc700 + glibc fails

2020-12-23 Thread Rosen Penev
On Wed, Dec 23, 2020 at 8:40 PM Alexey Brodkin wrote: > > Hi Rosen, Hauke! > > > On Wed, Dec 23, 2020 at 6:54 AM Hauke Mehrtens wrote: > > > > > > Hi, > > > > > > ARC was switched from uClibc to glibc here: > > >

Re: arc700 + glibc fails

2020-12-23 Thread Alexey Brodkin
Hi Rosen, Hauke! > On Wed, Dec 23, 2020 at 6:54 AM Hauke Mehrtens wrote: > > > > Hi, > > > > ARC was switched from uClibc to glibc here: > > https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=95f1002acab574c24ad78f4453f091bf5a6731c7 > > uClibc support was removed from OpenWrt in the

Re: arc700 + glibc fails

2020-12-23 Thread Rosen Penev
On Wed, Dec 23, 2020 at 6:54 AM Hauke Mehrtens wrote: > > Hi, > > ARC was switched from uClibc to glibc here: > https://git.openwrt.org/95f1002acab574c24ad78f4453f091bf5a6731c7 > uClibc support was removed from OpenWrt in the next commit. > > It looks like arc700 is not supported by glibc 2.32,

Re: [PATCH 1/3] ramips: add support for the RT6855A SoC

2020-12-23 Thread Chuanhong Guo
Hi! On Thu, Dec 24, 2020 at 12:51 AM Rafaël Carré wrote: > > Add Linksys WAP300N target Please separate device support from target addition, and check your device support against our wiki checklist: https://openwrt.org/docs/guide-developer/device-support-policies > > Signed-off-by: Rafaël

Re: [PATCH 2/3] ramips: add RT6855A support to ethernet driver

2020-12-23 Thread Chuanhong Guo
Hi! On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: > > TODO: document offsets in rt305x_mii_write ? Please do so if you know what they mean. > [...] > diff --git > a/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3050.c >

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Chuanhong Guo
On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: > diff --git > a/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch > b/target/linux/ramips/patches-5.4/304-HACK-spi-mt7621-rt6855a-fix.patch > new file mode 100644 > index 00..972e969fc4 > --- /dev/null > +++

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Chuanhong Guo
Hi! On Thu, Dec 24, 2020 at 10:12 AM Chuanhong Guo wrote: > > Hi! > > On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: > > > > TODO: the spi-mt7621 patches will break support for other targets > > Does that work on RT6855A at all? spi-mt7621 is a mediatek IP core. > For a Ralink SoC I'm

Re: [PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Chuanhong Guo
Hi! On Thu, Dec 24, 2020 at 12:52 AM Rafaël Carré wrote: > > TODO: the spi-mt7621 patches will break support for other targets Does that work on RT6855A at all? spi-mt7621 is a mediatek IP core. For a Ralink SoC I'm expected to see a controller supported by existing spi-ralink.c instead. The

Re: [PATCH] kernel: add module for tcp-hybla congestion control algorithm

2020-12-23 Thread Yousong Zhou
On Wed, 23 Dec 2020 at 20:09, Hauke Mehrtens wrote: > > On 12/23/20 8:36 AM, Yousong Zhou wrote: > > Just the module and no default sysctl conf file is provided > > > > Ref: https://forum.openwrt.org/t/20-xx-tcp-hybla/83076 > > Signed-off-by: Yousong Zhou > > --- > >

[PATCH 2/3] ramips: add RT6855A support to ethernet driver

2020-12-23 Thread Rafaël Carré
TODO: document offsets in rt305x_mii_write ? Signed-off-by: Rafaël Carré --- .../files/drivers/net/ethernet/ralink/Kconfig | 6 +- .../drivers/net/ethernet/ralink/Makefile | 1 + .../drivers/net/ethernet/ralink/esw_rt3050.c | 22 +++- .../drivers/net/ethernet/ralink/mtk_eth_soc.h |

[PATCH 3/3] ramips: add RT6855A SoC Linux support patches

2020-12-23 Thread Rafaël Carré
TODO: the spi-mt7621 patches will break support for other targets Signed-off-by: Rafaël Carré --- ...-ralink-adds-support-for-RT6855A-SoC.patch | 688 ++ .../304-HACK-spi-mt7621-rt6855a-fix.patch | 35 + ...HACK-spi-mt7621.c-hardcode-frequency.patch | 69 +

[PATCH 1/3] ramips: add support for the RT6855A SoC

2020-12-23 Thread Rafaël Carré
Add Linksys WAP300N target Signed-off-by: Rafaël Carré --- target/linux/ramips/Makefile |2 +- target/linux/ramips/dts/rt6855.dtsi | 93 + .../ramips/dts/rt6855a_linksys_wap300n.dts| 18 + target/linux/ramips/image/Makefile|1 +

Re: [PATCH] kernel: add module for tcp-hybla congestion control algorithm

2020-12-23 Thread Hauke Mehrtens
On 12/23/20 2:56 PM, Henrique de Moraes Holschuh wrote: On 23/12/2020 09:08, Hauke Mehrtens wrote: On 12/23/20 8:36 AM, Yousong Zhou wrote: Just the module and no default sysctl conf file is provided Ref: https://forum.openwrt.org/t/20-xx-tcp-hybla/83076 Signed-off-by: Yousong Zhou ---  

arc700 + glibc fails

2020-12-23 Thread Hauke Mehrtens
Hi, ARC was switched from uClibc to glibc here: https://git.openwrt.org/95f1002acab574c24ad78f4453f091bf5a6731c7 uClibc support was removed from OpenWrt in the next commit. It looks like arc700 is not supported by glibc 2.32, only ARC HS38 is supported. On the arc770 target I am getting this

Re: IEEE802.11w enabled by default

2020-12-23 Thread Tom Psyborg
it could be kernel driver bug. try booting other distro, like kali or ubuntu releases from within last few years - e.g. 18.04,19.04,20.04 to see if it ever worked better. On 23/12/2020, Henrique de Moraes Holschuh wrote: > On 22/12/2020 11:31, Tom Psyborg wrote: >> In that case, check router

Re: IEEE802.11w enabled by default

2020-12-23 Thread Henrique de Moraes Holschuh
On 22/12/2020 11:31, Tom Psyborg wrote: In that case, check router side, client can support it most likely. Try different release or factory firmware Well, according to this page: https://kevinlocke.name/bits/2019/12/28/checking-802.11w-support/ the *client* hardware supports it (CMAC is

Re: [PATCH] kernel: add module for tcp-hybla congestion control algorithm

2020-12-23 Thread Henrique de Moraes Holschuh
On 23/12/2020 09:08, Hauke Mehrtens wrote: On 12/23/20 8:36 AM, Yousong Zhou wrote: Just the module and no default sysctl conf file is provided Ref: https://forum.openwrt.org/t/20-xx-tcp-hybla/83076 Signed-off-by: Yousong Zhou ---   package/kernel/linux/modules/netsupport.mk | 20

[PATCH 1/2] kernel/hack-5.4: make UDP tunneling user-selectable

2020-12-23 Thread Rui Salvaterra
UDP tunneling support isn't user-selectable, but it's required by WireGuard which is, for the time being, an out-of-tree module. We currently work around this issue by selecting an unrelated module which depends on UDP tunnelling (VXLAN). This is inconvenient, as it implies this unrelated module

[PATCH 0/2] kernel/udptunnel: clean up the dependency awkwardness

2020-12-23 Thread Rui Salvaterra
This trivial series makes the kernel UDP tunnel a visible selection and drops the VXLAN dependency from the udptunnel{4,6} packages, reducing the size of a monolithic (no modules) by about 15 kiB. Rui Salvaterra (2): kernel/hack-5.4: make UDP tunneling user-selectable kernel/modules: remove

[PATCH 2/2] kernel/modules: remove fake users from udptunnel{4,6}

2020-12-23 Thread Rui Salvaterra
Since we're now able to select CONFIG_NET_UDP_TUNNEL at will, drop the fake dependencies. This is a partial revert of commit d7e040f8bccec06b64c82963be6435101423dbf1 "kernel: add fake users for udptunnel and iptunnel modules". Signed-off-by: Rui Salvaterra ---

Re: [PATCH] kernel: add module for tcp-hybla congestion control algorithm

2020-12-23 Thread Hauke Mehrtens
On 12/23/20 8:36 AM, Yousong Zhou wrote: Just the module and no default sysctl conf file is provided Ref: https://forum.openwrt.org/t/20-xx-tcp-hybla/83076 Signed-off-by: Yousong Zhou --- package/kernel/linux/modules/netsupport.mk | 20 1 file changed, 20 insertions(+)

Re: [PATCHv3] ccache: update to 4.1

2020-12-23 Thread Rosen Penev
On Wed, Dec 23, 2020 at 12:28 AM Felix Fietkau wrote: > > > On 2020-12-23 09:14, Rosen Penev wrote: > > On Tue, Dec 22, 2020 at 11:53 PM Hannu Nyman wrote: > >> > >> Rosen Penev kirjoitti 23.12.2020 klo 8.33: > >> > Upstream switched to building with CMake. Adjust accordingly. > >> > > >> >

[PATCHv4] ccache: update to 4.1

2020-12-23 Thread Rosen Penev
Upstream switched to building with CMake. Adjust accordingly. Reapplied patch as upstream changed the file format. Added HOST_BUILD_PARALLEL for faster compilation. Added cmake tool dependency and removed circular dependencies as a result. Adjusted dependent tools to use NOCACHE as they are

Re: [PATCHv3] ccache: update to 4.1

2020-12-23 Thread Felix Fietkau
On 2020-12-23 09:14, Rosen Penev wrote: > On Tue, Dec 22, 2020 at 11:53 PM Hannu Nyman wrote: >> >> Rosen Penev kirjoitti 23.12.2020 klo 8.33: >> > Upstream switched to building with CMake. Adjust accordingly. >> > >> > Reapplied patch as upstream changed the file format. >> > >> > Added

Re: [PATCHv3] ccache: update to 4.1

2020-12-23 Thread Hannu Nyman
Rosen Penev kirjoitti 23.12.2020 klo 10.14: On Tue, Dec 22, 2020 at 11:53 PM Hannu Nyman wrote: Rosen Penev kirjoitti 23.12.2020 klo 8.33: Upstream switched to building with CMake. Adjust accordingly. Reapplied patch as upstream changed the file format. Added HOST_BUILD_PARALLEL for faster

Re: [PATCHv3] ccache: update to 4.1

2020-12-23 Thread Rosen Penev
On Tue, Dec 22, 2020 at 11:53 PM Hannu Nyman wrote: > > Rosen Penev kirjoitti 23.12.2020 klo 8.33: > > Upstream switched to building with CMake. Adjust accordingly. > > > > Reapplied patch as upstream changed the file format. > > > > Added HOST_BUILD_PARALLEL for faster compilation. > > > > Added

Re: [PATCHv3] ccache: update to 4.1

2020-12-23 Thread Hannu Nyman
Rosen Penev kirjoitti 23.12.2020 klo 8.33: Upstream switched to building with CMake. Adjust accordingly. Reapplied patch as upstream changed the file format. Added HOST_BUILD_PARALLEL for faster compilation. Added cmake tool dependency. Adjusted dependent tools to use NOCACHE as they are