diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-03-10 12:05:31 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-03-10 15:18:00 +0100 |
commit | 791c7908e48c4acfc8ebfe36ae66714c89bf028c (patch) | |
tree | b5fa85966cc0a1283c8222af3c0780450c11fa1f /src/mm-port-qmi.h | |
parent | 4f4ce02c434423afbea81679d62cf9ecc09b6599 (diff) |
port-qmi: initialize net port driver information early
The MMPortQmi may need to know very early what kind of net ports are
going to be used later on during connection, e.g. to decide what kind
of multiplexing capabilities are available and such.
So, once we have organized ports in the modem, we'll take the driver
of the first network port in the list of data ports, and pass it down
to all QMI ports setup in the modem object.
Diffstat (limited to 'src/mm-port-qmi.h')
-rw-r--r-- | src/mm-port-qmi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-port-qmi.h b/src/mm-port-qmi.h index 61369a43..efdc2ad4 100644 --- a/src/mm-port-qmi.h +++ b/src/mm-port-qmi.h @@ -65,6 +65,9 @@ gboolean mm_port_qmi_close_finish (MMPortQmi *self, GAsyncResult *res, GError **error); +void mm_port_qmi_set_net_driver (MMPortQmi *self, + const gchar *net_driver); + typedef enum { MM_PORT_QMI_FLAG_DEFAULT = 0, MM_PORT_QMI_FLAG_WDS_IPV4 = 100, |