NetworkManager/include
Dan Williams 6080425088 wwan: use modem states instead of enabled/connected properties
Determining when the NMDeviceModem is available and when different
connections are available is easier if the modem's state is tracked,
instead of using the separate Enabled and Connected properties.
These properties could not accurately represent the SIM lock state
and prevented NetworkManager from making the modem available for
auto-activation when locked, even if a PIN was available.

In this new scheme, the NMDeviceModem is UNAVAILABLE when the
ModemManager modem state is FAILED, UNKNOWN, or INITIALIZING.  It
transitions to the NM DISCONNECTED state when the modem has finished
initializing and has not failed.

Once the NMDeviceModem is in DISCONNECTED state it can be activated
even if the SIM is locked and a PIN is required; the PIN will be
requested when starting activation, either from the connection itself
or via a secrets request.  This makes auto-activation of WWAN
connections possible.

This also allows us to consolidate code dealing with modem enable/disable
into the base NMModem class using the modem state, and to log more modem
information for debugging purposes.
2014-05-06 21:48:55 -05:00
..
Makefile.am build: avoid GValueArray deprecation warnings 2013-02-26 13:07:33 +01:00
NetworkManager.h wwan: use modem states instead of enabled/connected properties 2014-05-06 21:48:55 -05:00
NetworkManagerVPN.h vpn: fix VPN plugin D-Bus errors 2013-09-27 13:26:29 +02:00
nm-dbus-glib-types.h libnm-util: add gateway member to IPv6 addresses 2010-04-17 10:26:53 -07:00
nm-glib-compat.h build: improve our use of glib's version macros to catch more bugs 2014-02-13 11:24:37 -05:00
nm-gvaluearray-compat.h dispatcher: fix memory leak in nm-dispatcher-action 2013-10-22 19:53:46 +02:00
nm-settings-flags.h agents: add a "user-requested" flag to secret agent requests 2012-06-27 09:42:47 -05:00
nm-test-helpers.h replace snprintf by g_snprintf 2014-02-24 21:35:33 +01:00
nm-version.h.in libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00