Bug 90402 - limit connection to 3G/4G
Summary: limit connection to 3G/4G
Status: RESOLVED NOTABUG
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: 1.4
Hardware: Other All
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 11:19 UTC by Pieter Cardoen
Modified: 2015-05-11 14:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pieter Cardoen 2015-05-11 11:19:59 UTC
How can the connection be limited to use only 3G. Is it also possible to give some information about the difference in Modem Modes (CurrentModes) and Modem Capabilities (ModemCapabilities)

Thanks in advance!

Pieter Cardoen
Comment 1 Aleksander Morgado 2015-05-11 14:11:25 UTC
(In reply to Pieter Cardoen from comment #0)
> How can the connection be limited to use only 3G. Is it also possible to
> give some information about the difference in Modem Modes (CurrentModes) and
> Modem Capabilities (ModemCapabilities)
> 
> Thanks in advance!
> 

This blogpost I wrote long ago may help:
https://sigquit.wordpress.com/2013/06/03/changing-modes-and-capabilities-in-modemmanager/

The following mmcli actions will help you:
  --set-current-capabilities
  --set-allowed-modes
  --set-preferred-mode

In order to know what you can do with a given modem; go check the general modem info (e.g. "mmcli -m 0") and look for the list of supported capabilities and modes.

It's very likely that you'll only be able to play with modes, while having a single choice for capabilities.

E.g. a modem with "gsm-umts, lte" capabilities will likely be able to change allowed modes to e.g. "2g-only", "3g-only", "4g-only" or auto.

Another example, a modem with just "gsm-umts" will very likely allow also setting "preferred modes"; e.g. "2g+3g but 3g preferred".

The specific combinations that you can choose will be listed in the general modem info.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.