NetworkManager/src/devices
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
..
adsl platform: refactor signals by combining added/changed/removed 2014-05-03 03:44:22 +02:00
bluetooth wwan: use modem states instead of enabled/connected properties 2014-05-06 21:48:55 -05:00
wimax all: set G_LOG_DOMAIN appropriately, for better g_log() messages 2014-04-23 10:19:17 -04:00
wwan wwan: use modem states instead of enabled/connected properties 2014-05-06 21:48:55 -05:00
nm-device-bond.c core: make assumed activations go through all the stages 2013-11-08 16:46:45 -06:00
nm-device-bond.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-bridge.c core: make assumed activations go through all the stages 2013-11-08 16:46:45 -06:00
nm-device-bridge.h core: support slave devices in nm_platform_generate_connection() 2013-11-08 16:46:43 -06:00
nm-device-ethernet.c core: replace readlink() by glib equivalent in NMDeviceEthernet 2014-05-02 14:21:53 +02:00
nm-device-ethernet.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-factory.c devices: fix compilation of nm_device_factory_new_link() 2014-03-04 11:07:33 +01:00
nm-device-factory.h devices: rework device plugin interface to be more flexible 2014-03-03 09:32:41 -06:00
nm-device-generic.c core: convert unmanaged bits to flags 2014-04-07 09:52:07 -05:00
nm-device-generic.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-gre.c devices: fix up parent/peer tracking in some virtual devices 2014-03-06 09:47:09 -05:00
nm-device-gre.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-infiniband.c core: use nm_platform_sysctl_get() to read infiniband mode 2014-04-10 16:32:08 +02:00
nm-device-infiniband.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-macvlan.c devices: fix up parent/peer tracking in some virtual devices 2014-03-06 09:47:09 -05:00
nm-device-macvlan.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-olpc-mesh.c all: fix various warnings detected with coverity 2014-05-02 15:20:30 +02:00
nm-device-olpc-mesh.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-private.h core: support renaming of NMDevice (changes of ifname) 2014-03-12 17:13:02 +01:00
nm-device-team.c team: replace NL chars in team config when passing to libteamdctl (rh #1051517) 2014-03-12 10:44:29 +01:00
nm-device-team.h core: support slave devices in nm_platform_generate_connection() 2013-11-08 16:46:43 -06:00
nm-device-tun.c core: make NMDeviceTun 'mode' immutable and set at construct time 2014-01-30 11:53:32 +01:00
nm-device-tun.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-veth.c devices: fix up parent/peer tracking in some virtual devices 2014-03-06 09:47:09 -05:00
nm-device-veth.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-vlan.c core: add nm_connection_provider_get() 2014-03-03 09:32:40 -06:00
nm-device-vlan.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-vxlan.c platform, devices: add support for vxlan devices 2014-03-06 09:48:15 -05:00
nm-device-vxlan.h platform, devices: add support for vxlan devices 2014-03-06 09:48:15 -05:00
nm-device-wifi.c core: add parameter to ignore error in add/remove pending action 2014-05-01 22:06:52 +02:00
nm-device-wifi.h api/wifi: add AccessPoints property 2014-01-23 17:34:12 -06:00
nm-device.c wwan: use modem states instead of enabled/connected properties 2014-05-06 21:48:55 -05:00
nm-device.h core: add parameter to ignore error in add/remove pending action 2014-05-01 22:06:52 +02:00