summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-11-03swi-update: avoid using 'sanity'HEADmasterAleksander Morgado1-1/+1
2021-11-03qmi-firmware-update: replace 'dummy' with 'placeholder'Aleksander Morgado1-1/+1
2021-11-03qmicli,uim: replace 'dummy' with 'placeholder'Aleksander Morgado1-40/+40
2021-11-03build: add an option to not build man pagesAleksander Morgado2-1/+8
When cross-compiling, the compiled binaries cannot be run on the build machine, unless one defines a helper (e.g. qemu) in the meson configuration, which is most of the time undesirable. If help2man is installed on the build machine, then the build would fail because of this, so add an option to disable generating the man pages. With later versions of meson, it will be possible to automatically detect this condition. Based on the same fix done in libmbim by Nicolas Cavallari, see https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/commit/792af73ea90e9689703ab526dd444fdb1c2f8e40 Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/75
2021-10-26build: Fix double quotes in rules fileIñigo Martínez1-1/+1
`QMI_USERNAME` is quoted twice in the `76-qmi-proxy-device-ownership.rules` rules file. This is because the definition is used in two files. The first one is `config.h` file, that is used in source code files and needs to be explicitly quoted. The second one is the rules file, mentioned above that already has quotes in the template file. The explicit quotes have been removed in the rules file generation.
2021-10-21collection,basic: Add QMI_MESSAGE_WDS_SET_LTE_ATTACH_PDN_LIST to basic ↵Andrew Lassalle1-0/+1
collection
2021-10-14libqmi-glib,rmnet: per flag symbol safeguardsAleksander Morgado1-8/+29
We may have systems that define IFLA_RMNET_MAX, but don't have all known flags (e.g. the QMAPV5 ones are newer).
2021-10-14qmi-device: add QMAPv5 link creation flagsSean Tranchetti3-0/+13
Allows use of the QMAPv5 checksum offload format for both TX and RX paths.
2021-10-14build: Remove the unnecessary check to enable rmnetIñigo Martínez1-6/+1
At the moment, to enable rmnet the `ifla_rmnet_flags` struct is checked in `if_link.h` header. However, this is not necessary because `libqmi` already includes the `if_link_rmnet.h` header. The unnecessary check has been removed. Refs !292
2021-10-11build: version bump to flag existence of new API (QMI_DMS_RADIO_INTERFACE_TDS)Aleksander Morgado1-1/+1
2021-10-07qmi-firmware-update: use defaults if FLASH variables not reportedAleksander Morgado1-26/+20
Also, skip validating fields like 'num_partition_sectors' or 'total_sector_size_in_bytes' which are nowhere used. This enables the firmware upgrade operation on the EM9191. Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/70
2021-10-06libqmi-glib: add DMS radio interface TDS valueDaniele Palmas1-0/+2
Fix the following issue with dms-get-capabilities $ sudo qmicli -d /dev/cdc-wdm0 --dms-get-capabilities (qmicli:91960): GLib-CRITICAL **: 13:13:40.755: g_string_insert_len: assertion 'len == 0 || val != NULL' failed [/dev/cdc-wdm0] Device capabilities retrieved: Max TX channel rate: '50000000' Max RX channel rate: '100000000' Data Service: 'non-simultaneous-cs-ps' SIM: 'supported' Networks: 'cdma20001x, evdo, gsm, umts, lte, , 5gnr'
2021-10-06qmicli,gms: Remove duplicate memory freeAna Cabral1-1/+0
2021-10-03ci: bump image template to refresh CA certificatesAleksander Morgado1-1/+1
At the end of September 2021, Let's Encrypt's DST Root CA X3 certificate expired, and the new ISRG Root X1 took over. Update the CI template so that the new certificate is available and we can keep on cloning the libmbim/libqmi/libqrtr-glib repos without failures.
2021-09-13build: use python3 everywheregoapunk2-2/+2
2021-09-13ci: rename tests without meson prefixAleksander Morgado1-9/+9
2021-09-13ci: add dist and uninstall steps in release buildAleksander Morgado1-0/+2
2021-09-13ci: change default build test to release onlyAleksander Morgado1-31/+27
2021-09-13ci: Use feature values for libmbim and libqrtr-glibIñigo Martínez1-8/+8
Both `libmbim` and `libqrtr-glib` have started using `feature` options in their meson builds. The CI options when building `libmbim` and `libqrtr-glib` have been updated to use `feature` option values.
2021-09-13build: Add explicit content files to documentationIñigo Martínez1-0/+1
Although not totally necessary due to its implementation, some files built by meson are included as content files. They have been explicitly added for the sake of correctness.
2021-09-13build: Use install_dir instead of subdirIñigo Martínez1-1/+1
`install_header` allows the use of the `subdir` parameter that points to the subdirectory in the `includedir` directory. However, to maintain consistency, this has been changed to use the `install_dir` parameter.
2021-09-13build: Use dictionary based argumentsIñigo Martínez2-20/+19
Since meson 0.49, a new argument called `kwargs` can be used to pass a dictionary to specify different parameters[0]. This feature has been used to make test builds more readable. [0] https://mesonbuild.com/Release-notes-for-0-49-0.html#can-specify-keyword-arguments-with-a-dictionary
2021-09-13build: Use strings for include_directoriesIñigo Martínez2-3/+3
Since meson 0.50, `include_directories` also include strings[0]. This feature is used to improve slightly build files. [0] https://mesonbuild.com/Release-notes-for-0-50-0.html#include_directories-accepts-a-string
2021-09-13build: Use the install_mode optionIñigo Martínez3-18/+1
Since meson 0.47, `install_mode` option can be used to set a given set of rights to any target. This feature has been used to set `qmi-network` rights instead of using a post install script. [0] https://mesonbuild.com/Release-notes-for-0-47-0.html#install_mode-keyword-argument-extended-to-all-installable-targets
2021-09-13build: Improve mm_runtime_check optionIñigo Martínez1-2/+1
The option is only used to set the `MM_RUNTIME_CHECK_ENABLED` define so there is no need to have a variable for it. The option is used directly and the linked variable has been removed.
2021-09-13build: Make use of features build optionIñigo Martínez7-48/+34
Since meson 0.47, there is support for features build options[0] that can be enabled automatically if the system has the required support. This feature has been used for some options that fit properly for their needs. The setup of the CI builds have also been apropiately updated. [0] https://mesonbuild.com/Release-notes-for-0-47-0.html#new-type-of-build-option-for-features
2021-09-13build: Create a variable for the project nameIñigo Martínez2-6/+7
A new variable called `qmi_name` has been created to avoid the call to a function inside the meson object.
2021-09-13build: Remove unnecessary MALLOC_PERTURB_ variable setIñigo Martínez1-3/+0
meson's test function already sets the `MALLOC_PERTURB_` environment variable[0], so there is no need to set it. [0] https://mesonbuild.com/Reference-manual.html#test
2021-09-13build: Make use of dictionariesIñigo Martínez5-18/+26
meson gained the dictionaries as builtin objects[0] that can be modified with the addition operator[1] and can be useful when setting configuration or even environment values[2]. The individual object creation has been replaced by dictionaries when possible. [0] http://mesonbuild.com/Release-notes-for-0-47-0.html#new-builtin-object-type-dictionary [1] https://mesonbuild.com/Release-notes-for-0-48-0.html#dictionary-addition [2] https://mesonbuild.com/Release-notes-for-0-52-0.html#support-taking-environment-values-from-a-dictionary
2021-09-13build: Use the if_found featureIñigo Martínez1-3/+1
meson is able to process or discard a directory based on a dependency object based on if it is found or not[0]. The `man` directory depends on the `help2man` program so it has been changed to take advantage of this feature. [0] https://mesonbuild.com/Release-notes-for-0-44-0.html#added-if_found-to-subdir
2021-09-13build: Use / instead of join_pathsIñigo Martínez7-29/+29
Since meson 0.49, the `/` character can be used to join paths[0], so all the instances of `join_paths` have been replaced. [0] http://mesonbuild.com/Release-notes-for-0-49-0.html#joining-paths-with-
2021-09-13build: Make use of the summary functionIñigo Martínez1-17/+20
Since meson 0.53, it has added a new function to summarize the build configuration[0]. The summary has been changed to make use of it. meson version has been bumped to 0.53. [0] https://mesonbuild.com/Release-notes-for-0-53-0.html#add-a-new-summary-function
2021-09-13build: Use the newer python moduleIñigo Martínez2-7/+7
Since 0.48 version of meson, there is a new generic `python` module and the previous `python3` module has been deprecated[0]. The use of the `python3` module has been replaced by this new `python` module. meson version has been bumped to 0.48. CI has also been updated to have this meson version available. [0] https://mesonbuild.com/Release-notes-for-0-48-0.html#python3-module-is-deprecated
2021-09-07build: Rename qmicli completion fileIñigo Martínez4-9/+1
The qmimcli `bash-completion` file has the `-completion` suffix as it can be overriden by the generated qmimcli binary file. However, meson builds the binary field in a different build directory so there is no need to have it renamed.
2021-09-06libqmi-glib,voice: "Get All Call Status" already in 1.30.2Aleksander Morgado2-3/+7
(cherry picked from commit dd7e62960f70ef4e32a379af8c8fb984b0832d20)
2021-09-06ci: updated introspection testsAleksander Morgado1-5/+26
2021-09-02voice: remove trailing whitespaces in JSON databaseAleksander Morgado1-4/+5
2021-09-02voice: add Get All Call StatusDylan Van Assche3-1/+55
Equivalent of AT+CLCC to retrieve information about all current calls
2021-08-06ci: switch to build libqrtr-glib from git using mesonAleksander Morgado1-16/+12
2021-08-06ci: new build check without introspectionAleksander Morgado1-0/+22
We should be able to build with QRTR support but without introspection support.
2021-08-06build,meson: fix introspection optionAleksander Morgado1-1/+4
Using -Dintrospection=false would actually not disable it. There is no longer an "auto" option for the introspection support, it will be either enabled or disabled depending on what the user asks for (default enabled).
2021-08-05build: Remove autotoolsIñigo Martínez41-3396/+0
To avoid the burden of maintaining multiple build systems, autotools support has been removed.
2021-08-05ci: Remove autotools buildsIñigo Martínez1-222/+0
In order to allow the removal of autotools, all related builds have been removed.
2021-08-05docs,pdc: add docs for PDC RefreshEric Caruso2-0/+10
2021-08-05qmicli,pdc: add --pdc-monitor-refresh commandEric Caruso1-1/+129
This prints a message every time a refresh indication is received.
2021-08-05pdc: add Refresh indicationEric Caruso2-1/+47
2021-08-05build: post-release version bump to 1.31.0Aleksander Morgado2-2/+2
2021-08-05release: bump version to 1.30.01.30.0Aleksander Morgado2-7/+7
2021-08-05NEWS: update for 1.30.0Aleksander Morgado1-0/+121
2021-08-05AUTHORS: update based on git logAleksander Morgado1-8/+27