openwrt/package/kernel/lantiq
Jan Hoffmann f872b96609 ltq-vectoring: add driver
In order to calculate the required pre-distortion for downstream
vectoring, the vectoring control entity (VCE) at the carrier office
needs error samples from the modem. On Lantiq VR9 modems, error reports
are generated by the firmware, but need to be multiplexed into the data
stream by the driver on the main processor when L2 encapsulation is
selected by the VCE.

This driver provides the necessary callback function, which is called by
the MEI driver after receiving an error report from the firmware.

Originally, it is part of the Lantiq PPA driver, but after a few changes
it also works with the PTM driver used in OpenWrt. The direct call to
ndo_start_xmit needs to be replaced, as the PTM driver relies on locks
from the kernel. Instead dev_queue_xmit is used, which is called from a
work queue, as it is not safe to call from an interrupt handler.

Additional changes include fixes to support recent kernel versions and
a change of the used interface from ptm0 to dsl0.

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-03-21 12:28:26 +00:00
..
ltq-adsl lantiq: ltq-adsl: add kernel 5.10 compatiblity 2021-04-12 23:23:09 +02:00
ltq-adsl-fw ltq-adsl(-fw): Makefile clean-up and fixes 2020-04-24 17:59:22 +02:00
ltq-adsl-mei kernel: drop outdated kernel version switches for local code 2020-05-17 18:35:51 +02:00
ltq-atm ltq-atm/ltq-ptm: add kernel 5.10 compatiblity 2021-04-12 23:23:09 +02:00
ltq-deu ltq-deu: disable arc4 algorithm 2022-01-06 00:23:15 +01:00
ltq-ifxos ltq-ifxos: update to 1.7.1 2022-01-08 00:49:59 +01:00
ltq-ptm ltq-atm/ltq-ptm: add kernel 5.10 compatiblity 2021-04-12 23:23:09 +02:00
ltq-tapi lantiq: ltq-tapi: add kernel 5.10 compatiblity 2021-04-12 23:23:09 +02:00
ltq-vdsl ltq-vdsl: move to the default device name /dev/dsl_cpe_api/0 2022-01-08 00:49:59 +01:00
ltq-vdsl-fw ltq-vdsl-fw: update w921v firmware download URL 2021-11-15 15:18:03 +00:00
ltq-vdsl-mei ltq-vdsl-mei: Remove static linking 2022-01-21 23:09:24 +01:00
ltq-vectoring ltq-vectoring: add driver 2022-03-21 12:28:26 +00:00
ltq-vmmc kernel: lantiq: fix Module.symvers handling 2021-02-18 08:43:08 +01:00