Question on ----wda-set-data-format -> ul_protocol/dl_protocol

Martin Maurer martin.maurer at mmeacs.de
Mon Jun 17 17:52:34 UTC 2024


Hello,

on

https://lists.freedesktop.org/archives/libqmi-devel/2018-July/002935.html 
<https://lists.freedesktop.org/archives/libqmi-devel/2018-July/002935.html>

there is an (old? obsolete?) example for --wda-set-data-format:

qmicli -p -d /dev/cdc-wdm0 
--wda-set-data-format="link-layer-protocol=raw-ip,ul-protocol=qmap,dl-protocol=qmap,dl-max-datagrams=32,dl-datagram-max-size=32768,ep-type=hsusb,ep-iface-number=8" 
--client-cid=$wda_cid --client-no-release-cid

There ul-protocol and dl-protocol are filled with value "qmap".

Looking at this page

https://lazka.github.io/pgi-docs/Qmi-1.0/enums.html#Qmi.WdaDataAggregationProtocol 
<https://lazka.github.io/pgi-docs/Qmi-1.0/enums.html#Qmi.WdaDataAggregationProtocol>

there are meanwhile much more values for it like

QMAPV2

QMAPV3

QMAPV4

QMAPV5

There is not really a description for it on this page. I tried, I can 
use e.g. "qmapv5" with --wda-set-data-format.

Then there is this page:

https://docs.kernel.org/networking/device_drivers/cellular/qualcomm/rmnet.html

It describes the raw packets for v1 to v5.

But now I still have not more knowledge, in what situation to use each 
version.

Or if QMAPV5 shall always be used (with latest kernel), because it makes 
all previous version obsolete.

Or are certain values used for certain use cases? Is there perhaps a 
more detailed description?

Many thanks!

Best regards,

Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20240617/33ca2eb9/attachment.htm>


More information about the libqmi-devel mailing list