aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-08-05telit: add port hints for FN912C04 0x3000 and 0x3001 compositionsDaniele Palmas
Related kernel commits: 9a590ff28342 ("USB: serial: option: add Telit FN912 rmnet compositions") 77453e2b015b ("net: usb: qmi_wwan: add Telit FN912 compositions")
2024-08-02netprisma: remove serial modems supportAleksander Morgado
2024-08-02Netprisma: Add new pluginMank Wang
2024-08-02mm-iface-modem: Always check properties for disabling signal pollingSebastian Krzyszkowiak
MMBroadbandModemQmi only disables signal polling once it successfully sets the indication up. To do that, it sets the properties on MMIfaceModem. This, however, doesn't actually disable polling, as the property values are only checked once in get_private when Private structure hasn't been created yet. Once that happens, only the cached values are ever checked, and there's nothing that would update them. Since there's only one place where these properties are checked, get rid of cached bools in Private structure and instead read the property values directly in periodic_signal_check_step, letting QMI modems actually disable polling at runtime.
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-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-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-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-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-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-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-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-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.
2024-05-29huawei: trivial: remove trailing whitespacesAleksander Morgado
2024-05-23huawei: use G_GUINT64_CONSTANTOliver Kästner
2024-05-23huawei: enable setting LTE bandsOliver Kästner
2024-05-17test: longer timeout to wait for modem in test fixtureAleksander Morgado
If the system running the test is under heavy load, the modem may need time to get exposed. Just bump the timeout to a long enough value.
2024-05-17mtk: FM350 multiplexing support is checked in runtimeAleksander Morgado
This was introduced in 2f306e8e7c830d7991b747b127533c7db73754fd
2024-05-13broadband-modem-mbim: add support for MS extensions device resetAleksander Morgado