aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp.h
diff options
context:
space:
mode:
authorDylan Van Assche <me@dylanvanassche.be>2021-03-13 19:28:19 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-05-26 13:14:52 +0000
commit84aa134ad9c94ed42cdc1f8387e8fbf227ee4103 (patch)
tree83f01344a7255a372a9283d2e03469169f510e49 /src/mm-iface-modem-3gpp.h
parenta9868638a7fe7eca953902743fc569ec12e1483d (diff)
iface-modem-3gpp: synchronize state when resuming
On resume, refresh the EPS bearers and 3GPP registration as the registration and bearers may expired during suspend.
Diffstat (limited to 'src/mm-iface-modem-3gpp.h')
-rw-r--r--src/mm-iface-modem-3gpp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.h b/src/mm-iface-modem-3gpp.h
index ec5dd482..26843d66 100644
--- a/src/mm-iface-modem-3gpp.h
+++ b/src/mm-iface-modem-3gpp.h
@@ -276,6 +276,18 @@ gboolean mm_iface_modem_3gpp_disable_finish (MMIfaceModem3gpp *self,
GAsyncResult *res,
GError **error);
+#if defined WITH_SYSTEMD_SUSPEND_RESUME
+
+/* Sync 3GPP interface (async) */
+void mm_iface_modem_3gpp_sync (MMIfaceModem3gpp *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_iface_modem_3gpp_sync_finish (MMIfaceModem3gpp *self,
+ GAsyncResult *res,
+ GError **error);
+
+#endif
+
/* Shutdown Modem 3GPP interface */
void mm_iface_modem_3gpp_shutdown (MMIfaceModem3gpp *self);