Commit Graph
1444 Commits
Author SHA1 Message Date
Aleksander Morgado 718093dc59 broadband-bearer: implement comparison with bearer properties 2012-03-15 14:14:55 +01:00
Aleksander Morgado 1603fd1109 bearer: allow comparing current bearer with a set of properties 2012-03-15 14:14:55 +01:00
Aleksander Morgado 885042e365 api,header: define common object prefixes in the daemon header 2012-03-15 14:14:55 +01:00
Aleksander Morgado 93a776b17c sim: allow subclassing pin change/enabling 2012-03-15 14:14:55 +01:00
Aleksander Morgado c65c5aedc3 sim: allow subclassing pin/puk sending operations 2012-03-15 14:14:55 +01:00
Aleksander Morgado 72afc058bf sim: allow subclassing the SIM object
Plugins can subclass the MMSim object and provide custom implementations of the
actions performed by the object.
2012-03-15 14:14:55 +01:00
Aleksander Morgado 24c28c2692 sim: export only valid objects 2012-03-15 14:14:55 +01:00
Aleksander Morgado 4aeadbb776 iface-modem: proper fallback state when bearer connection fails 2012-03-15 14:14:55 +01:00
Aleksander Morgado a2203d7d14 broadband-bearer: expose properties used by the bearer implementation 2012-03-15 14:14:54 +01:00
Aleksander Morgado 9feb177e21 bearer: expose IP config dictionaries with unknown method 2012-03-15 14:14:54 +01:00
Aleksander Morgado af1f8ed6b3 broadband-modem: disconnect all bearers when disabling 2012-03-15 14:14:54 +01:00
Aleksander Morgado a33b05cc10 broadband-bearer: reimplement CDMA and 3GPP disconnection logic 2012-03-15 14:14:54 +01:00
Aleksander Morgado 9ab4ad28ff bearer-list: new async method to disconnect all bearers 2012-03-15 14:14:54 +01:00
Aleksander Morgado 43ac87170c bearer: don't handle reasons to forbid connection in the generic Bearer object 2012-03-15 14:14:54 +01:00
Aleksander Morgado 6ae1785b64 broadband-bearer: don't connect if roaming forbidden or unregistered 2012-03-15 14:14:54 +01:00
Aleksander Morgado 015756e572 broadband-bearer: reimplement CDMA and 3GPP connection logic 2012-03-15 14:14:54 +01:00
Aleksander Morgado 1d450d7c4e broadband-modem: by default, just create a single broadband bearer 2012-03-15 14:14:54 +01:00
Aleksander Morgado c6b9aead81 bearer: subclasses need to report IPv4/v6 config when connection ready 2012-03-15 14:14:54 +01:00
Aleksander Morgado aa36af424d bearer: number in Connect() no longer needed 2012-03-15 14:14:54 +01:00
Aleksander Morgado a400db4b5c bearer: remove allow-roaming, only meaningful in the broadband bearer 2012-03-15 14:14:53 +01:00
Aleksander Morgado fa17f90082 bearer-3gpp, bearer-cdma: removed, they were mixed in broadband-bearer 2012-03-15 14:14:53 +01:00
Aleksander Morgado 2b1aabe4fd iface-modem-3gpp: 3GPP bearer creation removed 2012-03-15 14:14:53 +01:00
Aleksander Morgado 63f209d6da iface-modem-cdma: CDMA bearer creation removed 2012-03-15 14:14:53 +01:00
Aleksander Morgado 24dd208b59 iface-modem-simple: remove dual 3GPP/CDMA bearers logic
Just rely on a single Bearer object created.
2012-03-15 14:14:53 +01:00
Aleksander Morgado a3b5c9faef broadband-bearer: new generic 3GPP+CDMA bearer 2012-03-15 14:14:53 +01:00
Aleksander Morgado 6c2dc9eef1 bearer: set unique path when the bearer gets exported 2012-03-15 14:14:53 +01:00
Aleksander Morgado 7e36f04b37 core: use new enums/flags string getters/builders 2012-03-15 14:14:52 +01:00
Aleksander Morgado 04fc34fab8 build: autogenerate enum/flags string getter/builders
Each enum will have its own #_get_string (),
and each flags will have its own #_build_string_from_mask ().
2012-03-15 14:14:52 +01:00
Aleksander Morgado 3b443b6954 libmm-common: fix usage of main library header 2012-03-15 14:14:52 +01:00
Aleksander Morgado bcdd376b6b iface-modem-3gpp, broadband-modem: update LAC/CI 3gpp-based location 2012-03-15 14:14:52 +01:00
Aleksander Morgado 71125777d3 iface-modem-location: handle 3GPP location 2012-03-15 14:14:52 +01:00
Aleksander Morgado 182a954205 broadband-modem: enable/disable the Location interface 2012-03-15 14:14:52 +01:00
Aleksander Morgado 74f29981c8 broadband-modem: load default location reporting capabilities
Currently, only LAC/CI if the modem has 3GPP capabilities.
2012-03-15 14:14:52 +01:00
Aleksander Morgado 03c5f4e6fb iface-modem-location: handle enabling/disabling location gathering 2012-03-15 14:14:51 +01:00
Aleksander Morgado d7f98cf277 broadband-modem: implement the Location interface 2012-03-15 14:14:51 +01:00
Aleksander Morgado d0a845c819 iface-modem-location: new interface for Location-related stuff 2012-03-15 14:14:51 +01:00
Aleksander Morgado 6238ba8568 api,dbus: don't return immediate CDMA activation errors
Seems like an unnecessary complication, as the client anyway needs to handle
asynchronously reported errors.
2012-03-15 14:14:51 +01:00
Aleksander Morgado d76f545322 plugin-base: use MM_TYPE_POINTER_ARRAY for custom init callbacks 2012-03-15 14:14:51 +01:00
Aleksander Morgado 0358c787c0 core: new boxed type for NULL-terminated array of gpointers 2012-03-15 14:14:51 +01:00
Aleksander Morgado af41076e7d plugin-base: use MM_TYPE_UINT16_ARRAY for vendor/product ID properties 2012-03-15 14:14:51 +01:00
Aleksander Morgado 2052b8184f core: new boxed type for 0-terminated array of guint16 values 2012-03-15 14:14:51 +01:00
Aleksander Morgado 536865040e plugin-base: use GStrv boxed types for string array properties 2012-03-15 14:14:51 +01:00
Aleksander Morgado 0d5c237428 bearer-cdma: use #777 as default number to dial when none given explicitly 2012-03-15 14:14:50 +01:00
Aleksander Morgado e5c5411d05 broadband-modem: redefine generic supported mode loading implementation
* assume CDMA1x is 2G
 * consider CS/PS/CDMA1x/EVDO network support flags specified by the plugins
2012-03-15 14:14:50 +01:00
Aleksander Morgado 8adc9cd699 broadband-modem: we can expect non-LTE 3GPP+CDMA modems 2012-03-15 14:14:50 +01:00
Aleksander Morgado c0e0649a82 core,plugins: handle missing `last_command' flags
These didn't get compilation errors when `MMBaseModemAtResponseProcessor'
was changed, as we're doing an explicit casting.
2012-03-15 14:14:50 +01:00
Aleksander Morgado 801a129fe9 iface-modem-cdma: bind CDMA-specific properties for the simple status 2012-03-15 14:14:50 +01:00
Aleksander Morgado f07101943c iface-modem-simple: new connection logic when more than one bearer around
For mixed 3GPP+CDMA modems, we first try to connect the 3GPP bearers, and then
the CDMA ones.
2012-03-15 14:14:49 +01:00
Aleksander Morgado 8782df1b15 broadband-modem: on mixed CDMA+LTE modems, guess which kind of bearer to create 2012-03-15 14:14:49 +01:00
Aleksander Morgado 744fe5712d iface-modem-simple: build 3GPP+CDMA registration check logic
For mixed 3GPP+CDMA modems, we check registrations in both 3GPP and CDMA
networks, and we stop checks when we find ourselves registered in either one
or the other.
2012-03-15 14:14:49 +01:00