diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-07-16 00:04:20 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-09-12 17:25:19 +0000 |
commit | ac69466c9da7c553c7f4c4a4197614af560abc83 (patch) | |
tree | 72ca946e1758b0f6183ac3e72f709fe3f3fdaf2f /src/mm-shared-qmi.h | |
parent | 692d076ba68e09bcad146d78109d4a59e1563918 (diff) |
shared-qmi: implement 3GPP network registration logic
Ported from the broadband modem QMI implementation, keeping the logic
in place. We will need this to integrate mode/capability switching in
MBIM devices, for nothing else really (as MBIM already supports this
operation).
Diffstat (limited to 'src/mm-shared-qmi.h')
-rw-r--r-- | src/mm-shared-qmi.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mm-shared-qmi.h b/src/mm-shared-qmi.h index 9b3e10c5..11381de9 100644 --- a/src/mm-shared-qmi.h +++ b/src/mm-shared-qmi.h @@ -25,6 +25,7 @@ #include <libqmi-glib.h> #include "mm-iface-modem.h" +#include "mm-iface-modem-3gpp.h" #include "mm-iface-modem-location.h" #include "mm-port-qmi.h" @@ -60,6 +61,17 @@ gboolean mm_shared_qmi_ensure_client (MMSharedQmi *self, GAsyncReadyCallback callback, gpointer user_data); +/* Shared QMI 3GPP operations */ + +void mm_shared_qmi_3gpp_register_in_network (MMIfaceModem3gpp *self, + const gchar *operator_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_shared_qmi_3gpp_register_in_network_finish (MMIfaceModem3gpp *self, + GAsyncResult *res, + GError **error); + /* Shared QMI device management support */ void mm_shared_qmi_load_supported_capabilities (MMIfaceModem *self, |