aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)Author
2024-04-16huawei: plugin sources depend on enums typesAleksander Morgado
2024-04-12huawei: handle IPv6 connection status changesOliver Kästner
2024-04-12huawei: implement loading supported IP familiesOliver Kästner
This uses the proprietary `^NDISSTATQRY` instead of the default `+CGDCONT` command, as the latter might return diffrent results (i.e. reporting v6 support, that can't be used via NDIS). Also add a fallback to `+CGDCONT?` for older modems that don't support ^NDISSTATQRY.
2024-04-12huawei: enable support for IPv6Oliver Kästner
2024-04-12broadband-modem-hso: don't assume GPS control port always existsAleksander Morgado
2024-04-12broadband-modem-telit: configure +CIEV in both primary and secondary portsAleksander Morgado
And also avoid assuming that the secondary port always exists.
2024-04-12broadband-modem-cinterion: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-ublox: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-nokia: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-option: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-hso: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-fibocom: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-mbm: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-mtk-legacy: don't assume primary port always existsAleksander Morgado
2024-04-12broadband-modem-huawei: don't assume primary port always existsAleksander Morgado
2024-04-12quectel: always report primary port in the firmware interfaceAleksander Morgado
2024-04-12fibocom: always report primary port in the firmware interfaceAleksander Morgado
2024-04-11huawei: refactor mode and band related methodsOliver Kästner
Refactor the loading/setting of supported/current modes/bands, mostly to enable LTE support via ^SYSCFGEX. This unfortunately requires many changes at once, as these methods use the same AT commands and their fallbacks.
2024-04-09mbm: don't stop GPS interface on reinitialization if it should be runningMaciej S. Szmigiero
Since commit 63dd4ad2 it is possible that the GPS interface is in use at the time of modem reinitialization so it should not be stopped in such case. Otherwise "mmcli --location-status" will still say that GPS is enabled but no GPS traces are going to be coming.
2024-04-04broadband-modem-option: fix task completion on parent URC setup errorAleksander Morgado
2024-04-04broadband-modem-mtk-legacy: fix task completion on parent URC setup errorAleksander Morgado
2024-04-04broadband-modem-huawei: fix task completion on parent URC setup errorAleksander Morgado
2024-04-01mtk: add missing initialization of shared fibocom utilsAleksander Morgado
Fixes 4b0b9dde0256b408795e1bad4c8f80500ea4b5b4
2024-04-01shared-quectel: don't assume that parent object supports locationAleksander Morgado
The generic MBIM modem implementation does not have location capabilities support, so the relevant function pointers in the interface are NULL. Fixes: 306566ad7ea8b08241904eefb18507fdf7e7993f
2024-03-26huawei: fix udevadm verify warningSteve Leung
2024-03-13plugins,fibocom: Add the udev rules for FM135 modulesbolan wang
This patch add fibocom FM135 to 77-mm-fibocom-port-types.rules file. The vid and pid of the module is "2cb7 0115".
2024-03-13quectel: implement shared quectel logic in MBIM modemAleksander Morgado
2024-03-13quectel: minor code reorderingAleksander Morgado
2024-03-13xmm: ignore +XBIPI URCsAleksander Morgado
2024-03-13fibocom: setup common shared setup ports in all modemsAleksander Morgado
Make sure all Fibocom modem implementations use the shared port setup logic that adds the SIM READY URC ignore rule.
2024-03-13fibocom: setup shared fibocom management on AT-only modemAleksander Morgado
The generic MMBroadbandModemFibocom object uses the shared Fibocom settings to load the update settings. This logic does not use the Private info right now, but there is no reason why it wouldn't do it in the future. Also, for consistency, it makes sense to ensure the shared interface setup is the same in all implementations, we should not have only some allowing to initialize the Private info.
2024-03-12build: fix dependencies in huawei plugin helpersKamesh Relangi
Compilation errors due to generated files is observed when compiling in multi threaded environment, as the generated files getting generated after they have been referred. Fix: Added dependency in meson so that it will ensure that the header is generated. Ref fail log: ../mobile-broadband/ModemManager/src/plugins/huawei/mm-modem-helpers-huawei.c:29:10: fatal error: mm-huawei-enums-types.h: No such file or directory 29 | #include "mm-huawei-enums-types.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Signed-off-by: Kamesh Relangi <quic_krelangi@quicinc.com>
2024-03-12modem-helpers: rework AT string quote operation and add unit testsAleksander Morgado
Rework the AT string quote operation to build the output with the GString helper, instead of manually calculating how many bytes we'll need in the output. It just makes it clearer.
2024-03-11fibocom: don't be strict on required driversAleksander Morgado
Requiring an explicit set of drivers should only be done when we have different plugins supporting different types of devices of the same manufacturer based on the drivers in use (e.g. as in the Sierra case). When the plugin includes a list of required drivers, the plugin filter will only assume the plugin can be used if at least one of the available ports is exposed with one of the drivers in the list. Because of this, if we start probing some ports before all the expected ports are reported, we may end up not selecting a given plugin just because the driver match should have been done in a not-yet-notified port. E.g. on system boot: * ttyACM0 is notified. * min probing time elapses so ttyACM0 probing starts * Fibocom plugin is not selected for ttyACM0 as no matched driver ("cdc_acm") is given in the the list of drivers of the plugin. * cdc-wdm0 and wwan0 drivers are notified. * MM creates generic MBIM modem with the Fibocom plugin, but without XMM features support, because the ttyACM0 port probing was not done by the Fibocom plugin. And if we reset the modem after that: * ttyACM0 is notified. * cdc-wdm0 and wwan0 drivers are notified. * min probing time elapses so probing starts for all ports * Fibocom plugin is selected for all port probings as "cdc_mbim" is listed in the list of drivers of the plugin. * MM creates XMM-capable MBIM modem with the Fibocom plugin.
2024-03-04cinterion: keep dual-sim orderLukas Voegl
mm_parse_uint_list() sorts available SIMs and possibly changes the order of the active / non-active SIM. A custom parser is added, which keeps the order of all SIMs. Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2024-02-15mtk: fix reported nw error in FM350 < 29.22.13Aleksander Morgado
The network error needs to be scaled down.
2024-02-15mtk: remove IP packet filters during connection in FM350 < 29.23.06Aleksander Morgado
Old firmware versions of the FM350 had some internal IP packet filters installed, which prevented proper IPv6 connectivity in certain cases. This workaround ensures that the IP packet filters get removed whenever a data connection is up. Because we don't know when exactly the filters get installed, we do this removal periodically along with the bearer stats query.
2024-02-15mtk: multiplex support only available in FM350 >= 29.23.06Aleksander Morgado
Old versions of the FM350 firmware were able to support multiplex with multiple PDNs more or less consistently, except on very specific cases like Verizon. The newest firmware versions support multiplex on any carrier, so we can enable back the feature depending on the firmware version number.
2024-02-15mtk: expect async SLAAC only in FM350 >= 29.23.06Aleksander Morgado
Async SLAAC implementation in the FM350 is only available since 29.23.06, so only wait for the IP configuration indications reporting the SLAAC result in newer versions.
2024-02-15cinterion: disable periodic signal checks in MBIM modemsAleksander Morgado
2024-02-15quectel: disable periodic signal checks in MBIM modemsAleksander Morgado
2024-02-15telit: disable periodic signal checks in MBIM modemsAleksander Morgado
2024-02-12plugins: mtk: Added MT6229 USB modem support.RICCIARDI-Adrien
This modem is used for instance on the CAT B100 phone. Signed-off-by: RICCIARDI-Adrien <adrien.ricciardi@hotmail.fr>
2024-01-25bearer-mbim: When an IP type is unspecified in the profile, default to ↵Madhav
IPv4v6 (dual-stack) To address limitations in reading IP_TYPE information (in some cases) for profile requests, default to IPv4v6 (dual-stack) for profile requests and IPv4 only for user requests (to ensure backward compatibility) if nothing specific is requested. This ensures network compatibility across IPv4 and IPv6 networks, preventing potential connectivity issues in IPv6 environments.
2024-01-25cinterion: swap local and dynamic PDP context commandLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2024-01-25cinterion: default to none authentication with no user and passwordLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2024-01-25cinterion: change secondary port to ppp on PLS8Lukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2024-01-19cinterion: switch primary and secondary port for PLS8Lukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-12-13fibocom: re-enable the modem after an attempt to set initial EPS bearer ↵Nagi Marupaka
irrespective of success or failure of the operation
2023-12-01simtech: add port type hints for A7600E-H, A7602E-HPetr Krasnoshchekov