The following patches add ofono modem/wwan support to NetworkManager. These patches are based on the latest stable 1.2.2 release.
One caveat is that these patches have only been tested using ofono's rilmodem driver ( as used by Ubuntu Touch ), however other then the 'Preferred' APN logic in the settings plugin, and the usage of urfkill for flight-mode, the code should work with other native ofono modem drivers as well. Didier Raboud (1): Check at runtime whether to start ModemManager Mathieu Trudel-Lapierre (4): Ignore rild modem devices. wwan: add support for using oFono as a modem manager Let NetworkManager read oFono settings file and create connections Track killswitch change signals from urfkill Tony Espy (4): Add new NMSettingsConnection reset_retries get/set methods Add modem reconnect delay to policy Modify NMDeviceModem's available logic Fix ofono connection problems configure.ac | 26 + src/Makefile.am | 6 + src/devices/wwan/Makefile.am | 7 + src/devices/wwan/nm-device-modem.c | 13 +- src/devices/wwan/nm-modem-manager.c | 254 +++- src/devices/wwan/nm-modem-ofono.c | 1516 ++++++++++++++++++++++ src/devices/wwan/nm-modem-ofono.h | 66 + src/devices/wwan/nm-modem.c | 8 +- src/nm-core-utils.c | 20 +- src/nm-manager.c | 120 +- src/nm-policy.c | 34 +- src/nm-urfkill-manager.c | 297 +++++ src/nm-urfkill-manager.h | 49 + src/settings/nm-settings-connection.c | 18 +- src/settings/nm-settings-connection.h | 3 + src/settings/plugins/Makefile.am | 4 + src/settings/plugins/ofono/Makefile.am | 34 + src/settings/plugins/ofono/nm-ofono-connection.c | 168 +++ src/settings/plugins/ofono/nm-ofono-connection.h | 54 + src/settings/plugins/ofono/parser.c | 121 ++ src/settings/plugins/ofono/parser.h | 36 + src/settings/plugins/ofono/plugin.c | 788 +++++++++++ src/settings/plugins/ofono/plugin.h | 53 + 23 files changed, 3649 insertions(+), 46 deletions(-) create mode 100644 src/devices/wwan/nm-modem-ofono.c create mode 100644 src/devices/wwan/nm-modem-ofono.h create mode 100644 src/nm-urfkill-manager.c create mode 100644 src/nm-urfkill-manager.h create mode 100644 src/settings/plugins/ofono/Makefile.am create mode 100644 src/settings/plugins/ofono/nm-ofono-connection.c create mode 100644 src/settings/plugins/ofono/nm-ofono-connection.h create mode 100644 src/settings/plugins/ofono/parser.c create mode 100644 src/settings/plugins/ofono/parser.h create mode 100644 src/settings/plugins/ofono/plugin.c create mode 100644 src/settings/plugins/ofono/plugin.h -- 2.7.4 _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
