From 3004a3e53263625da0b26e50c9107f1bad5b371e Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 15 Jun 2023 08:27:13 +0000 Subject: 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. --- include/ModemManager-tags.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include') 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. -- cgit v1.2.3-70-g09d2