MC7455 Dual PDNs

Chris Lockwood Chris.Lockwood at avi.com.au
Thu Aug 24 10:01:06 UTC 2017


Hi Aleksander,

I'm trying to get a MC7455 working with two PDNs. Using libqmi commit 88ca109f9ca29fcff9651e2ac8930e6c3600ac64 from 20170808.
We have a private network for testing so I can ping the modem from the network on each of the PDNs (I know the IP addresses allocated to the PDNs on the UE for each sim).

I reset the card to defaults using AT!RMARESET=1 to clear any config cruft. I've tried original firmware 02.08.02.00_GENERIC and 02.24.03.00 with same result.

First I create the two contexts which work on our network with other cards and the same sim:
at+cfun=4
at+cgdcont=1,"IP","internet "
at+cgdcont=2,"IP","apn2"
at+cfun=1

qmicli -p -d /dev/cdc-wdm0 --get-service-version-info
returns a bunch of stuff

I set /sys/..../ qmi/raw_ip to Y for both wwan0 and wwan1 interfaces

IP connectivity is good on primary pdn.

Check the profiles are correct:
root at bare1:~# qmicli -p -d /dev/cdc-wdm1 --wds-get-profile-list=3gpp
Profile list retrieved:
                [1] 3gpp -
                                APN: 'internet'
                                PDP type: 'ipv4'
                                Auth: 'none'
                [2] 3gpp -
                                APN: 'apn2'
                                PDP type: 'ipv4'
                                Auth: 'none'

Check service status for primary context:
root at bare1:~# qmicli -p -d /dev/cdc-wdm0 --wds-get-packet-service-status
[/dev/cdc-wdm0] Connection status: 'connected'

as expected.

root at bare1:~# qmicli -p -d /dev/cdc-wdm1 --wds-get-packet-service-status
[/dev/cdc-wdm1] Connection status: 'disconnected'

I see the context is not active via at commands also, so I activate it:
at+cgact=1,2

Now I can ping the modem on that second PDN IP for the network (the card responds to the ping, but no data on wwan1)

root at bare1:~# qmicli -p -d /dev/cdc-wdm1 --wds-get-packet-service-status
[/dev/cdc-wdm1] Connection status: 'disconnected'

root at bare1:~# qmicli -p -d /dev/cdc-wdm1 --wds-start-network="3gpp-profile=2,autoconnect=yes" --client-no-release-cid
error: couldn't start network: QMI protocol error (26): 'NoEffect'
[/dev/cdc-wdm1] Client ID not released:
                Service: 'wds'
                    CID: '35'

and no joy :(

The modem is responding to pings from network on the second PDN, but the data link to wwan1 is not working. Link is up, and I can push packets in, but see no rx packets.

Any ideas?

I've patched qmi_wwan.c  on 4.9.34 kernel with qmimux features. Its not immediately clear if this can be used to map different contexts. Any pointers?

cheers,

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170824/ad4e7725/attachment.html>


More information about the libqmi-devel mailing list