Trying to use qmimux - how all parts fit together?

Martin Maurer martin.maurer at mmeacs.de
Fri Sep 29 07:55:18 UTC 2023


Hello,

After I now be able to successfully build a single connection, I 
continuing to get multiple connection (in parallel) running.

I already successfully enabled qmimux according to

https://techship.com/search/?q=add_mux

I think also this page is helpful:

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

But I having a lack of understanding, how all the parts fit together.

Do I really need

qmicli -p -d /dev/cdc-wdm0 --device-open-qmi 
--wda-set-data-format=link-layer-protocol=raw-ip,ul-protocol=qmap,dl-protocol=qmap,dl-max-datagrams=32,dl-datagram-max-size=31744,ep-type=hsusb,ep-iface-number=5

(there I have the problem with allocating a WDA client, as mentioned in 
previous email)

Assume I want 3 connections:

Can I use 1 WDS CID for all 3 connections? Or must each connection have 
its own CID?

How do the CID/connections match qmimux-numbers?

E.g. if I want to build up a connection over qmimux2

qmicli -p -d /dev/cdc-wdm0 --device-open-qmi 
--wds-bind-mux-data-port=mux-id=1,ep-iface-number=5 --client-no-release-cid

Is the mux-id=1 the parameter which I must change to 2, when using qmimux2?

Finally if everything is working, is it correct that I shall be able to use

ping -6 -I qmimux0 ...IPv6-Adresse...

ping -6 -I qmimux1 ...IPv6-Adresse...

ping -6 -I qmimux2 ...IPv6-Adresse...

to select over which connection (mainly context/APN) it does?

Best regards,

Martin



More information about the libqmi-devel mailing list