openwrt/target/linux/ipq40xx
Nick Hainke e9431a8335 ipq40xx: 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)
[Deleted 5.10 from commit title]
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-04-30 16:31:32 +02:00
..
base-files ipq40xx: specify FritzBox 7530 LAN port label numbers 2022-01-03 14:00:34 +01:00
files ipq40xx: fix ar40xx driver 2022-04-30 16:31:32 +02:00
generic ipqx0xx: add Generic subtarget 2019-08-22 21:15:28 +02:00
image ipq40xx: Fix board-2.bin package name for Plasma Cloud PA2200 2021-09-19 20:01:18 +02:00
mikrotik ipq40xx: mikrotik: enable MikroTik platform driver 2021-01-17 14:31:56 +01:00
patches-5.4 kernel: bump 5.4 to 5.4.179 2022-02-12 19:41:39 +01:00
config-5.4 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile ipq40xx: add uboot-envtools to default packages 2021-06-08 20:43:56 +02:00