diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2024-08-21 17:04:38 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2024-08-21 17:04:38 +0000 |
commit | 8ff4b3638f13402dd55e1c1b0ec7a2e069f5369b (patch) | |
tree | fc1bfedf21637864e149fee0508c13abca40b9f1 /src | |
parent | f62ff207bbe5a4940faa22d3b89e1016112f6b3f (diff) |
modem-helpers-qmi: map the DUN/tethering APN type
libqmi version is bumped to 1.35.6, which is the unstable tag that
includes the new symbols.
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-modem-helpers-qmi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-modem-helpers-qmi.c b/src/mm-modem-helpers-qmi.c index 373e6d18..1cb91491 100644 --- a/src/mm-modem-helpers-qmi.c +++ b/src/mm-modem-helpers-qmi.c @@ -2373,6 +2373,8 @@ mm_bearer_apn_type_to_qmi_apn_type (MMBearerApnType apn_type, value |= QMI_WDS_APN_TYPE_MASK_IMS; if (apn_type & MM_BEARER_APN_TYPE_MMS) value |= QMI_WDS_APN_TYPE_MASK_MMS; + if (apn_type & MM_BEARER_APN_TYPE_TETHERING) + value |= QMI_WDS_APN_TYPE_MASK_DUN; if (apn_type & MM_BEARER_APN_TYPE_MANAGEMENT) value |= QMI_WDS_APN_TYPE_MASK_FOTA; if (apn_type & MM_BEARER_APN_TYPE_INITIAL) @@ -2393,6 +2395,8 @@ mm_bearer_apn_type_from_qmi_apn_type (QmiWdsApnTypeMask apn_type) value |= MM_BEARER_APN_TYPE_IMS; if (apn_type & QMI_WDS_APN_TYPE_MASK_MMS) value |= MM_BEARER_APN_TYPE_MMS; + if (apn_type & QMI_WDS_APN_TYPE_MASK_DUN) + value |= MM_BEARER_APN_TYPE_TETHERING; if (apn_type & QMI_WDS_APN_TYPE_MASK_FOTA) value |= MM_BEARER_APN_TYPE_MANAGEMENT; if (apn_type & QMI_WDS_APN_TYPE_MASK_IA) |