openwrt/target/linux
Matthijs Kooijman 92a0dd2447
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:40:21 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.188 2023-08-11 22:19:43 +02:00
archs38 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
armvirt generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
at91 kernel: bump 5.10 to 5.10.188 2023-08-11 22:19:43 +02:00
ath25 kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
ath79 ath79: fix packetloss on some WLR-7100 2023-09-17 16:40:21 +02:00
bcm27xx kernel: bump 5.10 to 5.10.194 2023-09-03 13:48:31 +02:00
bcm47xx kernel: bump 5.10 to 5.10.194 2023-09-03 13:48:31 +02:00
bcm53xx kernel: bump 5.10 to 5.10.188 2023-08-11 22:19:43 +02:00
bcm63xx kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
bcm4908 kernel: bump 5.10 to 5.10.190 2023-08-11 23:17:31 +02:00
bmips kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
gemini generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
generic kernel: bump 5.10 to 5.10.194 2023-09-03 13:48:31 +02:00
imx imx: fix USB support 2022-03-11 00:04:05 +01:00
ipq40xx ipq-wifi: fix upstream board-2.bin ZTE M289F snafu 2023-07-04 22:11:53 +02:00
ipq806x kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-12-27 08:05:23 +01:00
lantiq kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
layerscape kernel: bump 5.10 to 5.10.185 2023-07-01 14:31:42 +02:00
malta generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
mediatek kernel: bump 5.10 to 5.10.188 2023-08-11 22:19:43 +02:00
mpc85xx mpc85xx: add support for Watchguard Firebox T10 2023-03-10 00:13:29 +01:00
mvebu kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
mxs generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
octeon octeon: ubnt-edgerouter-4/6p: devicetree cleanup 2023-07-19 21:57:25 +02:00
octeontx kernel: bump 5.10 to 5.10.188 2023-08-11 22:19:43 +02:00
omap generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
oxnas kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
pistachio kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
qoriq qoriq: fix typo in FEATURES 2022-11-11 16:25:29 +02:00
ramips kernel: bump 5.10 to 5.10.189 2023-08-11 23:17:31 +02:00
realtek kernel: bump 5.10 to 5.10.190 2023-08-11 23:17:31 +02:00
rockchip kernel: bump 5.10 to 5.10.192 2023-08-29 23:48:04 +02:00
sunxi sunxi: fix typo in device packages for MarsBoard A10 2022-12-22 00:14:30 +01:00
tegra kernel: bump 5.10 to 5.10.132 2022-07-30 17:21:47 +02:00
uml kernel: bump 5.10 to 5.10.185 2023-07-01 14:31:42 +02:00
x86 x86: geode: fix hwrng register accesses 2023-09-14 09:32:27 +02:00
zynq generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:45:03 +02:00