diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-23 21:09:58 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-03-10 10:59:22 +0100 |
commit | cd2f8d9d6344dcd4b079fc17e0b8bc555b54a1a4 (patch) | |
tree | 3c3bf8429f8dab26f692e43882bc340296670471 /src/mm-modem-helpers-qmi.h | |
parent | d1a893775ea1968a32377f0fc8cb049916aec5a7 (diff) |
port-qmi: keep track of the endpoint info
The endpoint info of a given MMPortQmi is immutable (it's associated
to the specific kernel driver in use and to the specific physical
interface number of the device).
We'll load it as soon as the kernel device object is set in the port,
and we'll keep it in the private struct so that it can be used at any
time, e.g. by the WDA Get/Set Data Format operations on newest
devices, where the endpoint info TLV is mandatory.
Diffstat (limited to 'src/mm-modem-helpers-qmi.h')
-rw-r--r-- | src/mm-modem-helpers-qmi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mm-modem-helpers-qmi.h b/src/mm-modem-helpers-qmi.h index 829ac76e..d64f94cb 100644 --- a/src/mm-modem-helpers-qmi.h +++ b/src/mm-modem-helpers-qmi.h @@ -21,6 +21,8 @@ #include <ModemManager.h> #include <libqmi-glib.h> +#include "mm-port.h" + /*****************************************************************************/ /* QMI/DMS to MM translations */ @@ -121,6 +123,11 @@ gboolean mm_bearer_ip_family_to_qmi_pdp_type (MMBearerIpF QmiWdsPdpType *out_pdp_type); /*****************************************************************************/ +/* QMI/WDA to MM translations */ + +QmiDataEndpointType mm_port_subsys_to_qmi_endpoint_type (MMPortSubsys subsys); + +/*****************************************************************************/ /* QMI/OMA to MM translations */ MMOmaSessionType mm_oma_session_type_from_qmi_oma_session_type (QmiOmaSessionType qmi_session_type); |