differences between with rmnet and qmi_wwan

Daniele Palmas dnlplm at gmail.com
Sun May 19 14:07:15 UTC 2024


Hi Alexander,

Il giorno dom 19 mag 2024 alle ore 14:00 Alexander 'lynxis' Couzens
<lynxis at fe80.eu> ha scritto:
>
> Hi,
>
>
> I'm looking into the different modes of qmi user traffic.
> Currently I'm only using usb based modems, but would like to support
> pcie based modems in near future.
>
> qmi_wwan can be configured via /sysfs [1]. (add_mux del_mux pass_through raw_ip)
> rmnet devices can be connected to the wwan0 interface with `ip link` or netlink.
>
> What are the differences between rmnet and qmi_wwan regarding the user traffic?
> Is rmnet just more flexible and generic way to support qmap?

rmnet is now the maintained way for using qmap, new qmap-related
features are added to rmnet and no more to qmi_wwan.

> Are there features supported in rmnet which are missing in qmi_wwan? (qmapv4?)
>

Yes, there are (e.g. uplink aggregation, flow control commands...).

> So far I understand, to use rmnet on top of qmi_wwan I only need to set raw-ip and passthrough, correct?
> (Leaving the QMI related calls aside to CTL/WDA/WDS, set MTU high).
>

Yes.

> I would guess all 4G/LTE modems support raw-ip.
>

As far as I know, I would say yes.

Regards,
Daniele

>
> Best Regards,
> lynxis
>
> [1] /sys/class/net/wwan0/qmi/


More information about the libqmi-devel mailing list