mirror of https://github.com/hak5/openwrt.git
f3ffac90bc
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> |
||
---|---|---|
.. | ||
0001-tty-serial-drop-QCA-pecific-SoC-symbols.patch | ||
0002-watchdog-ath79-fix-maximum-timeout.patch | ||
0003-leds-add-reset-controller-based-driver.patch | ||
0004-phy-add-ath79-usb-phys.patch | ||
004-register_gpio_driver_earlier.patch | ||
0005-usb-add-more-OF-quirk-properties.patch | ||
0006-usb-drop-deprecated-symbols.patch | ||
0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch | ||
0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch | ||
0009-MIPS-ath79-add-lots-of-missing-registers.patch | ||
0010-MIPS-ath79-select-the-PINCTRL-subsystem.patch | ||
0012-MIPS-ath79-Avoid-using-unitialized-reg-variable.patch | ||
0013-MIPS-ath79-fix-system-restart.patch | ||
0014-MIPS-ath79-finetune-cpu-overrides.patch | ||
0015-MIPS-ath79-enable-uart-during-early_prink.patch | ||
0016-MIPS-ath79-add-support-for-QCA953x-SoC.patch | ||
0017-MIPS-ath79-add-support-for-qca956x-soc.patch | ||
0019-MIPS-ath79-get-PCIe-controller-out-of-reset.patch | ||
0020-MIPS-ath79-turn-pci-ar71xx-driver-into-a-pure-OF-dri.patch | ||
0021-MIPS-ath79-turn-pci-ar724x-driver-into-a-pure-OF-dri.patch | ||
0022-MIPS-ath79-drop-pci.c.patch | ||
0023-MIPS-ath79-drop-mach-files.patch | ||
0024-GPIO-add-named-gpio-exports.patch | ||
0024-MIPS-ath79-drop-pdata-helpers.patch | ||
0025-MIPS-ath79-drop-irq.c.patch | ||
0026-MIPS-ath79-sanitize-Kconfig-symbols.patch | ||
0027-MIPS-ath79-drop-mips_machine-support.patch | ||
0028-MIPS-ath79-add-helpers-for-setting-clocks-and-expose.patch | ||
0029-MIPS-ath79-move-legacy-wdt-and-uart-clock-aliases-ou.patch | ||
0030-MIPS-ath79-pass-PLL-base-to-clock-init-functions.patch | ||
0031-MIPS-ath79-make-specifying-the-reference-clock-in-DT.patch | ||
0032-MIPS-ath79-support-setting-up-clock-via-DT-on-all-So.patch | ||
0033-MIPS-ath79-export-switch-MDIO-reference-clock.patch | ||
0034-MIPS-ath79-ath9k-exports.patch | ||
0035-MIPS-ath79-fix-QCA956x-boot.patch | ||
405-mtd-tp-link-partition-parser.patch | ||
420-net-ar71xx_mac_driver.patch | ||
430-drivers-link-spi-before-mtd.patch | ||
461-spi-ath79-add-fast-flash-read.patch | ||
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch | ||
490-usb-ehci-add-quirks-for-qca-socs.patch | ||
900-mdio_bitbang_ignore_ta_value.patch | ||
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch | ||
910-unaligned_access_hacks.patch |