aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers-qmi.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2022-01-30 17:11:31 +0100
committerAleksander Morgado <aleksander@aleksander.es>2022-01-31 22:48:57 +0100
commitd0c87c5877b247ee34fb133604904404581e7814 (patch)
tree58b6338ac780439347738dd859bbaa95cc4e4754 /src/mm-modem-helpers-qmi.h
parentf370c096ec53c35e9b28a4ba966eade42c07f375 (diff)
modem-helpers-qmi: new helper to build array of supported capabilities
Diffstat (limited to 'src/mm-modem-helpers-qmi.h')
-rw-r--r--src/mm-modem-helpers-qmi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mm-modem-helpers-qmi.h b/src/mm-modem-helpers-qmi.h
index f9671bc0..4d974d2a 100644
--- a/src/mm-modem-helpers-qmi.h
+++ b/src/mm-modem-helpers-qmi.h
@@ -172,6 +172,21 @@ MMModemCapability mm_current_capability_from_qmi_current_capabilities_context (M
gpointer log_object);
/*****************************************************************************/
+/* Utility to build list of supported capabilities from various sources */
+
+typedef struct {
+ /* NAS System Selection Preference */
+ gboolean nas_ssp_supported;
+ /* NAS Technology Preference */
+ gboolean nas_tp_supported;
+ /* DMS Capabilities */
+ MMModemCapability dms_capabilities;
+} MMQmiSupportedCapabilitiesContext;
+
+GArray *mm_supported_capabilities_from_qmi_supported_capabilities_context (MMQmiSupportedCapabilitiesContext *ctx,
+ gpointer log_object);
+
+/*****************************************************************************/
/* QMI unique id manipulation */
gchar *mm_qmi_unique_id_to_firmware_unique_id (GArray *qmi_unique_id,