Aleksander Morgado
816a1318cb
sim: minor code simplification
2012-03-15 14:14:47 +01:00
Aleksander Morgado
a534afa84d
sim: handle initialization failures properly
...
We should't use MM_SIM() on possibly NULL values.
2012-03-15 14:14:47 +01:00
Aleksander Morgado
7db16d2279
bearer: make bearer creation an asynchronous operation
...
We may want to do some checks while creating a new bearer.
2012-03-15 14:14:47 +01:00
Aleksander Morgado
6a38bcf1a1
broadband-modem: setup 3GPP and CDMA bearer creation logic
...
On mixed CDMA+LTE modems, just default to create a 3GPP bearer.
2012-03-15 14:14:47 +01:00
Aleksander Morgado
cc4f662239
iface-modem-cdma: setup creation of CDMA bearers
2012-03-15 14:14:47 +01:00
Aleksander Morgado
06ea25c0d4
bearer-cdma: new bearer to handle connections in CDMA networks
2012-03-15 14:14:47 +01:00
Aleksander Morgado
531c1fa660
bearer: set allow-roaming as property at generic bearer object level
2012-03-15 14:14:47 +01:00
Aleksander Morgado
7f975a30b3
build: remove glib-mkenums generated files during make clean
2012-03-15 14:14:47 +01:00
Aleksander Morgado
d178fb1f09
plugin-manager: fix loop of deferred tasks when no best plugin found
...
If deferring tasks until result suggested, and we never got a suggestion, the
tasks may have been left deferred in loop forever. We now remove the defer
timeout in the case of waiting for suggestion, and ensure that we cancel tasks
if the last valid probing ended without best plugin found.
2012-03-15 14:14:46 +01:00
Aleksander Morgado
2c0c668462
iface-modem-cdma: load NID if available in the CDMA status QCDM response
2012-03-15 14:14:46 +01:00
Aleksander Morgado
48d5ac6682
core: use g_list_free_full() when possible
2012-03-15 14:14:46 +01:00
Aleksander Morgado
a0f7db513f
iface-modem-cdma: setup periodic registration checks
2012-03-15 14:14:46 +01:00
Aleksander Morgado
abf0d1afc1
iface-modem-cdma: report state changes with subsystem ID
...
Different subsystem IDs used for CDMA1x and EVDO
2012-03-15 14:14:46 +01:00
Aleksander Morgado
8b78c39414
iface-modem-3gpp: report state changes with subsystem ID
2012-03-15 14:14:46 +01:00
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
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
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