[PATCH 2/2] bearer-mbim: all bearers share one MBIM data port

Bjørn Mork bjorn at mork.no
Thu Jun 5 08:29:25 PDT 2014


Dan Williams <dcbw at redhat.com> writes:

> No way that ModemManager could create the sub-interface, since it knows
> the details of how to do that on a per-plugin basis?

Yes, that makes sense.

Creating an MBIM bearer could verify that a corresponding subinterface
exists or create a new one.  The name of the subinterface could then be
provided as a data port for this bearer.  Then I don't have to worry
about the Session ID.  Only the subinterface name matters, and that is
exported as an ordinary data port.

> I'd really, really like to keep most of the specific logic in MM, since
> otherwise clients like NM would need to know that MBIM uses one model
> and QMI uses another and Ericsson uses another... (for example, I know
> that's not really the case).

Agreed.  NM should not need to know anything about the MBIM internals.


Bjørn


More information about the ModemManager-devel mailing list