OSDN Git Service

net: usb: qmi_wwan: add u-blox 0x1312 composition
authorDavide Tronchin <davide.tronchin.94@gmail.com>
Mon, 26 Jun 2023 12:53:36 +0000 (14:53 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 27 Jun 2023 13:52:15 +0000 (15:52 +0200)
commiteaaacb085144e7e950061bfd6d097eb87f7513d7
tree7b56dff2cf0e1cc4010a8fd1e4e42adf17b915eb
parent1a7d09a737a09297e77d9cd575cfe7d1bd14aad9
net: usb: qmi_wwan: add u-blox 0x1312 composition

Add RmNet support for LARA-R6 01B.

The new LARA-R6 product variant identified by the "01B" string can be
configured (by AT interface) in three different USB modes:
* Default mode (Vendor ID: 0x1546 Product ID: 0x1311) with 4 serial
interfaces
* RmNet mode (Vendor ID: 0x1546 Product ID: 0x1312) with 4 serial
interfaces and 1 RmNet virtual network interface
* CDC-ECM mode (Vendor ID: 0x1546 Product ID: 0x1313) with 4 serial
interface and 1 CDC-ECM virtual network interface
The first 4 interfaces of all the 3 configurations (default, RmNet, ECM)
are the same.

In RmNet mode LARA-R6 01B 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>
Link: https://lore.kernel.org/r/20230626125336.3127-1-davide.tronchin.94@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/usb/qmi_wwan.c