summaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-04-05 00:07:01 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-04-29 10:13:22 +0000
commit72879e4095bde2ee354a61f475ebc8bc847541c5 (patch)
treeca5b49dbad5d356e12019ef5e005c4017ec8730f /src/mm-modem-helpers-mbim.h
parent49b63cc62b46777c419b6a8e63629d228953fe95 (diff)
broadband-modem-mbim: implement profile management support
We use the "Provisioned Contexts" message support to add and edit profiles. We also use the same message, with context-type set to "none" to attempt deleting it, although that doesn't seem to be fully supported by all modems. E.g. the EM7345 (FIH7160_V1.1_MODEM_01.1349.12) will still report contexts 'deleted' in this way, with the context-type set to "none".ยบ
Diffstat (limited to 'src/mm-modem-helpers-mbim.h')
-rw-r--r--src/mm-modem-helpers-mbim.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-modem-helpers-mbim.h b/src/mm-modem-helpers-mbim.h
index 9cebe95f..c01c7532 100644
--- a/src/mm-modem-helpers-mbim.h
+++ b/src/mm-modem-helpers-mbim.h
@@ -47,6 +47,10 @@ MbimAuthProtocol mm_bearer_allowed_auth_to_mbim_auth_protocol (MMBearerAllo
MMBearerIpFamily mm_bearer_ip_family_from_mbim_context_ip_type (MbimContextIpType ip_type);
MbimContextIpType mm_bearer_ip_family_to_mbim_context_ip_type (MMBearerIpFamily ip_family,
GError **error);
+MMBearerApnType mm_bearer_apn_type_from_mbim_context_type (MbimContextType context_type);
+MbimContextType mm_bearer_apn_type_to_mbim_context_type (MMBearerApnType apn_type,
+ gpointer log_object,
+ GError **error);
/*****************************************************************************/
/* MBIM/SMS to MM translations */