net: usb: qmi_wwan: add u-blox 0x1342 composition
authorDavide Tronchin <davide.tronchin.94@gmail.com>
Mon, 21 Nov 2022 12:54:55 +0000 (13:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Nov 2022 12:47:54 +0000 (12:47 +0000)
commita487069e11b6527373f7c6f435d8998051d0b5d9
treeb0bd298fdbc293cf57699ea6e043273f4ed88f47
parentaf295e854a4e3813ffbdef26dbb6a4d6226c3ea1
net: usb: qmi_wwan: add u-blox 0x1342 composition

Add RmNet support for LARA-L6.

LARA-L6 module can be configured (by AT interface) in three different
USB modes:
* Default mode (Vendor ID: 0x1546 Product ID: 0x1341) with 4 serial
interfaces
* RmNet mode (Vendor ID: 0x1546 Product ID: 0x1342) with 4 serial
interfaces and 1 RmNet virtual network interface
* CDC-ECM mode (Vendor ID: 0x1546 Product ID: 0x1343) with 4 serial
interface and 1 CDC-ECM virtual network interface

In RmNet mode LARA-L6 exposes the following interfaces:
If 0: Diagnostic
If 1: AT parser
If 2: AT parser
If 3: AT parset/alternative functions
If 4: RMNET interface

Signed-off-by: Davide Tronchin <davide.tronchin.94@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c