Aleksander Morgado
210020c7d2
cli,sim: print GID1 and GID2 fields if available
2022-08-19 15:53:43 +00:00
Aleksander Morgado
59e36c6838
cli,sms: minor alignment fix
2022-08-19 15:53:43 +00:00
Aleksander Morgado
cd933c740e
libmm-glib,sim: add support to get GID1 and GID2 fields
2022-08-19 15:53:43 +00:00
Aleksander Morgado
219efb0253
libmm-glib,sim: add missing separators in source code
2022-08-19 15:53:43 +00:00
Aleksander Morgado
b6b21f8fa6
api,introspection: add Gid1 and Gid2 properties in SIM interface
2022-08-19 15:53:43 +00:00
Aleksander Morgado
a783d9f68a
shared-qmi: minor rework SetPacketServiceState()
...
Port to using g_autoptr() so that we avoid the gotos.
2022-08-04 14:26:33 +00:00
Aleksander Morgado
f58dcc832b
iface-modem-3gpp: update packet service state in the interface
...
The skeleton property will be update automatically as they're bound.
2022-08-04 14:26:33 +00:00
Aleksander Morgado
d82f0d5371
iface-modem-simple: wait for packet service state is 3GPP specific
2022-08-04 14:26:33 +00:00
Aleksander Morgado
9746600a12
broadband-modem-qmi: force IDLE state if PS registered but DSD RAT unavailable
...
We provide a consolidated method to update the PS/EPS/5GS registration
states, based on the actual state reported via NAS and the availabiity
or not of the DSD data RAT.
On this consolidated method, we now force the IDLE state for every
case where it would have been HOME/ROAMING if the data RAT reported
via the DSD service is unknown. This includes not only transitions
into the HOME/ROAMING state, but also transitions to unknown data RAT.
2022-08-04 14:26:33 +00:00
Aleksander Morgado
86f6d33513
sim-mbim: clear cached subscriber info on modem sync request
2022-08-01 20:17:43 +00:00
Aleksander Morgado
f5b3dc7689
broadband-modem: notify when a sync is needed after a suspend/resume
...
Modem/SIM implementations that keep cached info that is not supposed
to change during runtime of a modem may need to be notified about when
a suspend/resume has happened, so that they can clear and reload the
internally cached data.
2022-08-01 19:51:26 +00:00
Aleksander Morgado
bda3ade5a8
iface-modem: reordering of ready methods in sync()
2022-07-29 15:07:45 +02:00
Aleksander Morgado
dd51defd2b
broadband-modem: quick sync the Modem interface also if disabled
...
If the modem was in disabled state, we still want to sync the Modem
interface, among other things to make sure no SIM event happened
during the system suspension.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/605
2022-07-29 15:06:49 +02:00
Aleksander Morgado
1615c8627c
broadband-modem: don't make fatal SIM swap check of IMSI or ICCID
...
If the SIM swap check using ICCID or IMSI fail, don't completely fail
the operation, as the other one may still succeed.
Fail the operation only if both checks failed.
2022-07-16 22:24:33 +02:00
Aleksander Morgado
76f837697a
broadband-modem: plug leaks in sim_swap_context_free()
2022-07-16 22:24:28 +02:00
Aleksander Morgado
41ff262006
shared-qmi: improve logging of steps in SIM hot swap setup
2022-07-16 22:24:25 +02:00
Aleksander Morgado
e96a111a63
shared-qmi: only transfer state to priv info if SIM hotswap setup succeeds
...
Don't transfer state to the private info until we know the operation
has fully succeeded.
2022-07-16 22:24:23 +02:00
Aleksander Morgado
c994ae1b3a
shared-qmi: move indication callbacks out of the SIM hot swap setup
2022-07-16 22:24:20 +02:00
Aleksander Morgado
ba3b15fe29
shared-qmi: return error if none of the methods succeeded in SIM hot swap setup
2022-07-16 22:24:17 +02:00
Aleksander Morgado
b7da236567
shared-qmi: avoid jumps in the SIM hot swap setup state machine
...
Always transition to the next step, and decide what to do based on the
state tracked by the previously run steps.
2022-07-16 22:24:14 +02:00
Aleksander Morgado
21d24657eb
shared-qmi: make refresh all non-fatal during SIM hot swap setup
...
If for any reason "Refresh all" fails, don't return an error, as we
may have already configured SIM slot status correctly.
2022-07-16 22:24:02 +02:00
Aleksander Morgado
d2bc73f394
shared-qmi: add slot status indication in its own step during SIM hot swap setup
2022-07-16 22:23:57 +02:00
Aleksander Morgado
405f5867c7
shared-qmi: add slot status check in its own step during SIM hot swap setup
...
Also, don't make the "Get Slot Status" operation fatal; just go on
assuming that the slot status indications are unsupported.
2022-07-16 22:23:53 +02:00
Aleksander Morgado
76c0896535
shared-qmi: new step in SIM hot swap setup to connect to refresh signal
...
Instead of connecting to the signal in multiple places, do it in one
single place in the logic.
2022-07-16 22:23:45 +02:00