aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-31plugin,mtk: Add load_unlock_retriesBolan Wang
This patch add load_unlock_retries support by AT in mtk-based Fibocom modem.
2024-07-31intel: mark XMM7360 as unsupportedThomas Vogt
2024-07-31port-probe: detect XMMRPC portsThomas Vogt
2024-07-31broadband-modem-mbim: workaround for invalid SMS part index on L850Michal Mazur
Fibocom L850 modems report an invalid part index (always 1) in the response message. Because we know which message part was requested, we can use that value instead to workaround this bug.
2024-07-31quectel: support at over mbim in quectel modemsmank.wang
2024-07-26build: unstable release version bump to 1.23.9Aleksander Morgado
2024-07-22rolling: Set RW101 AT port to ignorelupuliang
MM does not need to use two AT ports at the same time. Sending AT to both ports at the same time may cause the ports to not work.
2024-07-22fibocom: Set FM101 AT port to ignorePuliang Lu
MM does not need to use two AT ports at the same time. Sending AT to both ports at the same time may cause the ports to not work.
2024-07-17man: fix line starting with ' and remove an extra .Dan Williams
Fixes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/867 Thanks to John Veness
2024-07-09mmcli: fix a memory leakLubomir Rintel
Poor modem_uid got left behind.
2024-07-09ublox/helpers: fix propagation of +URAT response parse errorLubomir Rintel
The fallback error handling branch happens much too late, just leaking the newly made GError instead of propagating.
2024-07-09Revert "ublox/helpers: fix propagation of +URAT response parse error"Lubomir Rintel
Not quite correct -- with the patch applied, the newly allocated GError could potentially overwrite inner_error that was set previously. This reverts commit d550a24ffdae4492e9f9e18fdf294adcda28fb65.
2024-07-09build: bump libmbim dependencyLubomir Rintel
Fibocom's MBIM support needs this: mm-port-mbim-fibocom.c: In function ‘iface_port_at_check_support’: mm-port-mbim-fibocom.c:64:66: error: ‘MBIM_SERVICE_FIBOCOM’ undeclared (first use in this function); did you mean ‘MBIM_SERVICE_GOOGLE’? 64 | if (!mm_port_mbim_supports_command (MM_PORT_MBIM (self), MBIM_SERVICE_FIBOCOM, MBIM_CID_FIBOCOM_AT_COMMAND)) { | ^~~~~~~~~~~~~~~~~~~~ | MBIM_SERVICE_GOOGLE mm-port-mbim-fibocom.c:64:66: note: each undeclared identifier is reported only once for each function it appears in mm-port-mbim-fibocom.c:64:88: error: ‘MBIM_CID_FIBOCOM_AT_COMMAND’ undeclared (first use in this function) 64 | if (!mm_port_mbim_supports_command (MM_PORT_MBIM (self), MBIM_SERVICE_FIBOCOM, MBIM_CID_FIBOCOM_AT_COMMAND)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: c66a6b89ec45 ('fibocom: create custom MBIM port object with potential AT support')
2024-07-08qcdm: fix order of calloc() argumentsLubomir Rintel
GCC 14 is unhappy. Not sure why does this matter, maybe it just does not. Let's silence the warning at the very least: libqcdm/src/result.c: In function ‘val_new_string’: libqcdm/src/result.c:76:25: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 76 | v = calloc (sizeof (Val), 1); | ^~~
2024-06-21Revert "fibocom: disable CPOL features in NL668"Aleksander Morgado
This reverts commit f7b351fc85f6cacb5d8b4483b052834be3aefe17. The whole AT over MBIM support is disabled in the NL668.
2024-06-21fibocom: disable AT over MBIM in NL668Aleksander Morgado
The AT over MBIM support is exposed as a supported service, but the underlying implementation is not good enough.
2024-06-19fibocom: disable CPOL features in NL668Aleksander Morgado
Running +CPOL? in the NL668 using AT over MBIM seems to trigger a firmware crash. Let's disable the feature altogether in this device for this reason.
2024-06-14build: unstable release version bump to 1.23.8Aleksander Morgado
2024-06-12broadband-modem-qmi: report network rejectionsUjjwal Pande
Changes to expose network rejections for QMI based modems.
2024-06-12broadband-modem-mbim: report network rejectionsUjjwal Pande
Changes to expose network rejections for MBIM based modems.
2024-06-12api: new NetworkRejection propertyUjjwal Pande
When a modem is not able to register to the network, MBIM and QMI indications related to registration reports network rejection cause codes if request is rejected by the network. This information is currently logged in the ModemManager but not exposed outside of ModemManager. These are the changes to define interface to expose network reject cause codes over d-bus to the above layers which could be used by above layers to present this information in a user friendly way.
2024-05-31modem-helpers: do not leak past PDP on errorLubomir Rintel
If CID parsing from the +CGDCONT response fails, the very last PDP structure allocated is not put on the list yet and therefore mm_3gpp_pdp_context_list_free() wouldn't free it. Let's put it on the list first, as to not leak it on error.
2024-05-31libmm-glib/signal: fix a copy'n'paste errorLubomir Rintel
2024-05-31sim/qmi: do not leak access technology nameLubomir Rintel
2024-05-31bearer/qmi: fix a copy'n'paste errorLubomir Rintel
Probably not a real issue, given if there's a password there's probably an user name too.
2024-05-31mmcli/sms: do not leak message_referenceLubomir Rintel
2024-05-31port-qmi: fix array bound checkLubomir Rintel
There's an off-by-one error.
2024-05-31quectel/shared: do not leak name stringLubomir Rintel
2024-05-31shared-qmi: fix a leak in error handling pathLubomir Rintel
str needs to be freed in pds_get_agps_config_ready().
2024-05-31broadband-modem: fix a potential leak in cusd_process_string() error handlingLubomir Rintel
On error, *converted may already be allocated and we need to free it (but not in case we're returning it from the task).
2024-05-31ublox/helpers: fix propagation of +URAT response parse errorLubomir Rintel
We have been constructing a GError too late, just leaking it instead of propagating.
2024-05-31shared-qmi: do not leak a string in error pathLubomir Rintel
2024-05-30port-mbim-fibocom: fix duplicated GError freeAleksander Morgado
2024-05-29mm-iface-modem: clear signal only if supportedLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2024-05-29broadband-modem-cinterion: increase COPS timeoutLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2024-05-29rolling: new pluginAleksander Morgado
This plugin provides support for modems from Rolling Wireless. The current approach is to re-use the AT-based and MBIM-based specific modem implementations from the Fibocom plugin. Based on an original implementation from: vanillan wang <vanillanwang@163.com> See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1170
2024-05-29fibocom: MBIM in shared utils is optionalAleksander Morgado
2024-05-29build: remove unnecessary shared dependency info from plugin option definitionsAleksander Morgado
2024-05-29broadband-modem-cinterion: use generic initial EPS bearer management logicAleksander Morgado
The Cinterion specific implementation relies on the generic one but adds the authentication information support using ^SGAUTH. The loading of the initial EPS bearer status (i.e. the one agreed with the network, not the settings) no longer has any Cinterion specific behavior. The auth settings are NOT reported in the initial EPS bearer status.
2024-05-29broadband-modem: allow subclassing initial eps bearer cid selectionAleksander Morgado
2024-05-29fibocom: remove custom initial EPS bearer managementAleksander Morgado
The implementation in the generic MMBroadbandModem object should fit well instead of the custom implementation. There is also no need to specify via udev tags which is the initial EPS bearer context id, we try to automatically guess it in runtime.
2024-05-29broadband-modem: implement setting initial EPS bearer settingsAleksander Morgado
2024-05-29broadband-modem: implement loading initial EPS bearer infoAleksander Morgado
2024-05-29broadband-modem: implement loading initial EPS bearer settingsAleksander Morgado
The main issue here is how to select the id of the context that is used for attach in the modem. We will assume that the lowest cid value for the IP range returned in the CGDCONT=? test is the one used for the attach context. This assumption works with modems following the 3GPP specs (with cid=0) and also in Qualcomm based modems (with cid=1).
2024-05-29cli,3ppp: allow updating EPS settings before enablingAleksander Morgado
2024-05-29cinterion: remove custom logic to power down modem before initial EPS bearer ↵Aleksander Morgado
settings update
2024-05-29fibocom: remove custom logic to power down modem before initial EPS bearer ↵Aleksander Morgado
settings update This is now done for all modems unconditionally.
2024-05-29broadband-modem-qmi: remove custom logic to power down modem before initial ↵Aleksander Morgado
EPS bearer settings update
2024-05-29iface-modem-3gpp: power down before updating initial EPS bearer settingsAleksander Morgado
Before the operation to update the current initial EPS bearer settings, we will now unconditionally put the modem in low power mode. so that when the next network registration happens we are sure the new settings are in place. This approach was previously applied already to all QMI-based modems as well as to all Fibocom modems. The approach applies now to all modems of all vendors and in all control protocols.
2024-05-29iface-modem: allow reporting the previous power state after an updateAleksander Morgado
Let the caller of mm_iface_modem_set_power_state() know which was the power state in the device before the actual update happened. This is useful in cases where we want to temporarily switch to a given power state (e.g. low) before returning to the original power state.