aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-10build,meson: Fix suspend/resume optionIñigo Martínez
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.
2021-09-10build,meson: Fix libsystemd checkIñigo Martínez
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.
2021-09-10build,meson: Improve libqcdm buildIñigo Martínez
`libqcdm`'s meson build files have been improved slightly by removing unnecessary variables shortening their contents.
2021-09-10build,meson: Make use of feature option for introspectionIñigo Martínez
2021-09-10build,meson: Remove unnecessary variablesIñigo Martínez
2021-09-10build,meson: Improve plugins option setIñigo Martínez
Improved the way the plugins are set to allow a smaller summary.
2021-09-10build,meson: Make use of the summary functionIñigo Martínez
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
2021-09-10core: remove execution bit from file modes in source filesAleksander Morgado
2021-09-09build: post-release version bump to 1.19.0Aleksander Morgado
2021-09-08release: bump to 1.18.0Aleksander Morgado
2021-09-08NEWS: update for 1.18 with changes since rc1Aleksander Morgado
2021-09-08build: require libqmi 1.30.2Aleksander Morgado
We need the new "Get All Call Info" request support.
2021-09-08build,meson: add sms-c examples to buildAleksander Morgado
2021-09-08examples: new SMS sending example in C using the async APIAleksander Morgado
2021-09-08examples: new SMS sending example in C using the sync APIAleksander Morgado
2021-09-08broadband-modem-qmi: don't error out on empty call listAleksander Morgado
Only error out if the required TLVs are missing.
2021-09-08iface-modem-voice: avoid warning with -Wincompatible-pointer-typesAleksander Morgado
../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 *)’}
2021-09-08broadband-modem-qmi: refactor process_get_all_call_info() to avoid handling ↵Aleksander Morgado
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.
2021-09-08mm-broadband-modem-qmi: add AT URCs fall back for callsDylan Van Assche
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.
2021-09-08mm-modem-helpers: only parse calls in voice modeDylan Van Assche
Calls in a CLCC response in data-only or fax-only mode do not count as actuall calls.
2021-09-07build,meson: add missing Call object support in introspectionAleksander Morgado
2021-09-07build,autotools: add missing Call object support in introspectionAleksander Morgado
2021-09-07test,lsudev: add attribute format to println()Aleksander Morgado
../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); | ^~~~~~~~~~~~~~~~~~~~~~~
2021-09-07libmm-glib,location-3gpp: remove unused variableAleksander Morgado
../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; | ^~~~~~~~~~~~~
2021-09-07libmm-glib,3gpp-profile: fix profile comparison logicAleksander Morgado
Conveniently warned by the compiler... ../libmm-glib/mm-3gpp-profile.c: In function ‘mm_3gpp_profile_cmp’: ../libmm-glib/mm-3gpp-profile.c:98:1: warning: control reaches end of non-void function [-Wreturn-type] 98 | } | ^
2021-09-07libmm-glib,simple-status: avoid shadowing 'properties' variableAleksander Morgado
../libmm-glib/mm-simple-status.c: In function ‘mm_simple_status_new_from_dictionary’: ../libmm-glib/mm-simple-status.c:426:21: warning: declaration of ‘properties’ shadows a global declaration [-Wshadow] 426 | MMSimpleStatus *properties; | ^~~~~~~~~~ ../libmm-glib/mm-simple-status.c:55:20: note: shadowed declaration is here 55 | static GParamSpec *properties[PROP_LAST]; | ^~~~~~~~~~
2021-09-07libmm-glib,manager: fix warning with -Wdiscarded-qualifiersAleksander Morgado
In file included from /usr/include/glib-2.0/glib.h:50, from ../libmm-glib/mm-common-helpers.h:18, from ../libmm-glib/mm-manager.c:27: /usr/include/glib-2.0/glib/ghash.h:68:61: note: expected ‘gpointer’ {aka ‘void *’} but argument is of type ‘const char *’ 68 | gpointer key, | ~~~~~~~~~~~~~~~~^~~ ../libmm-glib/mm-manager.c:81:43: warning: passing argument 2 of ‘g_hash_table_insert’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | g_hash_table_insert (lookup_hash, "org.freedesktop.ModemManager1.Modem.Simple", GSIZE_TO_POINTER (MM_TYPE_MODEM_SIMPLE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:50, from ../libmm-glib/mm-common-helpers.h:18, from ../libmm-glib/mm-manager.c:27:
2021-09-07build,meson: fix wrong install of simtech port types on thuraya pluginAleksander Morgado
2021-09-07build,meson: ignore warnings for missing field initializersAleksander Morgado
We would usually explicitly skip initializing fields that are going to be zero-ed anyway.
2021-09-07build,meson: disable float comparison warningsAleksander Morgado
We have several symbols defined as floating point numbers that identify "unknown" values, e.g. MM_LOCATION_LONGITUDE_UNKNOWN. We want to be able to compare with those values directly, even if they're floats.
2021-09-07meson: introspection support enabled by defaultAleksander Morgado
2021-09-07build: Port to mesonIñigo Martínez
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.
2021-09-01cli, location: Fix multi-sentence NMEA message outputTeemu Ikonen
Multi-sentence NMEA messages were printed as is, that is with linebreaks, which made mmcli --location-get output look broken. Split NMEA sentences with linebreaks to separate output list items, so that they line up correctly.
2021-08-31build: use WITH_QRTR exclusively to check for QRTR supportAleksander Morgado
The user may request to disable QRTR support using `--without-qrtr` even if libqmi has QRTR support.
2021-08-30location-gps-nmea: Fix handling of multi-sentence NMEA messagesTeemu Ikonen
Fixes the regexp in check_append_or_replace() to accept 1. more multi-sentence NMEA messages (ALM, GSV, RTE, SFI) 2. multi-sentence NMEA messages from all talkers, not just GPS (i.e. GPGSV, GLGSV, GAGSV etc.)
2021-08-27broadband-modem-mbim: Fix password on initial EPS bearer settingsAndrew Lassalle
Currently, we are sending the username twice instead of username and password. Fix the password value.
2021-08-10AUTHORS: update for 1.18.0Aleksander Morgado
2021-08-09NEWS: fix required libmbim version in 1.18Aleksander Morgado
2021-08-09build: bump version to 1.17.900 (1.18-rc1)Aleksander Morgado
2021-08-09NEWS: update for 1.18.0Aleksander Morgado
2021-08-09api: remove Modem.Sar interfaceAleksander Morgado
There is no real implementation for it yet, so let's recover these changes once 1.18 has been released.
2021-08-09build: require libqmi 1.30.0Aleksander Morgado
2021-08-09build: require libmbim 1.26.0Aleksander Morgado
2021-08-09port-qmi: limit MTU to max RMNET packet sizeAleksander Morgado
The maximum MTU that the master interface can support should be less or equal than RMNET_MAX_PACKET_SIZE, as defined in the `rmnet_private.h` file in the linux sources (not a public header). Only applicable to RMNET link management (i.e. not to qmi_wwan add_mux/del_mux). Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/71
2021-08-09port-qmi: only consider port setup not needed if data modes matchAleksander Morgado
When not requesting multiplexing support, only assume we don't need any additional setup if multiplexing is disabled AND if the data modes match between kernel and device. This fixes the connection setup in MSM8916 (rpmsg+bam/dmux).
2021-08-09core: new '--test-multiplex-requested' optionAleksander Morgado
The new option will change the default setting in MBIM and QMI bearers to "request" when no explicit "multiplex" configuration is given by the user. This option will help test the multiplexing support in the modems before it's made a default in a future release.
2021-08-09bearer-qmi: don't enable multiplexing by default unless in IPAAleksander Morgado
The next 1.18 release will have multiplexing support, but not enabled by default, to avoid breaking setups that don't expect the new virtual net interfaces for the multiplexed sessions. The exception is Qualcomm SoCs using the IPA driver, where multiplexing is fully required.
2021-08-09bearer-mbim: don't enable multiplexing by defaultAleksander Morgado
The next 1.18 release will have multiplexing support, but not enabled by default, to avoid breaking setups that don't expect the new virtual net interfaces for the multiplexed sessions.
2021-08-09broadband-bearer: default to 'none' if no multiplexing config providedAleksander Morgado
2021-08-09base-bearer: remove default multiplex support symbolAleksander Morgado
Using "requested" as a common default for every possible implementation works, because it can handle setups without multiplexing capabilities (e.g. plain AT+PPP modems) and also setups without non-multiplexing capabilities (e.g. IPA based SoCs). But if we don't want "requested" as default, then there will be failing cases; e.g. we cannot use "none" as default for all as it would break IPA, and we cannot use "required" as default for all as it would break AT+PPP setups. So, remove the common default, it's not flexible enough.