aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-06-15 08:27:13 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-06-16 20:58:04 +0000
commit3004a3e53263625da0b26e50c9107f1bad5b371e (patch)
treee9377da944a3ec31e6b297d407716a998f8928fd /include
parent547d40009c665d523e15cabfee028fc2604660dd (diff)
broadband-modem-qmi|mbim: allow limiting multiplexed links with udev tags
Certain QMI or MBIM devices may not be able to support multiplexing at all, or they may support a limited amount of links. The new ID_MM_MAX_MULTIPLEXED_LINKS udev tag allows specifying the maximum number of supported multiplexed links; e.g. 0 to report none supported or 1 to report that one single multiplexed link is supported.
Diffstat (limited to 'include')
-rw-r--r--include/ModemManager-tags.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/ModemManager-tags.h b/include/ModemManager-tags.h
index d3a06d24..abd71cf5 100644
--- a/include/ModemManager-tags.h
+++ b/include/ModemManager-tags.h
@@ -270,6 +270,23 @@
*/
#define ID_MM_REQUIRED "ID_MM_REQUIRED"
+/**
+ * ID_MM_MAX_MULTIPLEXED_LINKS:
+ *
+ * This is a device-specific tag that allows users to specify the maximum amount
+ * of multiplexed links the modem supports.
+ *
+ * An integer value greater or equal than 0 must be given. The value 0 in this
+ * tag completely disables the multiplexing support in the device.
+ *
+ * This setting does nothing if the modem doesn't support multiplexing, or if the
+ * value configured is greater than the one specified by the modem itself (e.g.
+ * the control protocol in use also limits this value).
+ *
+ * Since: 1.22
+ */
+#define ID_MM_MAX_MULTIPLEXED_LINKS "ID_MM_MAX_MULTIPLEXED_LINKS"
+
/*
* The following symbols are deprecated. We don't add them to -compat
* because this -tags file is not really part of the installed API.