<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Initially I'd like to investigate this topic without considering the protocol (AT, MBIM, QMI), and only the modem's capabilities, although this note from the above mentioned discussion is really appealing</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="color:rgb(0,0,0);white-space:pre-wrap;font-family:arial,sans-serif">MBIM modems can multiplex IP sessions over a single data port.</span></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">and as Dan said, QMI should not support this with a single data port.</div> </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);white-space:pre-wrap;font-family:arial,sans-serif"><br></span></div><div class="gmail_default"><font color="#000000"><span style="white-space:pre-wrap">Also this note caught my attention</span></font></div><div class="gmail_default"><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div class="gmail_default"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">There's an issue here; the port needs to be a NET port, because that<br>is what the Bearer should export in the interface. This is, if you<br>have 2 bearers, they should both expose "wwan0", and not<br>"/dev/cdc-wdm...".
NetworkManager needs to know which is the NET port where the IP config<br>is to be applied.</blockquote><div><br></div><div>does this mean that the required changes will touch other actors (like NetworkManager and/or the driver)?</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);white-space:pre-wrap;font-family:arial,sans-serif"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 September 2016 at 16:55, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2016-09-19 at 12:38 +0200, Aleksander Morgado wrote:<br>
> On Mon, Sep 19, 2016 at 11:20 AM, Carlo Lobrano <<a href="mailto:c.lobrano@gmail.com">c.lobrano@gmail.com</a>><br>
> wrote:<br>
> ><br>
> ><br>
> > I have a question about the maximum number of bearers that can be<br>
> > created.<br>
> ><br>
> > My understanding is that this number is bind to the number of data<br>
> > ports and<br>
> > these have to be of NET type (like wwan). Is that correct?<br>
> I think it depends on what the modem supports. I've seen at least one<br>
> case where you can setup multiple bearers in a single WWAN, just by<br>
> issuing different connection requests to different APNs where you get<br>
> different IPs that should be set on the same WWAN. No plugin supports<br>
> that yet in MM, but it should be totally doable. Maybe, I don't<br>
> recall, there is a limit hardcoded in the generic code base that<br>
> limits the number of bearers to the number of wwans, but we should<br>
> likely let the plugins decide that limit.<br>
<br>
</span>I believe some (many?) devices can do a second bearer with PPP over<br>
serial ports at the same time as they do a first bearer over the<br>
WWAN/net port.<br>
<br>
On the QMI side I think there's a 1:1 mapping between net port and<br>
bearer, and aren't there some Sierra devices that either have non-<br>
functional or semi-functional QMI ports too?<br>
<br>
In any case, this is going to be highly specific to the modem itself,<br>
so the plugins are going to have to decide what their hardware supports<br>
and how to expose it. But that will also require some logic changes in<br>
MM itself.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
</font></span></blockquote></div><br></div>