Re: Allowed and preferred modes setting in NM modem connections



On Fri, 2013-05-31 at 13:56 +0200, Aleksander Morgado wrote:
Hey,

NetworkManager currently allows to pass allowed/preferred modes (e.g. 2G
& 3G but 3G preferred) when requesting a connection to ModemManager. I'd
like to suggest to have these settings removed from the connection
profile (and therefore not passed to Simple.Connect()), and let system
preferences related applications (e.g. the GNOME Control Center) handle
these instead.

Changing these settings just before attempting a connection is not a
good idea, as the task involves resetting the radio interface in the
modem and launching registration in the network from scratch, which will
take some time.

Also, not all devices support changing modes, and not every device
supporting it allows the same set of allowed+preferred combinations, so
I don't think it's a good idea to have these kept together with the
connection profile settings (e.g APN, auth, user, pass), which could
themselves get re-used (e.g. if the SIM card is switched from one modem
to another).

What do you guys think?

I agree, lets deprecate the properties in libnm-util/nm-setting-gsm.c
and then remove them from the Simple Connect stuff in
nm-broadband-modem.c, leaving them for old ModemManager.  Anything
talking to new MM can then do what you suggest.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]