Commit Graph
100 Commits
Author SHA1 Message Date
Aleksander Morgado a1f8045c53 build: require libmbim 1.31.5
We need a newer libmbim to handle the MBIM_CID_QDU_COMMAND operation
introduced for AT over MBIM in Quectel modems.

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/892
2024-09-20 09:31:05 +00:00
Aleksander Morgado a1214b5fd5 build: unstable release version bump to 1.23.11 2024-09-16 09:19:23 +00:00
Aleksander Morgado 04b3a3f01c build: unstable release version bump to 1.23.10 2024-08-21 17:52:24 +00:00
Aleksander Morgado 8ff4b3638f 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.
2024-08-21 17:04:38 +00:00
Aleksander Morgado e685479a6e build: reorder netprisma plugin alphabetically 2024-08-02 14:40:12 +00:00
Mank Wang d7dab1773d Netprisma: Add new plugin 2024-08-02 14:34:16 +00:00
Bolan Wang 388e8ea538 plugin,mtk: Add load_unlock_retries
This patch add load_unlock_retries support by AT in mtk-based Fibocom
modem.
2024-07-31 20:13:28 +00:00
Aleksander Morgado 14192af87e build: unstable release version bump to 1.23.9 2024-07-26 16:35:18 +00:00
Lubomir Rintel 26f36f79c9 build: bump libmbim dependency
Fibocom's MBIM support needs this:

  mm-port-mbim-fibocom.c: In function ‘iface_port_at_check_support’:
  mm-port-mbim-fibocom.c:64:66: error: ‘MBIM_SERVICE_FIBOCOM’ undeclared (first use in this function); did you mean ‘MBIM_SERVICE_GOOGLE’?
     64 |         if (!mm_port_mbim_supports_command (MM_PORT_MBIM (self), MBIM_SERVICE_FIBOCOM, MBIM_CID_FIBOCOM_AT_COMMAND)) {
        |                                                                  ^~~~~~~~~~~~~~~~~~~~
        |                                                                  MBIM_SERVICE_GOOGLE
  mm-port-mbim-fibocom.c:64:66: note: each undeclared identifier is reported only once for each function it appears in
  mm-port-mbim-fibocom.c:64:88: error: ‘MBIM_CID_FIBOCOM_AT_COMMAND’ undeclared (first use in this function)
     64 |         if (!mm_port_mbim_supports_command (MM_PORT_MBIM (self), MBIM_SERVICE_FIBOCOM, MBIM_CID_FIBOCOM_AT_COMMAND)) {
        |                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes: c66a6b89ec ('fibocom: create custom MBIM port object with potential AT support')
2024-07-09 14:49:22 +00:00
Aleksander Morgado 79ad16e32b build: unstable release version bump to 1.23.8 2024-06-14 09:16:08 +00:00
Aleksander Morgado 5ea26af0e4 rolling: new plugin
This plugin provides support for modems from Rolling Wireless. The
current approach is to re-use the AT-based and MBIM-based specific
modem implementations from the Fibocom plugin.

Based on an original implementation from:
vanillan wang <vanillanwang@163.com>

See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1170
2024-05-29 10:14:39 +00:00
Aleksander Morgado 800c2bb02a fibocom: MBIM in shared utils is optional 2024-05-29 09:50:05 +00:00
Aleksander Morgado 378d28118b build: unstable release version bump to 1.23.7 2024-05-13 11:29:21 +00:00
Aleksander Morgado c169b397cd build: unstable release version bump to 1.23.6 2024-04-22 08:09:52 +00:00
Nero 04d826f563 dispatcher-modem-setup: new modem setup dispatcher
There are cases where the user wants to configure some actions
to be run on a modem before ModemManager takes over full control.

The new "modem setup" dispatcher scripts allow running operations
in the modem after the port probing has happened and we know which
ports are usable in the device.

The scripts may e.g. change device configuration, enable modem
logging infrastructure, or any other process that would otherwise
conflict with MM's own modem management operations.
2024-04-16 12:14:45 +02:00
Aleksander Morgado b909922e26 build: unstable release version bump to 1.23.5 2024-03-22 13:45:56 +00:00
Aleksander Morgado 6a8797927c build: unstable release version bump tp 1.23.4 2024-02-19 14:58:32 +00:00
Yegor Yefremov a729a92e10 build: fix fs.copyfile usage for meson versions 0.64/0.64.1
Though this function was introduced in 0.64, its usage with install_dir
was broken till meson version 1.0.0. Hence, bump the minimal required
meson version for the fs.copyfile() routine.

See the following meson commit for details:
https://github.com/mesonbuild/meson/commit/100456de0761ee949e2277c97746cb8571b6ba39
2024-01-30 12:23:39 +01:00
Aleksander Morgado 9f4ee19601 build: unstable release version bump to 1.23.3 2024-01-29 10:41:02 +00:00
Yegor Yefremov 7c23c3db2f build: resolve deprecated 'copy' key argument in configure_file warning
Resolves the following warning:

NOTICE: Future-deprecated features used:
 * 0.64.0: {'copy arg in configure_file'}

copy arg was deprecated in meson version 0.64. Hence, use
fs.copyfile() that is also introduced in 0.64, in versions
since 0.64 and use the old approach for older versions.
2024-01-15 09:40:40 +00:00
Aleksander Morgado 88f9950182 build: unstable release version bump to 1.23.2 2023-12-13 10:55:29 +00:00
Aleksander Morgado 11a1720daf mtk: add FM350 specific MBIM implementation
Including logic to set low power mode during an EPS initial bearer
settings update.
2023-11-06 15:11:38 +00:00
Aleksander Morgado 29f8154ef7 build: unstable release version bump to 1.23.1 2023-10-31 13:51:30 +00:00
ming-pei.hsu eb776be926 mtk: add mtk plugin which support mbim interface
Add MTK plugin for mtk_t7xx platform which support MBIM interface.
2023-10-30 10:03:53 +00:00
ming-pei.hsu 4fdda13c4e mtk: rename for old mtk plugin
Use mtk-legacy to instead mtk plugin.
2023-10-11 13:27:31 +00:00
Aleksander Morgado bc7eda356b build: post-release version bump to 1.23.0 2023-10-11 12:45:04 +00:00
Aleksander Morgado 03f786ce66 release: bump version to 1.22.0
Require libmbim 1.30.0 and libqmi 1.34.0.
2023-10-11 12:32:44 +00:00
Aleksander Morgado aa7ab917f7 build: bump version to 1.21.900 (1.22-rc1) 2023-09-27 11:26:32 +00:00
Aleksander Morgado 639900ed36 build: unstable release version bump to 1.21.8 2023-08-07 05:01:31 +00:00
Aleksander Morgado 0724f45731 build: require udevdir if udev support is disabled
We cannot guess the udevdir path from the pkgconfig variable if there
is no udev support in the system, so explicitly fail.

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/750
2023-07-13 10:22:05 +00:00
Aleksander Morgado 97c32d6e51 build: unstable release version bump to 1.21.7 2023-06-06 13:27:12 +00:00
Aleksander Morgado 2455981ad6 build: unstable release version bump to 1.21.6 2023-05-03 19:59:37 +00:00
Aleksander Morgado f922a6be2d broadband-modem-mbim: ensure cached state info is reseted on disable
So that it is reloaded fresh once re-enabled, otherwise we may be
using stale state values that are not in sync with the state reported
in the interface skeletons.
2023-05-03 12:38:43 +00:00
Aleksander Morgado efcfce02a9 build-aux,mkenums: import custom mkenums tool from libqmi/libmbim
We're going to use certain new features included in the custom tool.
2023-04-27 12:23:04 +00:00
Lubomir Rintel 42048cb2fc build: align GLIB_VERSION_MIN_REQUIRED with glib version we actually require
Now that we've dealt with everything that has been deprecated since
glib-2.44 until glib-2.56 (which we check), we can enable warnings that
guard against using the deprecated constructs.
2023-04-11 13:49:03 +00:00
Aleksander Morgado c61a7db1b6 helpers-qmi: support new personalization feature status type
The personalization feature enum used in "card status" is different to
the one used in other UIM operations like "depersonalization".

libqmi dependency updated to 1.33.6 to ensure we can use the new types.
2023-04-11 09:44:47 +00:00
Aleksander Morgado 3aefc983b5 sms-part-3gpp|cdma: new fuzzer tests 2023-03-30 13:19:30 +00:00
Aleksander Morgado 70c8fe1fef build: unstable release version bump to 1.21.5 2023-03-24 13:14:10 +00:00
Aleksander Morgado 5cda24111b build: unstable release version bump to 1.21.4 2023-02-23 11:09:48 +00:00
Alyssa Ross 7cd28955a0 build: allow installing examples to be disabled
In Nixpkgs, sysconfdir is not writeable in the sandbox in which
packages are built, so it's important for us to be able to disable
installing example files.  (We create configuration files and install
them into /etc separately through our "module system".)

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2023-02-12 17:35:20 +00:00
Oliver Kästner 652a562aeb qmi: implement GetCellInfo for LTE, NR 2023-02-03 10:23:44 +00:00
Aleksander Morgado 664c95c684 build: unstable release version bump to 1.21.3 2023-01-27 14:57:54 +00:00
Lubomir Rintel 3b56efed0b build: enable GLib deprecation warnings
These were disabled to avoid a large spew of deprecation warnings post
GLib 2.44. That might have been too big a hammer, because it made us
miss us of API from newer GLib than we require.

Let's re-enable the warnings and lower the bottom bound instead.
That way we're get warned about use of API that's too new and also be
warned about things that was deprecated long long ago. We may miss
things that got deprecated in favor of better API after 2.44, but that's
unlikely to be an issue and is definitely better than ignoring
everything altogether.
2023-01-18 10:51:40 +00:00
Aleksander Morgado 1c4da332ee build: new option to build plugins within the daemon binary
Instead of creating libmm-plugin* and libmm-shared* libraries that are
dlopen()-ed on runtime, allow incorporating all plugins into the
daemon binary itself.

This makes the startup of the daemon much faster and also avoids
issues with builds that require linker namespace isolation.

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/674
2023-01-03 13:56:25 +00:00
Aleksander Morgado e14b904cbd build: move plugins directory to src/plugins
We are going to allow including the plugin sources built within the
ModemManager daemon binary; moving the sources within the daemon
sources directory makes it easier.
2023-01-03 13:56:25 +00:00
Aleksander Morgado 2a1851536c build: unstable release version bump to 1.21.2 2022-12-14 09:20:55 +00:00
Aleksander Morgado 0d6651aeb6 broadband-modem-mbim: print MbimSmsStatusFlag as flags string
This requires bumping libmbim to 1.29.2, which is the version
including the enum->flags change.
2022-12-06 12:46:28 +00:00
Aleksander Morgado cb1fb00d41 build: require libqmi 1.33.2
For the WCDMA RSCP TLV support.
2022-11-22 11:04:01 +00:00
Aleksander Morgado da78eb4bd4 build: unstable release version bump to 1.21.1 2022-11-11 12:10:09 +00:00
Aleksander Morgado 8142d7bc53 build: intel plugin depends on the XMM shared utils 2022-11-07 14:25:34 +00:00