From 473c41dc634c9da36a1ef355f14e89cec265b6e6 Mon Sep 17 00:00:00 2001 From: Daniele Palmas Date: Thu, 5 May 2022 15:15:26 +0200 Subject: [PATCH] plugins: add MM_PLUGIN_REQUIRED_QCDM to plugins requiring QCDM The new QCDM port probing and grabbing mechanism implements a new property for detecting the plugins which require the QCDM port to be probed and grabbed. Add the property to the affected plugins. --- plugins/anydata/mm-plugin-anydata.c | 2 +- plugins/generic/mm-plugin-generic.c | 2 +- plugins/huawei/mm-plugin-huawei.c | 2 +- plugins/novatel/mm-plugin-novatel.c | 2 +- plugins/sierra/mm-plugin-sierra.c | 2 +- plugins/via/mm-plugin-via.c | 1 + plugins/zte/mm-plugin-zte.c | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/plugins/anydata/mm-plugin-anydata.c b/plugins/anydata/mm-plugin-anydata.c index aee34b2f..4b8f0a84 100644 --- a/plugins/anydata/mm-plugin-anydata.c +++ b/plugins/anydata/mm-plugin-anydata.c @@ -78,7 +78,7 @@ mm_plugin_create (void) MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, MM_PLUGIN_ALLOWED_AT, TRUE, - MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_REQUIRED_QCDM, TRUE, MM_PLUGIN_ALLOWED_QMI, TRUE, NULL)); } diff --git a/plugins/generic/mm-plugin-generic.c b/plugins/generic/mm-plugin-generic.c index 28904887..6dd37d59 100644 --- a/plugins/generic/mm-plugin-generic.c +++ b/plugins/generic/mm-plugin-generic.c @@ -100,7 +100,7 @@ mm_plugin_create (void) MM_PLUGIN_IS_GENERIC, TRUE, MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, MM_PLUGIN_ALLOWED_AT, TRUE, - MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_REQUIRED_QCDM, TRUE, MM_PLUGIN_ALLOWED_QMI, TRUE, MM_PLUGIN_ALLOWED_MBIM, TRUE, NULL)); diff --git a/plugins/huawei/mm-plugin-huawei.c b/plugins/huawei/mm-plugin-huawei.c index a4f487c0..ad8d32b0 100644 --- a/plugins/huawei/mm-plugin-huawei.c +++ b/plugins/huawei/mm-plugin-huawei.c @@ -713,7 +713,7 @@ mm_plugin_create (void) MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, MM_PLUGIN_ALLOWED_AT, TRUE, - MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_REQUIRED_QCDM, TRUE, MM_PLUGIN_ALLOWED_QMI, TRUE, MM_PLUGIN_ALLOWED_MBIM, TRUE, MM_PLUGIN_CUSTOM_INIT, &custom_init, diff --git a/plugins/novatel/mm-plugin-novatel.c b/plugins/novatel/mm-plugin-novatel.c index 1c38c447..c17f6a9a 100644 --- a/plugins/novatel/mm-plugin-novatel.c +++ b/plugins/novatel/mm-plugin-novatel.c @@ -94,7 +94,7 @@ mm_plugin_create (void) MM_PLUGIN_FORBIDDEN_PRODUCT_IDS, forbidden_products, MM_PLUGIN_ALLOWED_AT, TRUE, MM_PLUGIN_CUSTOM_INIT, &custom_init, - MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_REQUIRED_QCDM, TRUE, MM_PLUGIN_ALLOWED_QMI, TRUE, NULL)); } diff --git a/plugins/sierra/mm-plugin-sierra.c b/plugins/sierra/mm-plugin-sierra.c index 8ddfbc6d..e4b4b676 100644 --- a/plugins/sierra/mm-plugin-sierra.c +++ b/plugins/sierra/mm-plugin-sierra.c @@ -116,7 +116,7 @@ mm_plugin_create (void) MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, MM_PLUGIN_ALLOWED_DRIVERS, drivers, MM_PLUGIN_ALLOWED_AT, TRUE, - MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_REQUIRED_QCDM, TRUE, MM_PLUGIN_ALLOWED_QMI, TRUE, MM_PLUGIN_ALLOWED_MBIM, TRUE, MM_PLUGIN_XMM_PROBE, TRUE, diff --git a/plugins/via/mm-plugin-via.c b/plugins/via/mm-plugin-via.c index 8f3da5bf..b1939092 100644 --- a/plugins/via/mm-plugin-via.c +++ b/plugins/via/mm-plugin-via.c @@ -66,6 +66,7 @@ mm_plugin_create (void) MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, MM_PLUGIN_ALLOWED_PRODUCT_STRINGS, product_strings, MM_PLUGIN_ALLOWED_AT, TRUE, + MM_PLUGIN_REQUIRED_QCDM, TRUE, NULL)); } diff --git a/plugins/zte/mm-plugin-zte.c b/plugins/zte/mm-plugin-zte.c index b89a62da..a39386e6 100644 --- a/plugins/zte/mm-plugin-zte.c +++ b/plugins/zte/mm-plugin-zte.c @@ -155,7 +155,7 @@ mm_plugin_create (void) MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe, MM_PLUGIN_ALLOWED_AT, TRUE, - MM_PLUGIN_ALLOWED_QCDM, TRUE, + MM_PLUGIN_REQUIRED_QCDM, TRUE, MM_PLUGIN_ALLOWED_QMI, TRUE, MM_PLUGIN_ALLOWED_MBIM, TRUE, MM_PLUGIN_ICERA_PROBE, TRUE,