<div dir="auto"><div>Hi Michal,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il ven 9 ott 2020, 04:05 Michał Mazur <<a href="mailto:mkm@semihalf.com">mkm@semihalf.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Aleksander,</div><div><br></div><div>Thank you for the reply. As you suggested I created MMPortRmnet to handle data port setup:</div><div><a href="https://gitlab.freedesktop.org/mkm/ModemManager/-/commit/b25310666e41a19150fe2b18ff3b7cce73f9129a" target="_blank" rel="noreferrer">https://gitlab.freedesktop.org/mkm/ModemManager/-/commit/b25310666e41a19150fe2b18ff3b7cce73f9129a</a></div><div>It includes all the code that uses the rmnet library to configure devices but it is not probed yet.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Can you please post a link for the official librmnetctl code repository?</div><div dir="auto"><br></div><div dir="auto">I can find many, but I'm not sure of the correct one.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Daniele</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Regards,</div><div>Michal<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">sob., 3 paź 2020 o 14:34 Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" target="_blank" rel="noreferrer">aleksander@aleksander.es</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Michał!<br>
<br>
><br>
> We've decided to move the rmnet configuration to libqmi. It seems to be a better place because there is already a class for QRTR control socket.<br>
<br>
I would suggest discussing in the public mailing list or in gitlab<br>
issues this kind of thing, so that everyone can participate in the<br>
discussion.<br>
<br>
><br>
> <a href="https://gitlab.freedesktop.org/mkm/libqmi/-/commit/3e063884efd6cc217e91be4601ee3b" rel="noreferrer noreferrer" target="_blank">https://gitlab.freedesktop.org/mkm/libqmi/-/commit/3e063884efd6cc217e91be4601ee3b</a><br>
> This patch adds a new class for QRTR data port. During initialization it opens an INET socket to bring up the rmnet_ipa device and uses the rmnetctl library to create a virtual network device (rmnet_data0). This new device will be used in ModemManager.<br>
<br>
How is it that the "QRTR data port" does nothing with the QRTR<br>
protocol? Yes, this rmnet data port is the one that would be used for<br>
data while QRTR is used for control, but I don't think libqrtr would<br>
be the place to add this. From an outsider perspective, you could say<br>
you need libqmi+libqrtr for control, and rmnetctl to bring up the data<br>
network interface, but I wouldn't add this new object in libqrtr, as<br>
it really has nothing to do with the QRTR protocol itself.<br>
<br>
If you ask me, ModemManager is a better place for this, e.g. a let's<br>
say a MMPortRmnet object which would map the virtual network interface<br>
created with rmnetctl. Oh wait, I did already suggest something like<br>
this in a previous email that was never replied...<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer noreferrer" target="_blank">https://aleksander.es</a><br>
_______________________________________________<br>
ModemManager-devel mailing list<br>
<a href="mailto:ModemManager-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">ModemManager-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
</blockquote></div>
_______________________________________________<br>
ModemManager-devel mailing list<br>
<a href="mailto:ModemManager-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">ModemManager-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
</blockquote></div></div></div>