Aleksander Morgado
3c703dd5a3
iface-modem-3gpp: new properties to tell whether PS/CS networks are supported
...
E.g, Iridium modems won't support PS networks, and LTE-only modems won't support
CS networks.
2012-03-15 14:14:43 +01:00
Aleksander Morgado
517d47b699
iface-modem-3gpp: update PS/CS registration states separately
...
But provide a consolidate state in the interface.
2012-03-15 14:14:43 +01:00
Aleksander Morgado
d5af2286e2
iface-modem-3gpp: indicators and unsolicited events are 3GPP-specific
...
Moved code from the Modem interface, as this is really 3GPP-specific
2012-03-15 14:14:43 +01:00
Aleksander Morgado
a71e27af96
iface-modem-3gpp: setup context struct for periodic registration checks
2012-03-15 14:14:40 +01:00
Aleksander Morgado
2eb3dbb010
iface-modem-3gpp: implement property binding for the simple status
2012-03-15 14:14:39 +01:00
Aleksander Morgado
93732cf075
bearers: base bearer creation in the new bearer properties object
2012-03-15 14:14:38 +01:00
Aleksander Morgado
10a4360d83
bearer: provide reason of why connection is forbidden
2012-03-15 14:14:38 +01:00
Aleksander Morgado
473ca46ad9
iface-modem-3gpp: allow requesting to register internally, not just via DBus
2012-03-15 14:14:37 +01:00
Aleksander Morgado
dcfe2e5390
3gpp: control 3GPP bearer creation in the 3GPP modem interface
...
And implement bearer connection allowance based on roaming status.
2012-03-15 14:14:36 +01:00
Aleksander Morgado
4495ba180e
core: implement Access Technology reporting
...
For 3GPP modems only for now..
2012-03-15 14:14:35 +01:00
Aleksander Morgado
516b097331
api,enums: renamed MMModemAccessTech' to MMModemAccessTechnology'
...
This one was the last enum without full name.
2012-03-15 14:14:35 +01:00
Aleksander Morgado
e86c8554cc
broadband-modem: bearer connection allowance handled in ifaces
2012-03-15 14:14:35 +01:00
Aleksander Morgado
ddac446e86
iface-modem-3gpp: disable periodic registration checks
2012-03-15 14:14:35 +01:00
Aleksander Morgado
4b27149cf4
iface-modem-3gpp: when disabling, disconnect all 3GPP bearers
2012-03-15 14:14:35 +01:00
Aleksander Morgado
96defb4cd2
iface-modem-3gpp: if we get unregistered ensure we have disconnected 3GPP bearers
...
It is actually very likely that we get automatically the bearer disconnected when
we get unregistered in the network, but anyway.
2012-03-15 14:14:35 +01:00
Aleksander Morgado
dd20067975
iface-modem: while connected, ignore registration state changes
2012-03-15 14:14:35 +01:00
Aleksander Morgado
cadc27ca0e
core,libmm-glib: include ony `libmm-common.h'
...
Don't include one by one all the headers from libmm-common, just include the
global `libmm-common.h' which includes all the others.
2012-03-15 14:14:34 +01:00
Aleksander Morgado
7030bbc586
iface-modem-3gpp: bind connection property right away
2012-03-15 14:14:32 +01:00
Aleksander Morgado
1e026fe986
iface-modem-3gpp: cleanup CS and PS registrations during disable
2012-03-15 14:14:31 +01:00
Aleksander Morgado
029902312d
iface-modem-3gpp: cleanup unsolicited registration messages during disable
2012-03-15 14:14:31 +01:00
Aleksander Morgado
c867da54b1
iface-modem-3gpp: interface can be disabled
2012-03-15 14:14:31 +01:00
Aleksander Morgado
8459eba214
iface-modem-3gpp: enable periodic registration checks if no unsolicited
...
If we get errors when configuring the unsolicited registration messages, setup a
timeout to be run every 30s which will check our registration status.
2012-03-15 14:14:30 +01:00
Aleksander Morgado
8ecb80b553
iface-modem-3gpp: handle network scan requests
2012-03-15 14:14:30 +01:00
Aleksander Morgado
ad0a18d107
iface-modem-3gpp: when going into REGISTERED, load Operator Name and Code
2012-03-15 14:14:30 +01:00
Aleksander Morgado
3b2b0645be
iface-modem-3gpp: report registration state change in the log
2012-03-15 14:14:30 +01:00
Aleksander Morgado
7ea0c4905d
iface-modem-3gpp: always run CS and PS registration checks together
...
And report a single error, only if all available registration checks failed.
2012-03-15 14:14:30 +01:00
Aleksander Morgado
fd51bd349a
iface-modem-3gpp: handle network registration requests
2012-03-15 14:14:30 +01:00
Aleksander Morgado
9c60fe6e16
iface-modem-3gpp: load registration states during enable
2012-03-15 14:14:29 +01:00
Aleksander Morgado
9b796e0d86
iface-modem-3gpp: allow changing the RegistrationState from outside the interface
...
The 3GPP registration state will always be set from outside the 3GPP interface,
for example when parsing unsolicited registration messages, on when the
interface requests manual checking of registration state.
We'll also update the State property in the Modem interface when we switch to a
connected state, so we also set the Modem interface as a prerrequisite of the
3GPP interface.
2012-03-15 14:14:29 +01:00
Aleksander Morgado
d1072bda54
iface-modem: new RegistrationState property, bound to the one in DBus
2012-03-15 14:14:29 +01:00
Aleksander Morgado
68044fb01e
iface-modem-3gpp: setup unsolicited registration messages handling during enable
2012-03-15 14:14:29 +01:00
Aleksander Morgado
8f6018d9c6
iface-modem-3gpp: setup CS and PS registrations during enable
2012-03-15 14:14:29 +01:00
Aleksander Morgado
73db436f71
iface-modem-3gpp: interface can be enabled
...
In addition to initializing the interface, to load initial values of all
properties and export the object in DBus, the interface can now also be enabled.
Enabling the 3GPP interface will take care of running the network registration
process.
2012-03-15 14:14:28 +01:00
Aleksander Morgado
c6b69f9a59
iface-modem-3gpp: export DBus interface when properly initialized
2012-03-15 14:14:28 +01:00
Aleksander Morgado
69079ff891
iface-modem-3gpp: load `IMEI' during init
2012-03-15 14:14:28 +01:00
Aleksander Morgado
bb625b332a
iface-modem-3gpp: setup interface initialization and shutdown
2012-03-15 14:14:28 +01:00
Aleksander Morgado
1d495c58e6
iface-modem-3gpp: new interface to handle the Modem 3GPP DBus interface
2012-03-15 14:14:28 +01:00