Aleksander Morgado
0b8d0c697d
iface-modem: get consolidated state from all subsystems
...
We don't want, e.g., REGISTERED->ENABLED transitions when 3GPP gets
unregistered but we're still registered in CDMA.
2012-03-15 14:14:46 +01:00
Aleksander Morgado
6d76f1755f
broadband-modem: implement default detailed CDMA registration getter
...
Fully based on Sprint commands
2012-03-15 14:14:46 +01:00
Aleksander Morgado
a767c2c523
broadband-modem: skip CDMA registration check steps on default implementation
...
If we know that there is no QCDM port, skip QCDM-based checks.
If we know there are Sprint commands, skip CDMA1x Serving System check.
If we know there are no Sprint commands, skip detailed registration getter.
2012-03-15 14:14:46 +01:00
Aleksander Morgado
9b860021a0
broadband-modem: set NO_NETWORK error if we couldn't get SID from CDMA1x SS checks
2012-03-15 14:14:45 +01:00
Aleksander Morgado
9f8e81277f
iface-modem-cdma: allow to configure which registration steps to run
...
Implementations of the CDMA interface are allowed to specify which steps in the
registration checks can be skipped. For example, if no QCDM ports are available,
there won't be any need to try QCDM-based checks; or if Sprint commands are
available, there won't be any need to run CDMA1x Serving System checks.
2012-03-15 14:14:45 +01:00
Aleksander Morgado
ad05cd2916
iface-modem-cdma: last step to get detailed registration state
2012-03-15 14:14:45 +01:00
Aleksander Morgado
d0d3d1f545
plugin-base: keep track of the probe for the net port, even if it wasn't run
2012-03-15 14:14:45 +01:00
Aleksander Morgado
16ed08cc85
port-probe: avoid warnings when probe was for a net device
...
net devices aren't really probed
2012-03-15 14:14:45 +01:00
Aleksander Morgado
32a0c8fbb7
plugin-manager: new defer-until-suggested support check result handling
...
'net' ports will be supported as soon as there is another port reporting
successful support.
2012-03-15 14:14:45 +01:00
Aleksander Morgado
65c14607cd
broadband-modem: add LTE capability checks
2012-03-15 14:14:45 +01:00
Aleksander Morgado
e28183274f
broadband-modem: implement default serving system and service status retrieval
2012-03-15 14:14:45 +01:00
Aleksander Morgado
9efabb8fcb
modem-helpers: new CDMA helper parsers
2012-03-15 14:14:45 +01:00
Aleksander Morgado
44289da531
iface-modem-cdma: run all registration checks during CDMA interface enable
2012-03-15 14:14:45 +01:00
Aleksander Morgado
11038be07f
broadband-modem: implement CDMA registration state and network supported properties
2012-03-15 14:14:45 +01:00
Aleksander Morgado
91e146e1fe
iface-modem-cdma: start implementing CDMA registration state logic
...
QCDM-based Call Manager and HDR state for now.
2012-03-15 14:14:45 +01:00
Aleksander Morgado
14269e1138
broadband-modem: implement ESN retrieval
2012-03-15 14:14:44 +01:00
Aleksander Morgado
0c6b505a6b
iface-modem-cdma: load ESN during initialization
2012-03-15 14:14:44 +01:00
Aleksander Morgado
08a950ffb6
iface-modem-simple: plug memleak
2012-03-15 14:14:44 +01:00
Aleksander Morgado
45adc5054e
iface-modem-3gpp: fix registration state context creation
2012-03-15 14:14:44 +01:00
Aleksander Morgado
cb2612d0ce
iface-modem: fix signal quality context creation
2012-03-15 14:14:44 +01:00
Aleksander Morgado
5edb863ede
iface-modem: make old compilers happy
2012-03-15 14:14:44 +01:00
Aleksander Morgado
3789c10819
api,header: add explanation for the MMModemCdmaActivationErrors
2012-03-15 14:14:44 +01:00
Aleksander Morgado
ee07cc51ea
iface-modem: fix checks for single technology capabilities
2012-03-15 14:14:44 +01:00
Aleksander Morgado
7b884c4635
base-modem-at: always unref the modem object in AT command/sequence contexts
2012-03-15 14:14:44 +01:00
Aleksander Morgado
1304b65956
base-modem: log when fully disposing the object
2012-03-15 14:14:44 +01:00
Aleksander Morgado
8af488b452
base-modem: use g_clear_object() before setting new objects
2012-03-15 14:14:44 +01:00
Aleksander Morgado
c3f1a7ec98
bearer: use g_clear_object() before setting new objects
2012-03-15 14:14:44 +01:00
Aleksander Morgado
1097993212
broadband-modem: use g_clear_object() before setting new objects
2012-03-15 14:14:44 +01:00
Aleksander Morgado
8610fd47b3
iface-modem: plug small leak
2012-03-15 14:14:44 +01:00
Aleksander Morgado
8c0d67a81a
sim: use g_clear_object() before setting new objects
2012-03-15 14:14:44 +01:00
Aleksander Morgado
f3bc54eb40
libmm-common: plug small leak in the common simple properties
2012-03-15 14:14:44 +01:00
Aleksander Morgado
a68847a091
iface-modem-3gpp: if modem is LTE-only, assume no CS network is expected
2012-03-15 14:14:43 +01:00
Aleksander Morgado
ffae95a46b
iface-modem: new helpers to check if modem has LTE capabilities
2012-03-15 14:14:43 +01:00
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
6abcfd54a6
iface-modem-cdma: load MEID during initialization
2012-03-15 14:14:43 +01:00
Aleksander Morgado
863bfe9ecd
broadband-modem: implement the CDMA interface
2012-03-15 14:14:43 +01:00
Aleksander Morgado
f5d894f5a2
iface-modem-cdma: new interface to handle CDMA specific actions
2012-03-15 14:14:43 +01:00
Aleksander Morgado
ad9df4a5d1
broadband-modem: implement QCDM-based signal quality retrieval
...
Will work for CDMA modems with QCDM ports.
2012-03-15 14:14:43 +01:00
Aleksander Morgado
94846a2f51
base-modem: make public the method to get best AT port
...
Sometimes, we want to check whether a given port is available to send commands,
and fallback to some other method if so (e.g. using a QCDM port).
2012-03-15 14:14:43 +01:00
Aleksander Morgado
edc1174068
broadband-modem: try +CSQ? if +CSQ fails
...
As done in the generic CDMA implementation
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
5c3154bbba
Revert "broadband-modem: skip indicators and unsolicited events setup in CDMA-only modems"
...
This reverts commit b16f9bbba6aeb8b54a81192dca76d57ac0e88aae.
2012-03-15 14:14:43 +01:00
Aleksander Morgado
611970a424
broadband-modem: remove obsolete commented code
2012-03-15 14:14:43 +01:00
Aleksander Morgado
41bf841334
generic: allow QCDM ports
2012-03-15 14:14:42 +01:00
Aleksander Morgado
def30139d7
cli: report as 'none' when no SIM path is given
...
Instead of giving '/'
2012-03-15 14:14:42 +01:00
Aleksander Morgado
7043b2ef6e
broadband-modem: skip indicators and unsolicited events setup in CDMA-only modems
2012-03-15 14:14:42 +01:00
Aleksander Morgado
ae5da01403
broadband-modem: skip supported charsets check in CDMA-only modems
2012-03-15 14:14:42 +01:00
Aleksander Morgado
f4acff17da
broadband-modem: skip SIM creation in CDMA-only modems
2012-03-15 14:14:42 +01:00
Aleksander Morgado
bda0d0c1d4
iface-modem: allow implementations to return no SIM and no error
...
That would mean that the implementation doesn't want to handle a SIM object
around, maybe because it doesn't support it properly, or because there is
no SIM at all (e.g. CDMA-only modems).
2012-03-15 14:14:42 +01:00