problems with QMI dual stack connections from MM - works with qmicli

Aleksander Morgado aleksander at aleksander.es
Fri Apr 30 19:25:45 UTC 2021


Hey!

>
> but if I create two profiles:
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0
> --wds-create-profile=3gpp,apn=ibox.tim.it,pdp-type=IP
> New profile created:
>         Profile type: '3gpp'
>         Profile index: '2'
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0
> --wds-create-profile=3gpp,apn=wap.tim.it,pdp-type=IP
> New profile created:
>         Profile type: '3gpp'
>         Profile index: '3'
>
> and make the connection using profiles:
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 --device-open-sync
> --wda-set-data-format=ep-type=hsusb,ep-iface-number=2,link-layer-protocol=raw-ip,ul-protocol=qmapv5,dl-protocol=qmapv5,dl-max-datagrams=32,dl-datagram-max-size=31744
> [/dev/cdc-wdm0] Successfully set data format
>                         QoS flow header: no
>                     Link layer protocol: 'raw-ip'
>        Uplink data aggregation protocol: 'qmapv5'
>      Downlink data aggregation protocol: 'qmapv5'
>                           NDP signature: '0'
> Downlink data aggregation max datagrams: '32'
>      Downlink data aggregation max size: '16384'
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid
> --wds-bind-mux-data-port=mux-id=1,ep-type=hsusb,ep-iface-number=2
> [/dev/cdc-wdm0] Client ID not released:
>         Service: 'wds'
>             CID: '17'
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid
> --client-cid=17 --wds-set-ip-family=4
> [/dev/cdc-wdm0] Client ID not released:
>         Service: 'wds'
>             CID: '17'
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid
> --client-cid=17 --wds-start-network=3gpp-profile=2
> [/dev/cdc-wdm0] Network started
>         Packet data handle: '999450704'
> [/dev/cdc-wdm0] Client ID not released:
>         Service: 'wds'
>             CID: '17'
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid
> --wds-bind-mux-data-port=mux-id=2,ep-type=hsusb,ep-iface-number=2
> [/dev/cdc-wdm0] Client ID not released:
>         Service: 'wds'
>             CID: '18'
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid
> --client-cid=18 --wds-set-ip-family=4
> [/dev/cdc-wdm0] Client ID not released:
>         Service: 'wds'
>             CID: '18'
>
> $ sudo ./src/qmicli/qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid
> --client-cid=18 --wds-start-network=3gpp-profile=3
> [/dev/cdc-wdm0] Network started
>         Packet data handle: '1012176704'
> [/dev/cdc-wdm0] Client ID not released:
>         Service: 'wds'
>             CID: '18'
>
> things work!
>
> So maybe you'll have better luck using profiles.
>

Oh, how convenient, if only we had the ability to connect using
specific existing profile ids with ModemManager... :D (it's already in
git master!)

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list