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

Bjørn Mork bjorn at mork.no
Fri Apr 23 16:46:59 UTC 2021


Looks like it might be related to the mux setup inbetween Set IP family
and Start Network.  This fails:

root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --device-open-sync --wda-set-data-format=ep-type=hsusb,ep-iface-number=4,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: '31744'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --wds-set-ip-family=4
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '15'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=15   --wds-bind-mux-data-port=mux-id=1,ep-type=hsusb,ep-iface-number=4
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '15'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=15 --wds-start-network=apn=telenor.smart,ip-type=4
[/dev/cdc-wdm0] Network started
        Packet data handle: '4276114592'
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '15'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --wds-set-ip-family=6
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '16'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=16  --wds-bind-mux-data-port=mux-id=1,ep-type=hsusb,ep-iface-number=4
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '16'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=16 --wds-start-network=apn=telenor.smart,ip-type=6
error: couldn't start network: QMI protocol error (79): 'PolicyMismatch'
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '16'




But this works:



root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --wds-bind-mux-data-port=mux-id=1,ep-type=hsusb,ep-iface-number=4
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '15'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=15 --wds-set-ip-family=4
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '15'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=15 --wds-start-network=apn=telenor.smart,ip-type=4
[/dev/cdc-wdm0] Network started
        Packet data handle: '4276114592'
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '15'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --wds-bind-mux-data-port=mux-id=1,ep-type=hsusb,ep-iface-number=4
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '16'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=16 --wds-set-ip-family=6
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '16'
root at finn:~#  qmicli -p -d /dev/cdc-wdm0 --client-no-release-cid --client-cid=16 --wds-start-network=apn=telenor.smart,ip-type=6
[/dev/cdc-wdm0] Network started
        Packet data handle: '4277045296'
[/dev/cdc-wdm0] Client ID not released:
        Service: 'wds'
            CID: '16'



Bjørn


More information about the ModemManager-devel mailing list