Dual stack connection on EM7430

Dan Williams dcbw at redhat.com
Tue Apr 11 22:32:19 UTC 2017


On Tue, 2017-04-11 at 16:29 -0500, Balaji Sivakumar wrote:
> Hi Dan,
> 
> Please find the details,
> 
> # qmicli -p -d /dev/cdc-wdm1 --wds-get-profile-list=3gpp

Try this and see if you can get the error again:

qmicli -v -p -d /dev/cdc-wdm1 --wds-start-network=3gpp-profile=1,ip-type=4 --client-no-release-cid
qmicli -v -p -d /dev/cdc-wdm1 --wds-start-network=3gpp-profile=1,ip-type=6 --client-no-release-cid

and if for some reason that doens't work, make do:

qmicli -v -p -d /dev/cdc-wdm1 --wds-start-network=3gpp-profile=1,ip-type=4 --client-no-release-cid
qmicli -v -p -d /dev/cdc-wdm1 --wds-start-network=3gpp-profile=2,ip-type=6 --client-no-release-cid

(eg, swap the V6 request to profile #2)

We've never been able to figure out what PolicyMismatch actually is,
but perhaps the firmware doesn't like something about the specific
attributes during the start call, when it would be happier if we just
pointed it to one of the existing profiles and it could use those.

Another thought, perhaps the default bearer is already activated, and
attempting to activate another bearer conflicts with the default bearer
options or something.  But lets figure that out later.

Dan

> Profile list retrieved:
> [1] 3gpp -
> APN: 'VZWINTERNET'
> PDP type: 'ipv4-or-ipv6'
> Auth: 'none'
> [2] 3gpp -
> APN: 'VZWINTERNET'
> PDP type: 'ipv4-or-ipv6'
> Auth: 'none'
> #
> #
> #
> # qmicli -p -d /dev/cdc-wdm1 --wds-get-profile-list=3gpp2
> 
> Profile list retrieved:
> [0] 3gpp2 -
> #
> # echo -e 'AT+CGDCONT?\r' > /dev/ttyUSB2
> 
> #
> # cat /dev/ttyUSB2
> 
> AT+CGDCONT?
> 
> 
> +CGDCONT:
> 1,"IPV4V6","VZWINTERNET","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
> 
> +CGDCONT:
> 2,"IPV4V6","VZWINTERNET","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
> 
> 
> 
> OK
> 
> On Tue, Apr 11, 2017 at 3:26 PM, Dan Williams <dcbw at redhat.com>
> wrote:
> 
> > On Tue, 2017-04-11 at 14:46 -0500, Balaji Sivakumar wrote:
> > > Hi,
> > > 
> > > Am trying to create a dual stack connection(i.e ipv4, ipv6 on
> > > single
> > > cdc-wdm device), am not success on that. it is throwing a "Policy
> > > Mismatch
> > > error".
> > > 
> > > Did anyone try this option or any suggestions.
> > > 
> > > *Steps followed*:
> > > 
> > > qmicli -v -p -d /dev/cdc-wdm1 --wds-start-
> > > network=apn=VZWINTERNET,ip-
> > > type=4
> > > --client-no-release-cid
> > > 
> > >         ->  This works fine and able to see ipv4 details using
> > > get-network-settings
> > > 
> > > qmicli -v -p -d /dev/cdc-wdm1 --wds-start-
> > > network=apn=VZWINTERNET,ip-
> > > type=6
> > > --client-no-release-cid
> > > 
> > >          -> This where am getting policy mismatch error.
> > 
> > Can you run:
> > 
> > qmicli -v -p -d /dev/cdc-wdm1 --wds-get-profile-list=3gpp
> > qmicli -v -p -d /dev/cdc-wdm1 --wds-get-profile-list=3gpp2
> > 
> > and then with the AT port of the device (if any!) use "minicom -D
> > /dev/ttyUSB0" (or whatever it is) and:
> > 
> > AT+CGDCONT?
> > 
> > and lets see the output from all of these.
> > 
> > Dan
> > 
> > 
> > > Thanks
> > > Balaji
> > > _______________________________________________
> > > libqmi-devel mailing list
> > > libqmi-devel at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/libqmi-devel


More information about the libqmi-devel mailing list