summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* iface-modem: improve logging of user request to reset modemAleksander Morgado2022-11-041-18/+19
|
* iface-modem: improve logging of user request to set power stateAleksander Morgado2022-11-041-26/+25
|
* iface-modem: improve logging of user request to enable/disable modemAleksander Morgado2022-11-041-16/+25
|
* iface-modem: improve logging of user request to get cell infoAleksander Morgado2022-11-041-4/+7
|
* iface-modem: improve logging of user request to set primary SIM slotAleksander Morgado2022-11-041-13/+10
|
* iface-modem: improve logging of user request to delete bearerAleksander Morgado2022-11-041-30/+27
|
* iface-modem: improve logging of user request to run AT commandAleksander Morgado2022-11-041-32/+27
|
* iface-modem: improve logging of user request to set current capabilitiesAleksander Morgado2022-11-041-51/+42
|
* iface-modem: improve logging of user request to create bearerAleksander Morgado2022-11-041-23/+27
|
* iface-modem: refactor user request to list bearersAleksander Morgado2022-11-041-13/+6
|
* iface-modem: improve logging in INFO levelAleksander Morgado2022-11-041-9/+15
|
* log-helpers: add helper to log simple connect propertiesAleksander Morgado2022-11-042-8/+27
|
* log-helpers: add helper to log 3gpp profileAleksander Morgado2022-11-042-9/+39
|
* log-helpers: add helper to log bearer propertiesAleksander Morgado2022-11-044-0/+68
|
* libmm-glib,simple-connect-properties: new print() methodAleksander Morgado2022-11-042-2/+28
|
* libmm-glib,bearer-properties: new print() methodAleksander Morgado2022-11-042-2/+36
|
* libmm-glib,3gpp-profile: new print() methodAleksander Morgado2022-11-043-126/+84
| | | | Can be used right away in the mmcli output generation logic.
* libmm-glib,common: add helpers to build printable stringsAleksander Morgado2022-11-043-3/+49
|
* log: allow querying whether personal info should be shown or notAleksander Morgado2022-11-042-11/+18
| | | | | We need this when building printable representations of helper types like the MMBearerProperties object.
* log: new methods to check if a given logging level is enabledAleksander Morgado2022-11-042-11/+24
| | | | | | There are certain cases where we perform a lot of data processing just for logging purposes. Having methods that let us know whether a given log level will be printed before doing all that data processing is useful.
* log: new mm_obj_log() that allows specifying level explicitlyAleksander Morgado2022-11-041-5/+6
|
* log: new helper to allow printing or hiding personal infoAleksander Morgado2022-11-042-0/+18
|
* core,log: reduce the log level tag to 3 charactersAleksander Morgado2022-11-041-5/+5
| | | | | Just to make all of them the same avoid needing extra whitespaces just for alignment of the text after this tag.
* core,log: new 'MSG' log level between 'INFO' and 'WARN'Aleksander Morgado2022-11-0431-208/+219
| | | | | | | | | We're bumping the current "INFO" level messages to the new "MSG" level, also making the new level the default. The old "INFO" level will be used to setup an intermediate level of logging which is not as verbose as "DEBUG" but still provides some capabilities to analyze the behavior of a modem.
* base-sim: fix length when reading GID1/GID2Aleksander Morgado2022-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were attempting to read 15 bytes unconditionally, regardless of the size of the EF_gid1 and EF_gid2 files. This operation would succeed in some SIM cards even if the actual file lengths are shorter: AT+CRSM=176,28478,0,0,15 +CRSM: 144,0,"FFFF" OK But the operation would fail in some other SIM cards due to the length mismatch: AT+CRSM=176,28478,0,0,15 +CRSM: 103,0 OK Using 0 as requested length instructs the modem to read the length specified in the EF status information, which is also the same approach we do in QMI and MBIM. AT+CRSM=176,28478,0,0,0 +CRSM: 144,0,"FFFF" OK
* iface-modem-3gpp-profile-manager: Initialize autofreed string to NULLEvangelos Ribeiro Tzaras2022-11-011-1/+1
| | | | | | This avoids compiler warnings when using -Wmaybe-uninitialized Closes: #653
* build: Warn about potentially uninitialized variablesEvangelos Ribeiro Tzaras2022-11-011-0/+1
|
* build-aux: templates: make build reproducibleArnaud Ferraris2022-10-292-2/+2
| | | | | | | | | | | | By including `@filename@` in the enums/errors types header template, we generate files containing the full path to source files, which reflects the particular filesystem layout used for a given build. As such, this alters build reproducibility as it causes a (admittedly small) diff between builds executed in different environments. Using `@basename@` instead ensures only the file name (without its full path) is mentioned in the generated files, making the builds reproducible again.
* build: post-release version bump to 1.21.0Aleksander Morgado2022-10-272-2/+2
|
* release: bump version to 1.20.01.20.0Aleksander Morgado2022-10-272-7/+7
|
* base-sim: fix loading GID2Aleksander Morgado2022-10-271-3/+3
| | | | We were not even trying to load it if GID1 was successfully loaded.
* sim-mbim: read exact GID1/GID2 file sizeAleksander Morgado2022-10-271-7/+82
|
* mm-broadband-modem-qmi: do not set "enable refresh" in PDC "register" QMI ↵Akash Aggarwal2022-10-271-1/+0
| | | | | | | | | | | message If "enable refresh" is set, QMI modem expects an acknowledgement upon receiving a PDC refresh indication, otherwise the modem resets assuming clients are facing an issue in refreshing their cache. Register for PDC refresh indication without setting "enable refresh" TLV. We would still receive the refresh indication to notify that the list of profiles stored has changed and would not have to acknowledge the modem.
* build: require libqmi 1.32.0 and libmbim 1.28.0Aleksander Morgado2022-10-262-4/+4
|
* build: bump version to 1.19.900 (1.20-rc1)1.20-rc1Aleksander Morgado2022-10-192-2/+2
|
* NEWS: update for 1.20.0Aleksander Morgado2022-10-191-5/+174
|
* AUTHORS: update for 1.20Aleksander Morgado2022-10-191-19/+59
|
* RELEASING: update to use meson based stepsAleksander Morgado2022-10-191-37/+42
|
* core: update copyright yearsAleksander Morgado2022-10-191-1/+1
|
* mmcli: update copyright yearsAleksander Morgado2022-10-191-1/+1
|
* docs,reference: update copyright yearsAleksander Morgado2022-10-192-0/+2
|
* broadband-modem-qmi: support for setting up signal thresholdsAkash Aggarwal2022-10-181-21/+237
|
* plugin, telit: set last band to EUTRAN_85Alexey Orishko2022-10-171-1/+1
| | | | | Modems based on MDM9205 chipset support LTE Band 85, thus last define was changed to reflect that band
* plugin, telit: add support for LPWA modemAlexey Orishko2022-10-171-5/+105
| | | | - properly identity access technology for Cat-M and NB-IoT RATs
* foxconn: updating the T77W968 requires MCFG+APPS versionFanice.luo2022-10-171-1/+26
| | | | | | updating T77W968(0x413c:0x81d7 ; 0x413c:0x81e0 ; 0x413c:0x81e4 ; 0x413c:0x81e6): supports FASTBOOT and QMI PDC, and requires MCFG+APPS version.
* fibocom: Don't disconnect initial EPS bearerSven Schwermer2022-10-171-3/+70
| | | | | | | | During profile setup, the profile manager normally disconnects a profile before re-using it. We do not want to do this for the initial EPS bearer because that would trigger de-registration. Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
* fibocom: Set initial EPS bearer CID for MA510Sven Schwermer2022-10-171-0/+3
| | | | Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
* fibocom: Add initial EPS bearer supportSven Schwermer2022-10-171-3/+390
| | | | Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
* fibocom: Implement power down/offSven Schwermer2022-10-171-5/+35
| | | | | | | Also bump the timeout for the +CFUN operations as they may take up to 10s according to the AT command manual (e.g. MA510). Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
* fibocom: Monitor connection status using +GTRNDIS?Sven Schwermer2022-10-171-0/+71
| | | | | | | | | | | | | | | | | | | | In situations where the configured APN for the initial EPS bearer (cid=1) does not match the APN for the actual connection, ModemManager sets up a context (cid!=1) with the proper APN when connecting. If the APN for the initial EPS bearer was not valid, the SIM may fall back to a default one. If that default matches the APN for the proper connection, the initial EPS bearer is re-used for the actual connection. In that scenario, +CGACT? will report deactivated for the actual connection context (cid!=1). ModemManager subsequently reports the connection as disconnected. +GTRNDIS? will always reflect the correct state for the context ID we used to set up the ECM connection. Hence, it makes sense to use this command to assess the connection status. This has been tested with the MA510-GL modem module. Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>