From c34b326709610d965c8ae78b8cec335c1ef3f48b Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 15 Apr 2026 12:45:34 +0000 Subject: [PATCH 1/2] modem-helpers-qmi: add missing QMI_WDS_PDP_TYPE_NON_IP check Fixes build with latest libqmi. Signed-off-by: Aleksander Morgado --- src/mm-modem-helpers-qmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mm-modem-helpers-qmi.c b/src/mm-modem-helpers-qmi.c index 43bc72b7..9fc10cdd 100644 --- a/src/mm-modem-helpers-qmi.c +++ b/src/mm-modem-helpers-qmi.c @@ -2373,6 +2373,7 @@ mm_bearer_ip_family_from_qmi_pdp_type (QmiWdsPdpType pdp_type) case QMI_WDS_PDP_TYPE_IPV4_OR_IPV6: return MM_BEARER_IP_FAMILY_IPV4V6; case QMI_WDS_PDP_TYPE_PPP: + case QMI_WDS_PDP_TYPE_NON_IP: default: return MM_BEARER_IP_FAMILY_NONE; } From b6d53915a6f5cc6fadf8974f8b981148684b7766 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 15 Apr 2026 12:53:43 +0000 Subject: [PATCH 2/2] port-qmi: add missing QMI_DATA_ENDPOINT_TYPE_ETHERNET Fixes build with latest libqmi. Signed-off-by: Aleksander Morgado --- src/mm-port-qmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c index 79511689..d4c4d64d 100644 --- a/src/mm-port-qmi.c +++ b/src/mm-port-qmi.c @@ -160,6 +160,7 @@ initialize_endpoint_info (MMPortQmi *self) case QMI_DATA_ENDPOINT_TYPE_UNDEFINED: case QMI_DATA_ENDPOINT_TYPE_HSIC: case QMI_DATA_ENDPOINT_TYPE_BAM_DMUX: + case QMI_DATA_ENDPOINT_TYPE_ETHERNET: case QMI_DATA_ENDPOINT_TYPE_UNKNOWN: default: self->priv->endpoint_interface_number = 0;