openwrt/target/linux/ath79
Matthijs Kooijman d2ce3a61aa
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>
2023-09-17 16:39:10 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: fix packetloss on some WLR-7100 2023-09-17 16:39:10 +02:00
files ath79: fix ethernet driver build errors on kernel 6.1 2023-09-08 18:06:30 +02:00
generic ath79: enable variable sector size erasure for generic subtarget 2023-09-08 18:06:30 +02:00
image ath79: add support for MikroTik RouterBOARD 750 r2 (hEX lite) 2023-09-16 12:49:26 +02:00
mikrotik ath79: add support for MikroTik RouterBOARD 750 r2 (hEX lite) 2023-09-16 12:49:26 +02:00
nand ath79: refresh patches and configs to introduce kernel 6.1 support 2023-09-08 18:06:30 +02:00
patches-5.15 ath79: rename and sort patches by OpenWrt naming rules 2023-09-08 18:06:30 +02:00
patches-6.1 ath79: backport gpio immutable irq_chip support 2023-09-08 18:06:30 +02:00
tiny ath79: add missing symbols by refreshing kernel configs 2023-09-08 18:06:30 +02:00
config-5.15 ath79: add missing symbols by refreshing kernel configs 2023-09-08 18:06:30 +02:00
config-6.1 ath79: refresh patches and configs to introduce kernel 6.1 support 2023-09-08 18:06:30 +02:00
Makefile Revert "ath79: use kernel 6.1 as default" 2023-09-09 08:42:50 +02:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00