| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Fix the following g_object_unref failed assertion:
ModemManager[385967]: <debug> [1632924639.132023] [modem0/ttyUSB2/at] --> 'AT+CSIM=1<CR>'
ModemManager[385967]: <debug> [1632924639.144892] [modem0/ttyUSB2/at] <-- '<CR><LF>ERROR<CR><LF>'
ModemManager[385967]: <debug> [1632924639.145021] [modem0/ttyUSB2/at] operation failure: 100 (Unknown error)
(ModemManager:385967): GLib-GObject-CRITICAL **: 16:10:39.145: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
|
|
|
|
|
|
|
|
|
|
|
|
| |
The timeout for sms send operation can exceed the current value, so
increase it to 5 minutes. Timeouts up to 4 minutes have been observed
in the following test scenario:
* Power up the modem and wait for registration.
* Right when the modem is registered, attenuate the rf signal
or remove the antenna.
* Immediately try to send an sms.
Increasing the timeout cover this corner case.
|
| |
|
|
|
|
|
|
|
| |
According to MBIM specification, the subscriber state is INITIALIZED
when SIM card is incompatible with enabled modem personalization lock.
This patch introduce additional check for enabled PIN lock in such case
and fixes depersonalization of one lock if several are enabled.
|
| |
|
|
|
|
|
| |
Initialize the scheme variable to QMI_VOICE_USS_DATA_CODING_SCHEME_UNKNOWN
to avoid the warning.
|
|
|
|
|
| |
Don't close the UICC channel only when the EID was successfully
load. If for any reason it failed, also close the channel.
|
| |
|
|
|
|
|
| |
Support is added to set eid dbus interface property using
MBIM protocol when the inserted sim is esim.
|
|
|
|
| |
Use G_GUINT64_FORMAT to properly format a guint64 type.
|
|
|
|
|
|
|
|
|
| |
As people are running distros like Debian, Archlinux, Fedora, etc., on
laptops powered by Qualcomm Snapdragon SoCs, e.g. Lenovo Yoga C630, it
makes sense to enable qcom-soc plugin by default, so that MM aarch64
package can be built by those distros more easily.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The system template is updated to add new packages required at build
time:
* libdbus-1-dev is added so that we can autodetect the service
directory path via the installed pkg-config file.
* udev is added so that we can autodetect the udev rules directory
path via the installed pkg-config file.
* policykit-1 is added so that the i18n operation merging policy
files is able to use the installed ITS files.
* bash-completion is added to enable the feature in the meson build.
The 'dist' step in the test is fully skipped for now, as the meson
port doesn't fully support running all unit tests successfully.
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit 09a5052a777c858b83baf9444306775ed5c50300.
This commit breaks the default disabling of the qcom-soc plugin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We will end up exporting what we shouldn't:
$ abidiff /tmp/autotools/lib/ModemManager/libmm-shared-icera.so /tmp/meson/lib/ModemManager/libmm-shared-icera.so
Functions changes summary: 0 Removed, 0 Changed (3 filtered out), 8 Added functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
8 Added functions:
[A] 'function const gchar* mm_bearer_connection_status_get_string(MMBearerConnectionStatus)' {mm_bearer_connection_status_get_string}
[A] 'function GType mm_bearer_connection_status_get_type()' {mm_bearer_connection_status_get_type}
[A] 'function const gchar* mm_bearer_status_get_string(MMBearerStatus)' {mm_bearer_status_get_string}
[A] 'function GType mm_bearer_status_get_type()' {mm_bearer_status_get_type}
[A] 'function gchar* mm_filter_rule_build_string_from_mask(MMFilterRule)' {mm_filter_rule_build_string_from_mask}
[A] 'function GType mm_filter_rule_get_type()' {mm_filter_rule_get_type}
[A] 'function gchar* mm_port_probe_flag_build_string_from_mask(MMPortProbeFlag)' {mm_port_probe_flag_build_string_from_mask}
[A] 'function GType mm_port_probe_flag_get_type()' {mm_port_probe_flag_get_type}
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building shared utils modules or plugins, we should not link with
the static libraries built under src/, because that would mean we're
including their symbols as exported by the modules, and it'll break in
runtime.
Instead, just define the correct set of 'include_directories' to be
used in each plugin.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/436
|
|
|
|
|
| |
So that we don't confuse the plugin-specific libhelpers with the core
libhelpers built in src/.
|
|
|
|
|
|
|
| |
Reported and fix suggested by:
Frederic Martinsons <frederic.martinsons@sigfox.com>
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/438
|
|
|
|
| |
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/433
|
|
|
|
|
| |
`libmbim`, `libqmi` and `libqrtr-glib` have started using `feature`
options in their meson builds.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 686e37ff84daca6096fe18781ad9ba6f29cd4063.
|
|
|
|
|
|
|
|
| |
To avoid those cases where a plugin does not need a helper library
an empty array is created.
However, when a helper library has to be built, it is not necessary
to include the created static library in an array.
|
|
|
|
|
|
|
|
| |
`libmm-test-common` is created using underscores. It also uses
`gio-unix-2.0` as a public dependency but actually it should be
private.
Both issues have been fixed.
|
|
|
|
|
|
|
|
|
| |
The suspend/resume option does not build properly if journal option
is disabled. This is beacause the journal option is check to add
suspend/resume code.
It has been fixed by replacing journal option check by the
suspend/resume option.
|
|
|
|
|
|
|
|
| |
At the moment `libsystemd` is check even if `suspend/resume` and
systemd support are not enabled.
This has been changed so `libsystemd` is checked only if any or both
options are enabled.
|
|
|
|
|
| |
`libqcdm`'s meson build files have been improved slightly by
removing unnecessary variables shortening their contents.
|
| |
|
| |
|
|
|
|
| |
Improved the way the plugins are set to allow a smaller summary.
|
|
|
|
|
|
|
|
|
| |
Since meson 0.53 it has added a new function to summarize the build
configuration[0].
We changed the summary to make use of it.
[0] https://mesonbuild.com/Release-notes-for-0-53-0.html#add-a-new-summary-function
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
We need the new "Get All Call Info" request support.
|
| |
|
| |
|
| |
|
|
|
|
| |
Only error out if the required TLVs are missing.
|
|
|
|
|
|
|
|
|
|
| |
../src/mm-iface-modem-voice.c: In function ‘mm_iface_modem_voice_reload_all_calls’:
../src/mm-iface-modem-voice.c:2549:64: warning: passing argument 2 of ‘((MMIfaceModemVoice *)g_type_interface_peek((void *)((GTypeInstance *)self)->g_class, mm_iface_modem_voice_get_type()))->load_call_list’ from incompatible pointer type [-Wincompatible-pointer-types]
2549 | reload_all_calls_ready,
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| void (*)(MMIfaceModemVoice *, GAsyncResult *, GTask *) {aka void (*)(struct _MMIfaceModemVoice *, struct _GAsyncResult *, struct _GTask *)}
../src/mm-iface-modem-voice.c:2549:64: note: expected ‘GAsyncReadyCallback’ {aka ‘void (*)(struct _GObject *, struct _GAsyncResult *, void *)’} but argument is of type ‘void (*)(MMIfaceModemVoice *, GAsyncResult *, GTask *)’ {aka ‘void (*)(struct _MMIfaceModemVoice *, struct _GAsyncResult *, struct _GTask *)’}
|
|
|
|
|
|
|
|
|
|
|
|
| |
the GTask
The process_get_all_call_info() was not completing the input GTask on
every possible code path (e.g. when remote party number or call info
wasn't available).
The method is now updated to avoid processing the GTask itself,
instead it will attempt to build the call list and return a GError on
any kind of failure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable AT URCs for calls on top of QMI Voice indications
for AT+QMI devices only. Some AT+QMI devices send unreliable
QMI indications when the host is resuming. In such cases,
AT URCs can be used as a fall back to make calls reliable.
While AT+QMI devices relied before on AT commands to load
call list information and handle AT URCs for async updates,
this is now handled through QMI by forcefully reloading the
call list instead of processing the AT URCs.
This approach is disabled by default through the
MM_IFACE_MODEM_VOICE_INDICATION_CALL_LIST_RELOAD_ENABLED property.
This property is set to true in case of QMI modems.
|
|
|
|
|
| |
Calls in a CLCC response in data-only or fax-only mode
do not count as actuall calls.
|
| |
|
| |
|
|
|
|
|
|
|
| |
../test/lsudev.c: In function ‘println’:
../test/lsudev.c:68:5: warning: function ‘println’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
68 | g_string_append_vprintf (output, fmt, args);
| ^~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
| |
../libmm-glib/mm-location-3gpp.c: In function ‘mm_location_3gpp_new_from_string_variant’:
../libmm-glib/mm-location-3gpp.c:400:16: warning: unused variable ‘operator_code’ [-Wunused-variable]
400 | gchar *operator_code;
| ^~~~~~~~~~~~~
|