MC7455 connection issue with ipv4

Hi,

We are using MC7455 in our product, it fails to connect with ip-type “ipv4” for a particular SIM/Carrier. It connects with ipv6 for that SIM/Carrier. Is there a way to force the modem to use ipv4 only?.

When we use a different SIM from a different carrier, we are able to connect successfully with ip-type ipv4.

Here is failure with ipv4 and success with ipv6 type.

root ~# qmicli -d /dev/cdc-wdm0 -p --wds-start-network=apn=“mmsbouygtel.com”,ip-type=6
[/dev/cdc-wdm0] Network started
Packet data handle: ‘63459440’
root ~#
root ~# qmicli -d /dev/cdc-wdm0 -p --wds-start-network=apn=“mmsbouygtel.com”,ip-type=4
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (1): generic-unspecified
verbose call end reason (2,208): [internal] pdn-ipv4-call-disallowed

Firmware version on this Modem is:
[/dev/cdc-wdm0] Successfully retrieved current firmware:
Model: MC7455
Boot version: SWI9X30C_02.30.01.01
AMSS version: SWI9X30C_02.30.01.01
SKU ID: 1104636
Package ID: unknown
Carrier ID: 1
Config version: 002.045_002

didn’t this mean that that SIM card is not able to have IPV4 connection?

Yes, it’s driven from the SIM. But the SIM profile PDP type has “ipv4-or-ipv6”, I am inferring that SIM supports both ipv4 and ipv4, so do we have a way to set preference to ipv4 over ipv6?

When I list 3gpp profiles, PDP type has “ipv4-or-ipv6”
/usr/1aw/db # qmicli -p -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
[1] 3gpp -
APN: “APN of the network”
PDP type: ‘ipv4-or-ipv6’

You can check "at+cgdcont? "

If you want to set ipv4 only, you can try

At+cgdcont=1,“IP”, “APN”

The above approach worked.
Now MC7455 with same SIM connects fine with IPV4.
Thanks for your help on this.