答复: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-20 Thread 殷张成
Caruso > ; Eric Caruso ; Naveen Kumar > ; ModemManager (development) > ; Michał Mazur > ; Amit Dayan ; Andrew > Lassalle ; Bjørn Mork > 主题: Re: Instantiating rmnet devices for data ports on QRTR-based modems > > Hi, > > Il giorno lun 19 ott 2020 alle ore 09:57

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-19 Thread Daniele Palmas
Hi, Il giorno lun 19 ott 2020 alle ore 09:57 Aleksander Morgado ha scritto: > > Hey, > > > > > I seem we have done for "QMI based on QTRT" in libqmi. > > > > For QUALCOMM's data services, there are lots of QMI library, > > > > and libqmi used a more simply solution. (in fact, if

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-19 Thread Aleksander Morgado
Hey, > > > I seem we have done for "QMI based on QTRT" in libqmi. > > > For QUALCOMM's data services, there are lots of QMI library, > > > and libqmi used a more simply solution. (in fact, if just send QMI, > > > QTRT is also not a good idea) > > > > Why do you say QRTR is not a

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-19 Thread Aleksander Morgado
Hey, > > > So the process can next: > > > 1. rmnet physic driver probe, create netcard > > > rmnet_usb0/rmnet_mhi0/rmnet_ipa0, and call register_rmnet_data > > > 2. rmnet data driver create rmnet_data0 > > > > Are you suggesting that there is always a virtual network

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-19 Thread Daniele Palmas
Hi all, Il giorno sab 17 ott 2020 alle ore 23:05 Aleksander Morgado ha scritto: > > Hey Carl, > > > Some ideas from me. > > Thanks for your comments, very much appreciated. > > > The discussion is based on QUALCOMM's rmnet driver and his data > > services. > > We are

答复: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-18 Thread 殷张成
t; ; Michał Mazur > ; Bjørn Mork ; Andrew Lassalle > ; Amit Dayan > 主题: Re: Instantiating rmnet devices for data ports on QRTR-based modems > > Hey Carl, > > > Some ideas from me. > > Thanks for your comments, very much appreciated. > > >

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-17 Thread Aleksander Morgado
Hey Carl, > Some ideas from me. Thanks for your comments, very much appreciated. > The discussion is based on QUALCOMM's rmnet driver and his data > services. > We are discussing how porting these software to MM and libqmi. > But I think QUALLCOMM's solution is

答复: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-16 Thread 殷张成
Eric Caruso > 抄送: ModemManager (development) > ; Michał Mazur > ; Bjørn Mork ; Andrew Lassalle > > 主题: Re: Instantiating rmnet devices for data ports on QRTR-based > modems > > Hey, > > > > > And an additional question I have; what if we start using QMAP &

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-16 Thread Aleksander Morgado
Hey, > > > And an additional question I have; what if we start using QMAP also > > > for qmi_wwan based modems that support it? I think it would be very > > > similar to your current needs with QRTR/IPA, right? See > > > https://lists.freedesktop.org/archives/libqmi-devel/2018-July/002935.html >

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-16 Thread Bjørn Mork
Aleksander Morgado writes: > And an additional question I have; what if we start using QMAP also > for qmi_wwan based modems that support it? I think it would be very > similar to your current needs with QRTR/IPA, right? See >

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-16 Thread Aleksander Morgado
Hey Eric, And an additional question I have; what if we start using QMAP also for qmi_wwan based modems that support it? I think it would be very similar to your current needs with QRTR/IPA, right? See https://lists.freedesktop.org/archives/libqmi-devel/2018-July/002935.html Maybe we can setup a

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-15 Thread Aleksander Morgado
Hey, > > > It does mean that MM will have to instantiate net ports and > > > then assign the mux ID to the QmiDevice, and then set it again in the > > > Bind Mux Data Port message, which leaves room for those potentially > > > getting out of sync. > > > > Why would this not be a problem in the

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-15 Thread Eric Caruso
Thanks for taking a look, see responses inline. On Thu, Oct 15, 2020 at 12:35 PM Aleksander Morgado wrote: > > > However, delegating it to MM also works. I think that the conceptual > > design is cleaner here as interacting with netlink to create > > interfaces isn't really something that makes

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-15 Thread Aleksander Morgado
Hey! > > As part of the QRTR integration into MM we're trying to figure out > whose responsibility it is to make rmnet_data net interfaces for a > QRTR/IPA-based modem. I had started an MR[1] that gave this > responsibility to libqmi, but it's not clear this is the right place > for this to go. >

Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-15 Thread Eric Caruso
Hey all, As part of the QRTR integration into MM we're trying to figure out whose responsibility it is to make rmnet_data net interfaces for a QRTR/IPA-based modem. I had started an MR[1] that gave this responsibility to libqmi, but it's not clear this is the right place for this to go. If we