openwrt/target/linux/ath79/patches-4.14
Christian Lamparter f3ffac90bc ath79: gmac: add parsers for rxd(v)- and tx(d|en)-delay for AR9344
Some AR9344 boards do very poorly with the default settings and
need custom rxdv-delay, rxd-delay, txd-delay, txen-delay flags
to perform reasonably.

In this case the WD My Net Wi-Fi Range Extender can not even
manage 10Mbps on a 1Gbit link:

root@AR9344:~# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from client [...]
[  5] local [...] connected to client
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  1.09 MBytes  9.16 Mbits/sec
[  5]   1.00-2.00   sec   895 KBytes  7.33 Mbits/sec
[  5]   2.00-3.00   sec   762 KBytes  6.25 Mbits/sec
[...]
[  5]  10.00-10.03  sec  17.0 KBytes  4.74 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.03  sec  9.00 MBytes  7.52 Mbits/sec

with but with the correct settings in place, it does much better:

root@AR9344:~# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from client [...]
[  5] local [...] connected to client
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  23.1 MBytes   193 Mbits/sec
[  5]   1.00-2.00   sec  23.1 MBytes   194 Mbits/sec
[  5]   2.00-3.00   sec  23.2 MBytes   195 Mbits/sec
[...]
[  5]  10.00-10.04  sec   710 KBytes   180 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.04  sec   237 MBytes   198 Mbits/sec

The tx data and enable delay bits definitions are taken from Atheros'
AR9344 Data Sheet Section "8.6.1 Ethernet Configuration (ETH_CFG)" on
page 153.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2018-08-13 08:48:37 +02:00
..
004-register_gpio_driver_earlier.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
405-mtd-tp-link-partition-parser.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
420-net-ar71xx_mac_driver.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
430-drivers-link-spi-before-mtd.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
461-spi-ath79-add-fast-flash-read.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
490-usb-ehci-add-quirks-for-qca-socs.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
900-mdio_bitbang_ignore_ta_value.patch ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
910-unaligned_access_hacks.patch kernel: bump 4.14 to 4.14.60 2018-08-03 16:10:38 +02:00
0001-tty-serial-drop-QCA-pecific-SoC-symbols.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0002-watchdog-ath79-fix-maximum-timeout.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0003-leds-add-reset-controller-based-driver.patch ath79: led-resets: add default-trigger property 2018-06-16 10:08:51 +02:00
0004-phy-add-ath79-usb-phys.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0005-usb-add-more-OF-quirk-properties.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0006-usb-drop-deprecated-symbols.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch ath79: fix irq-ath79-intc driver and add support for other ath79 SoCs 2018-06-20 11:12:00 +02:00
0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0009-MIPS-ath79-add-lots-of-missing-registers.patch ath79: gmac: add parsers for rxd(v)- and tx(d|en)-delay for AR9344 2018-08-13 08:48:37 +02:00
0010-MIPS-ath79-select-the-PINCTRL-subsystem.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0012-MIPS-ath79-Avoid-using-unitialized-reg-variable.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0013-MIPS-ath79-fix-system-restart.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0014-MIPS-ath79-finetune-cpu-overrides.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0015-MIPS-ath79-enable-uart-during-early_prink.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0016-MIPS-ath79-add-support-for-QCA953x-SoC.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0017-MIPS-ath79-add-support-for-qca956x-soc.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0019-MIPS-ath79-get-PCIe-controller-out-of-reset.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0020-MIPS-ath79-turn-pci-ar71xx-driver-into-a-pure-OF-dri.patch ath79: fix irq assignment for pci-ar71xx driver 2018-07-30 20:22:44 +02:00
0021-MIPS-ath79-turn-pci-ar724x-driver-into-a-pure-OF-dri.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0022-MIPS-ath79-drop-pci.c.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0023-MIPS-ath79-drop-mach-files.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0024-GPIO-add-named-gpio-exports.patch treewide: convert gpio-export to platform driver 2018-08-04 08:39:35 +02:00
0024-MIPS-ath79-drop-pdata-helpers.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0025-MIPS-ath79-drop-irq.c.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0026-MIPS-ath79-sanitize-Kconfig-symbols.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0027-MIPS-ath79-drop-mips_machine-support.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0028-MIPS-ath79-add-helpers-for-setting-clocks-and-expose.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0029-MIPS-ath79-move-legacy-wdt-and-uart-clock-aliases-ou.patch ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
0030-MIPS-ath79-pass-PLL-base-to-clock-init-functions.patch ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
0031-MIPS-ath79-make-specifying-the-reference-clock-in-DT.patch ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
0032-MIPS-ath79-support-setting-up-clock-via-DT-on-all-So.patch ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
0033-MIPS-ath79-export-switch-MDIO-reference-clock.patch ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
0034-MIPS-ath79-ath9k-exports.patch kernel: bump 4.14 to 4.14.44 2018-05-29 00:53:15 +03:00
0035-MIPS-ath79-fix-QCA956x-boot.patch kernel: bump 4.14 to 4.14.49 2018-06-18 07:10:19 +02:00