1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Matthijs Kooijman c3be832427
ath79: fix packetloss on some WLR-7100
On some WLR-7100 routers, significant packet loss was observed. This is
fixed by configuring a delay on the GMAC0 RXD and RXDV lines.

The values used in this commit are copied from the values used by the
stock firmare (based on register dumping).

Out of four test routers, the problem was consistently observed on two.
It is unclear what the relevant difference is exactly (the two working
routers were v1 001 with AR1022 and v1 002 with AR9342, the two broken
routers were both v1 002 with AR1022). All PCB routing also seems
identical, so maybe there is some stray capacitance on some of these
that adds just enough delay or so...

With this change, the packet loss disappears on the broken routers,
without introducing new packet loss on the previously working routers.

Note that the PHY *also* has delays enabled (through
`qca,ar8327-initvals`) on both RX and TX lines, but apparently that is
not enough, or it is not effective (registers have been verified to be
written).

For detailed discussion of this issue and debug history, see
https://forum.openwrt.org/t/sitecom-wlr-7100-development-progress/79641

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
(cherry picked from commit d2ce3a61aa)
2023-09-17 16:39:47 +02:00
..
airoha kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
apm821xx apm821xx: switch over from DTB_SIZE to DEVICE_DTC_FLAGS 2023-06-10 19:06:15 +02:00
archs38 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
armsr armsr: add kmod-sfp to default device profile 2023-08-19 15:11:55 +02:00
at91 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
ath25 kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
ath79 ath79: fix packetloss on some WLR-7100 2023-09-17 16:39:47 +02:00
bcm27xx generic: backport initial LEDs hw control support 2023-09-04 23:00:34 +01:00
bcm47xx kernel: bump 5.15 to 5.15.129 2023-09-03 13:45:11 +02:00
bcm53xx kernel: bump 5.15 to 5.15.123 2023-07-31 01:39:50 +02:00
bcm63xx kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
bcm4908 kernel: bump 5.15 to 5.15.126 2023-08-15 17:11:39 +02:00
bmips kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
gemini treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
generic kernel: ensure VFIO related suboptions are disabled 2023-09-16 21:00:38 +02:00
imx kernel: backport NVMEM patches queued for the v6.5 2023-07-10 12:54:53 +02:00
ipq40xx generic: sync MediaTek Ethernet driver with upstream 2023-09-04 23:00:34 +01:00
ipq806x ipq806x: Correct OnHub sysupgrade config logic 2023-09-16 12:02:23 +02:00
ipq807x kernel: bump 5.15 to 5.15.123 2023-07-31 01:39:50 +02:00
kirkwood kirkwood: add support for Iomega Storcenter ix4-200d 2023-05-20 15:35:37 +02:00
lantiq kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
layerscape generic: sync MediaTek Ethernet driver with upstream 2023-09-04 23:00:34 +01:00
malta treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
mediatek mediatek: mt7622: set DEVICE_DTC_ADDR for BPi-R64 2023-09-04 23:00:35 +01:00
mpc85xx generic: backport initial LEDs hw control support 2023-09-04 23:00:34 +01:00
mvebu mvebu: add reset delays of PHYs for Fortinet FortiGate 50E 2023-09-16 12:40:03 +02:00
mxs mxs: rework image generation 2023-07-06 17:04:13 +02:00
octeon kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
octeontx kernel: bump 5.15 to 5.15.123 2023-07-31 01:39:50 +02:00
omap treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
oxnas kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
pistachio treewide: cleanup kernel symbol references 2023-05-12 13:02:44 +02:00
qoriq kernel: fix handling of CONFIG_DYNAMIC_DEBUG 2023-05-03 10:26:17 -07:00
ramips ramips: add support for ALFA Network AX1800RM 2023-09-11 13:49:07 +02:00
realtek generic: sync MediaTek Ethernet driver with upstream 2023-09-04 23:00:34 +01:00
rockchip rockchip: fix setup network config for nanopi r2c 2023-06-17 12:21:13 +02:00
sifiveu kernel: bump 5.15 to 5.15.117 2023-06-17 12:09:03 +02:00
sunxi kernel: Set CONFIG_FRAME_WARN depending on target 2023-06-02 21:18:41 +02:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
x86 x86: remove built-in vhost-net driver 2023-09-16 21:00:38 +02:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:41:12 +02:00