Files
ModemManager/plugins
Stephan Gerhold bc1cecbfc4 broadband-modem-qmi: choose endpoint number based on data port
At the moment the endpoint type/number is chosen based on the QMI
control port. The assumption is that multiplexing is implemented using
an additional protocol layer (e.g. QMAP) or that each network interface
has its own QMI control port.

This is not necessarily the case for BAM-DMUX. To use the built-in
multiplexing the WDS client must be bound to the correct data port.
This works already for older firmware versions using "Bind Data Port"
(SIO port numbers), but not for newer ones using "Bind Mux Data Port"
(endpoint type/interface numbers).

Make it work for newer firmware versions as well by choosing the
endpoint type/number based on the data port similar to the existing
implementation for SIO port numbers.

Note: The correct endpoint interface number is currently only used for
the steps in mm-bearer-qmi. Ideally more refactoring should be done in
mm-port-qmi to call WDA Set Data Format for each of the endpoints.
In practice it usually works fine without because the data format is
set correctly by default.
2022-08-18 18:12:49 +02:00
..
2022-07-12 09:00:11 +00:00
2022-07-11 11:50:00 +00:00
2022-07-20 13:09:46 +02:00
2022-03-26 15:51:11 +01:00
2022-03-26 15:51:11 +01:00
2020-09-28 08:22:35 +00:00
2021-09-07 10:55:43 +00:00

The following list shows the relationship among the different plugins provided
by default by ModemManager. For each of the plugin types, the list of modem
objects created by the plugin is given.

 * Altair:
   ** MMBroadbandModemAltairLte

 * Anydata:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemAnydata

 * Cinterion:
   ** MMBroadbandModemQmiCinterion
   ** MMBroadbandModemCinterion

 * Dell:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemFoxconnT77w968    (from the Foxconn utils)
   ** MMBroadbandModemMbimXmm           (from the XMM utils)
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModemNovatel           (from the Novatel utils)
   ** MMBroadbandModemSierra            (from the Sierra Legacy utils)
   ** MMBroadbandModemTelit             (from the Telit utils)
   ** MMBroadbandModemXmm               (from the XMM utils)
   ** MMBroadbandModem                  (generic)

 * D-Link:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModem                  (generic)

 * Fibocom:
   ** MMBroadbandModemMbimXmm           (from the XMM utils)
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModemXmm               (from the XMM utils)
   ** MMBroadbandModem                  (generic)

 * Foxconn:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemFoxconnT77w968
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModem                  (generic)

 * Generic:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModem                  (generic)

 * Gosuncn:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModem                  (generic)

 * Haier:
   ** MMBroadbandModem                  (generic)

 * Huawei:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModemHuawei

 * Icera (no explicit plugin):
   ** MMBroadbandModemIcera

 * Iridium:
   ** MMBroadbandModemIridium

 * Linktop:
   ** MMBroadbandModemLinktop

 * Longcheer:
   ** MMBroadbandModemLongcheer

 * MBM:
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModemMbm

 * Motorola:
   ** MMBroadbandModemMotorola

 * Mtk:
   ** MMBroadbandModemMtk

 * Nokia:
   ** MMBroadbandModemNokia

 * Nokia Icera:
   ** MMBroadbandModemIcera             (from the Icera utils)

 * Novatel:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemNovatel

 * Novatel LTE:
   ** MMBroadbandModemNovatelLte

 * Option:
   ** MMBroadbandModemOption

 * Option HSO:
   ** MMBroadbandModemHso

 * Pantech:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemPantech

 * Quectel:
   ** MMBroadbandModemQmiQuectel
   ** MMBroadbandModemQuectel

 * Samsung:
   ** MMBroadbandModemSamsung           (subclassed from the Icera utils)

 * Sierra Legacy:
   ** MMBroadbandModemSierraIcera       (subclassed from the Icera utils)
   ** MMBroadbandModemSierra

 * Sierra:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModem                  (generic)

 * Simtech:
   ** MMBroadbandModemQmiSimtech
   ** MMBroadbandModemSimtech

 * Telit:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemMbimTelit
   ** MMBroadbandModemTelit

 * Thuraya
   ** MMBroadbandModemThuraya

 * TP-Link:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModem                  (generic)

 * u-blox:
   ** MMBroadbandModemUblox

 * via:
   ** MMBroadbandModemVia

 * wavecom:
   ** MMBroadbandModemWavecom

 * x22x:
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemX22x

 * XMM (no explicit plugin):
   ** MMBroadbandModemMbimXmm
   ** MMBroadbandModemXmm

 * ZTE
   ** MMBroadbandModemQmi               (generic)
   ** MMBroadbandModemMbim              (generic)
   ** MMBroadbandModemZteIcera          (subclassed from the Icera utils)
   ** MMBroadbandModemZte