Hi,

Il giorno gio 4 apr 2019 alle ore 11:00 Johannes Berg
<johan...@sipsolutions.net> ha scritto:

> > >   (2) Channels are created using sysfs (qmi_wwan)
> > >
> > >       This feels almost worse - channels are created using sysfs and
> > >       just *bam* new netdev shows up, no networking APIs are used to
> > >       create them at all, and I suppose you can't even query the channel
> > >       ID for each netdev if you rename them or so. Actually, maybe you
> > >       can in sysfs, not sure I understand the code fully.
> >
> > This time I was, and I tried to learn from the MBIM mistake. So I asked
> > the users (ModemManager developers++), proposing a netlink API as a
> > possible solution:
> >
> > https://lists.freedesktop.org/archives/libqmi-devel/2017-January/001900.html
> >
> > The options I presented were those I saw at the time: VLANs like
> > cdc_mbim, a new netlink API, or sysfs.  There wasn't much feedback, but
> > sysfs "won".  So this was a decision made by the users of the API, FWIW.
>
> Fair point. Dan pointed out that no (default) userspace actually exists
> to do this though, and users kinda of have to do it manually - he says
> modem manager and libmbim all just use the default channel today. So not
> sure they really went on to become users of this ;-)
>

the qmi_wwan sysfs qmap feature, being very easy to use, is serving
well for me and customers of the company I work for (mainly directly
with libqmi, not ModemManager), but I understand the need to have a
common framework and will gladly test and provide feedback for any new
development related to this.

Regards,
Daniele

>
> johannes
>

Reply via email to