aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.h
diff options
context:
space:
mode:
authorDaniele Palmas <dnlplm@gmail.com>2022-05-05 11:29:32 +0200
committerAleksander Morgado <aleksander@aleksander.es>2022-06-19 13:40:48 +0000
commitd6203265c2e38dc50fc7f8b3c2ce85b55937e0a4 (patch)
treec41356b0bce15852bcf452b50ad3751a5ef47663 /src/mm-plugin.h
parent661a63b37b312e15cf9c3c7265859704740d2d1d (diff)
port-probe: avoid QCDM port probing if not for specific plugins
The QCDM/DIAG port is usually nowadays exclusively used by applications gathering traces from the modem, so avoid port probing and grabbing when plugins set the property MM_PLUGIN_ALLOWED_QCDM. A new property MM_PLUGIN_REQUIRED_QCDM is created for those plugins requiring the QCDM port for properly using a modem.
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r--src/mm-plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index 3c00ed1a..1c071383 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -62,6 +62,7 @@
#define MM_PLUGIN_ALLOWED_AT "allowed-at"
#define MM_PLUGIN_ALLOWED_SINGLE_AT "allowed-single-at"
#define MM_PLUGIN_ALLOWED_QCDM "allowed-qcdm"
+#define MM_PLUGIN_REQUIRED_QCDM "required-qcdm"
#define MM_PLUGIN_ALLOWED_QMI "allowed-qmi"
#define MM_PLUGIN_ALLOWED_MBIM "allowed-mbim"
#define MM_PLUGIN_ICERA_PROBE "icera-probe"