openwrt/target/linux/ipq40xx
Nick Hainke d4053d2e8e ipq40xx: 5.10: fix ar40xx driver
This commit is completely based on the work of adron-s:
https://github.com/openwrt/openwrt/pull/4721#issuecomment-1101108651

The commit fixes the data corruption on TX packets. Packets are
transmitted, but their contents are replaced with zeros. This error is
caused by the lack of guard (50 ms) intervals between calibration phases.
This error is treated by adding mdelay(50) to the calibration function
code. In the original qca-ssda code [0], these mdelays were existing, but
in the ar41xx.c they are gone.

Tested on:
- Fritz!Box 4040
- Fritz!Box 7530
- Mikrotik SXTsq 5AC
- ZyXEL NBG6617

- [0] https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-ssdk/-/blob/NHSS.QSDK.11.4/src/init/ssdk_init.c#L2072

Suggested-by: Serhii Serhieiev <adron@mstnt.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit ab7e53e5cc)
2022-04-29 00:27:58 +02:00
..
base-files ipq40xx: WAC510: device-tree overhauling 2022-03-27 16:14:00 +01:00
files ipq40xx: WAC510: device-tree overhauling 2022-03-27 16:14:00 +01:00
files-5.10/drivers/net/mdio ipq40xx: 5.10: fix ar40xx driver 2022-04-29 00:27:58 +02:00
generic ipq40xx: add support for GL.iNet GL-B2200 2021-12-02 20:43:07 +00:00
image ipq40xx: add RT-AC2200 alternative name to RT-AC42U/RT-ACRH17 2022-04-10 16:26:01 +01:00
mikrotik mikrotik: enable variable size erase 2022-01-13 09:33:29 +01:00
patches-5.10 kernel: bump 5.10 to 5.10.110 2022-04-10 16:31:42 +01:00
config-5.10 kernel: 5.10: allocate last level PTEs in high memory 2022-03-01 22:57:34 +00:00
Makefile ipq40xx: switch to kernel 5.10 2021-11-03 23:50:56 +01:00