On Thu, 16 May 2019 22:35:35 +0200 Tomasz Maciej Nowak <tome...@o2.pl> wrote:
> What I would like to ask is if You've had also link training issues with PCIe > port > and particular Atheros/Qualcomm (AR3890, QCA9890) wifi cards on Turris MOX? > Which we > work around with these patches: > 527-PCI-aardvark-allow-to-specify-link-capability.patch > 528-arm64-dts-armada-3720-espressobin-set-max-link-to-ge.patch > Or do You use different chip vendors? Hi Tomasz, yes, the problematic chipsets are 9880 and 9890. Forcing link to PCIe 1.0 did not help on Turris Mox. After weeks of playing with the card I discovered that it could be solved by tweaking the length of the PERST signal (reset-gpios) in the aardvark driver. This is how I made it work on 4.14 on Turris Mox. On 4.19 it is not needed, but with the new patches by Miquel Raynal which will be in kernel 5.2 or 5.3 (adding support for suspend/resume) this again breaks, because the PERST signal is manipulated differently. I did not solve this issue, but I think it will again be done via the PERST signal. Marek _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel