Commit Graph

74 Commits

Author SHA1 Message Date
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
Aleksander Morgado
634f6cbcbc build: disable Test interface in base manager if building without tests
There is no real need for this interface if tests are not being built.
2022-11-07 14:25:34 +00:00
Aleksander Morgado
30d77d378a build: fix building without MBIM support
The foxconn shared utils are only built when MBIM is enabled, and
therefore the dell and foxconn plugins should only expect those shared
utils to be present if MBIM is enabled. The foxconn plugin will be
fully disabled when MBIM is disabled.

The fibocom shared utils are only built when MBIM is enabled, and
therefore the fibocom plugin should not expect them built
unconditionally, they will only be present if MBIM is enabled
2022-11-07 14:25:34 +00:00
Evangelos Ribeiro Tzaras
c7afdc5375 build: Warn about potentially uninitialized variables 2022-11-01 13:16:11 +01:00
Aleksander Morgado
82fd4a4bbc build: post-release version bump to 1.21.0 2022-10-27 20:14:41 +00:00
Aleksander Morgado
d4fcb2a57c release: bump version to 1.20.0 2022-10-27 20:03:33 +00:00
Aleksander Morgado
6711cdbbf5 build: require libqmi 1.32.0 and libmbim 1.28.0 2022-10-26 13:27:00 +00:00
Aleksander Morgado
ec28c85a6a build: bump version to 1.19.900 (1.20-rc1) 2022-10-19 11:25:33 +00:00
Aleksander Morgado
9fbeb3348e build: require libmbim 1.27.9 for the MBIM UICC file read support 2022-09-07 20:40:38 +00:00
Akash Aggarwal
b9173176c2 mm-log: hiding personal info while logging for QMI modem 2022-08-25 17:19:57 +02:00
Daniele Palmas
15b031ce6d bearer-mbim: enable multiplex support for wwan devices 2022-08-11 09:48:38 +02:00
Dylan Van Assche
ba96ccc615 build: make tests optional
Add a meson option -Dtests and --without-tests automake option
to disable the compilation of all available testcases.
This is useful for compiling projects with Flatpak such as
GNOME Control Center which disables all possible integrations since they
only need the DBus part of ModemManager.

Contributes to https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1392
2022-07-25 11:01:51 +02:00
Dylan Van Assche
efb497e2e6 mm-call-qmi: implement DTMF support
Overwrite the base class with a QMI implementation
to send DTMF characters during a call. Uses the continuous DTMF
QMI messages to support both CDMA and 3GPP networks.
2022-07-16 13:33:29 +00:00
Aleksander Morgado
1f2bea9184 port-mbim: monitor consecutive timeouts 2022-06-30 11:15:04 +02:00
Aleksander Morgado
7a3cbfec64 port-qmi: monitor consecutive timeouts 2022-06-30 11:15:04 +02:00
Aleksander Morgado
db33a43b45 build,meson: require libqmi 1.31.7, in sync with autotools
The required libqmi version was updated in configure.ac to 1.31.7 in
commit ac06052b97, but we forgot to do
the same in the meson setup.
2022-06-24 12:25:51 +02:00
Rukun Mao
3da84c2079 suspend: add suspend/resume support with powerd on ChromeOS
ModemManager handles suspend and resume signals sent from powerd

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/547
2022-06-09 08:32:13 +00:00
Aleksander Morgado
9735437061 bearer-qmi: use the new QmiWdRequestedSettings enum type
And bump libqmi to 1.31.5, which is the version introducing the rename.
2022-04-27 11:53:13 +02:00
som
1e08f9ca2c mm-log: hiding personal info while logging
During mm logging, some of the information like simIccId, Telephone
numbers need to be hidden from displaying in the logs to protect
some of the user information.

Implemented for MBIM requiring libmbim 1.27.6, which is the
development version that includes the needed API.
2022-04-20 15:20:34 +02:00
Aleksander Morgado
7960b365d5 data: add example connection dispatcher
Just a minimal example that prints the events in syslog
2022-04-05 08:14:53 +00:00
Aleksander Morgado
99232154b3 build: rename directory where fcc unlocks are kept 2022-04-05 08:14:53 +00:00
Aleksander Morgado
8d0d90a6dd build: require libqmi 1.31.4 for FOX service support 2022-03-28 08:06:10 +00:00
Iñigo Martínez
0bc0831b22 build,meson: Fix udev rules and keyfiles tests
The port to the meson build system a set of defines were lost, that
made the udev rules and the keyfiles tests to not run properly.

This has been changed so defines are now in their proper place and
tests are run properly.

Fixes #537
2022-03-27 00:02:23 +01:00
Aleksander Morgado
c74a377f98 fibocom: new shared interface for common logic
The set_initial_eps_bearer_settings() operation is the same in XMM
capable and generic MBIM modem objects. Place it in a common shared
interface so that we don't duplicate code.
2022-03-09 22:05:32 +00:00
som
40c791e293 intel: new plugin for PCI devices with vendor id 0x8086
For now, just detecting the device and creating generic MBIM or AT
based modems.
2022-03-07 09:51:43 +00:00
Aleksander Morgado
cfbbbdfbaa build: require libqmi 1.31.3
In order to use the new methods that avoid intermediate structs like
QmiConfigTypeAndId.
2022-02-28 21:54:24 +01:00
Aleksander Morgado
683270f403 build: version bump to flag existence of new API (sahara fw update) 2022-01-31 14:21:15 +01:00