issue in connection's status

Dan Williams dcbw at redhat.com
Mon Aug 29 17:01:23 UTC 2016


On Mon, 2016-08-29 at 17:00 +0300, alexander.sorvin at shbp.ru wrote:
> Hello!
>  
>  
> 
> We use a modem Sierra MC7304 (at!udusbcomp=6  at!scact=1,1) . Connect
>  with the command: qmicli -d /dev/cdc-wdm0 --client-no-release-cid
> To get ip address: dhclient wwan0
> Then I remove the antenna from the modem in order to achieve a
> connection loss. The response from the ping stops flowing, but the
> status still shows that there is a connection. Where is a fault?

How long are you waiting for the connection status to change?  Modems
often have large timeouts to paper over network dropouts like
insufficient coverage, short tunnels, etc and not drop the packet data
connection and thus IP address and such.  If it doesn't drop after an
hour then I'd say there's an issue, but I would expect at least 30
seconds or so of no signal without reporting a disconnect.

Dan


> sudo qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status
> [/dev/cdc-wdm0] Successfully got serving system:
> Registration state: 'registered'
> CS: 'attached'
> PS: 'attached'
> Selected network: '3gpp'
> Radio interfaces: '1'
> [0]: 'lte'
> Roaming status: 'off'
> Data service capabilities: '1'
> [0]: 'lte'
> Current PLMN:
> MCC: '250'
> MNC: '2'
> Description: 'MegaFon'
> Roaming indicators: '1'
> [0]: 'off' (lte)
> 3GPP location area code: '65534'
> 3GPP cell ID: '253764101'
> Detailed status:
> Status: 'available'
> Capability: 'cs-ps'
> HDR Status: 'power-save'
> HDR Hybrid: 'yes'
> Forbidden: 'no'
> LTE tracking area code: '9913'
> Full operator code info:
> MCC: '250'
> MNC: '2'
> MNC with PCS digit: 'no'
> 
> sudo qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
> 
> [/dev/cdc-wdm0] Successfully got system info:
> GSM service:
> Status: 'none'
> True Status: 'none'
> Preferred data path: 'no'
> WCDMA service:
> Status: 'none'
> True Status: 'none'
> Preferred data path: 'no'
> LTE service:
> Status: 'limited'
> True Status: 'available'
> Preferred data path: 'no'
> Domain: 'cs-ps'
> Service capability: 'cs-ps'
> Roaming status: 'off'
> Forbidden: 'yes'
> Cell ID: '197157636'
> MCC: '250'
> MNC: '99'
> Tracking Area Code: '3877'
> Voice support: 'no'
> eMBMS coverage info support: 'no'
> SIM reject info: 'vailable'
> 
> sudo qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status
> 
> [/dev/cdc-wdm0] Connection status: 'connected'
> _______________________________________________
> 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