summaryrefslogtreecommitdiff
path: root/src/mm-port-qmi.h
diff options
context:
space:
mode:
authorAndrew Lassalle <andrewlassalle@chromium.org>2020-11-25 13:14:35 -0800
committerAleksander Morgado <aleksander@aleksander.es>2021-04-14 11:27:27 +0200
commitec375bd959f071ce01533d50a2775e8a6f69607b (patch)
tree20dcc27cc9e8096269a6bfa1521cfcefe35d3b24 /src/mm-port-qmi.h
parent312f753046b4ceaddef7b45a676a8880bfc9d89d (diff)
port-qmi: add support for QRTR
Extend mm-port-qmi to accept a QRTR node to work with modems using the QRTR protocol.
Diffstat (limited to 'src/mm-port-qmi.h')
-rw-r--r--src/mm-port-qmi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-port-qmi.h b/src/mm-port-qmi.h
index 0d99bc12..d5e4f8cf 100644
--- a/src/mm-port-qmi.h
+++ b/src/mm-port-qmi.h
@@ -61,6 +61,10 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMPortQmi, g_object_unref)
MMPortQmi *mm_port_qmi_new (const gchar *name,
MMPortSubsys subsys);
+#if QMI_QRTR_SUPPORTED
+MMPortQmi *mm_port_qmi_new_from_node (const gchar *name,
+ QrtrNode *node);
+#endif
void mm_port_qmi_open (MMPortQmi *self,
gboolean set_data_format,
GCancellable *cancellable,