aboutsummaryrefslogtreecommitdiff
path: root/src/mm-shared-qmi.h
diff options
context:
space:
mode:
authorFreedom Liu <tianyu28658@gmail.com>2021-05-04 14:49:25 +0800
committerAleksander Morgado <aleksander@aleksander.es>2021-05-14 22:10:49 +0200
commit76e700f4fd703f952208993330ab098305c13d6b (patch)
tree4c85a90ae7cbe10ceaf0b674e9ab9d8877dcfa18 /src/mm-shared-qmi.h
parentbb928dbf7409b445e6aaab994c571fb7d504a8d7 (diff)
broadband-modem-mbim: get model through QMI-over-MBIM
move the modem_load_model() async method from mm-broadband-modem-qmi.c to mm-shared-qmi.c, and then make use of the method from both the QMI and MBIM implementations.
Diffstat (limited to 'src/mm-shared-qmi.h')
-rw-r--r--src/mm-shared-qmi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-shared-qmi.h b/src/mm-shared-qmi.h
index 9af00b9d..dc95078d 100644
--- a/src/mm-shared-qmi.h
+++ b/src/mm-shared-qmi.h
@@ -94,6 +94,12 @@ void mm_shared_qmi_set_current_capabilities (MMIfaceMode
gboolean mm_shared_qmi_set_current_capabilities_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
+void mm_shared_qmi_load_model (MMIfaceModem *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gchar *mm_shared_qmi_load_model_finish (MMIfaceModem *self,
+ GAsyncResult *res,
+ GError **error);
void mm_shared_qmi_load_supported_modes (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);