Looks like it might be related to the mux setup inbetween Set IP family
and Start Network. This fails:
root@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@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@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@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@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@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@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@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@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@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@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@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@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
_______________________________________________
ModemManager-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel