[PATCH v1 3/4] generic: add DTR quirk patch for MR400 LTE
Adrian Schmutzler
mail at adrianschmutzler.de
Tue Nov 17 06:55:25 EST 2020
Hi,
> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Filip Moc
> Sent: Dienstag, 17. November 2020 12:33
> To: openwrt-devel at lists.openwrt.org
> Subject: [PATCH v1 3/4] generic: add DTR quirk patch for MR400 LTE
>
> This is required for LTE module MR400 in TL-MR6400 v4.
>
> Signed-off-by: Filip Moc <lede at moc6.cz>
> ---
>
> Notes:
> Perhaps it would be better to go upstream with this?
Always :-)
If accepted, you could add it in the backports folder ...
Best
Adrian
>
> ...usb-qmi_wwan-Set-DTR-quirk-for-MR400.patch | 28
> +++++++++++++++++++
> 1 file changed, 28 insertions(+)
> create mode 100644 target/linux/generic/hack-5.4/789-net-usb-qmi_wwan-
> Set-DTR-quirk-for-MR400.patch
>
> diff --git a/target/linux/generic/hack-5.4/789-net-usb-qmi_wwan-Set-DTR-
> quirk-for-MR400.patch b/target/linux/generic/hack-5.4/789-net-usb-
> qmi_wwan-Set-DTR-quirk-for-MR400.patch
> new file mode 100644
> index 0000000000..9c15f01345
> --- /dev/null
> +++ b/target/linux/generic/hack-5.4/789-net-usb-qmi_wwan-Set-DTR-quirk-
> f
> +++ or-MR400.patch
> @@ -0,0 +1,28 @@
> +From a661d0b88c6de286f0b861ace670cb31776aadd6 Mon Sep 17 00:00:00
> 2001
> +From: Filip Moc <lede at moc6.cz>
> +Date: Wed, 11 Nov 2020 20:39:09 +0100
> +Subject: [PATCH] net: usb: qmi_wwan: Set DTR quirk for MR400
> +
> +LTE module MR400 embedded in TL-MR6400 v4 requires DTR to be set.
> +
> +Signed-off-by: Filip Moc <lede at moc6.cz>
> +---
> + drivers/net/usb/qmi_wwan.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
> +index 21d905d..da6f10a 100644
> +--- a/drivers/net/usb/qmi_wwan.c
> ++++ b/drivers/net/usb/qmi_wwan.c
> +@@ -1092,7 +1092,7 @@ static const struct usb_device_id products[] = {
> + {QMI_FIXED_INTF(0x05c6, 0x9011, 4)},
> + {QMI_FIXED_INTF(0x05c6, 0x9021, 1)},
> + {QMI_FIXED_INTF(0x05c6, 0x9022, 2)},
> +- {QMI_FIXED_INTF(0x05c6, 0x9025, 4)}, /* Alcatel-sbell ASB
> TL131 TDD LTE (China Mobile) */
> ++ {QMI_QUIRK_SET_DTR(0x05c6, 0x9025, 4)}, /* Alcatel-sbell ASB
> TL131 TDD LTE (China Mobile) */
> + {QMI_FIXED_INTF(0x05c6, 0x9026, 3)},
> + {QMI_FIXED_INTF(0x05c6, 0x902e, 5)},
> + {QMI_FIXED_INTF(0x05c6, 0x9031, 5)},
> +--
> +2.28.0
> +
> --
> 2.28.0
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20201117/fa1318d4/attachment.sig>
More information about the openwrt-devel
mailing list