aboutsummaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2014-02-28cinterion: consolidate current bands loading for 2G and 3G devicesAleksander Morgado
2014-02-28cinterion: consolidate supported bands loading for 2G and 3G devicesAleksander Morgado
2014-02-28cinterion: add helper to build Cinterion band maskAleksander Morgado
2014-02-28cinterion: add helper to parse AT^SCFG="Radio/Band" response in 3G devicesAleksander Morgado
2014-02-28cinterion: use AT^SCFG=? to parse supported bands in 3G devicesAleksander Morgado
2014-02-28cinterion: request access tech update after allowed mode changeAleksander Morgado
2014-02-28cinterion: add support for HSUPA+HSDPA reported access techAleksander Morgado
2014-02-28cinterion: allow recovering automatic modeAleksander Morgado
When automatic mode (i.e. 2G+3G+none preferred) is selected, we need to explicitly request it by giving the AT+COPS write command with values (i.e. not just empty fields).
2014-02-28cinterion: cache operator id if manual selection attemptedAleksander Morgado
We'll need it afterwards for proper mode switching
2014-02-28cinterion: unsupported modes are already filtered outAleksander Morgado
So no need to try to handle error cases or fallbacks to support them.
2014-02-28cinterion: increase AT command timeout when changing modesAleksander Morgado
2014-02-20wavecom: implement power offAleksander Morgado
Powering off Wavecom devices is done via the AT^CPOF=1 command. These devices seem to not only power-off, but also power-cycle when this command is received, which means that the user needs to make sure to fully cut the power to the device when the SetPowerState() method replies.
2014-02-20cinterion: implement power offAleksander Morgado
Powering off Cinterion modems is done with the AT^SMSO command. Once this command is sent to the device, ModemManager still needs to wait to get an unsolicited ^SHUTDOWN message from the modem, which is when the shutdown is considered complete. Newer Cinterion devices, though, don't seem to follow this rule and just reply OK to AT^SMSO (i.e. no ^SHUTDOWN), but instead, they will remove the tty ports.
2014-02-19huawei: fix a debug messageBen Chan
This patch simply fixes the following debug message: from: <debug> (Huawei) couldn't turn off unsolicited messages insecondary ports: 'Unknown error' to: <debug> (Huawei) couldn't turn off unsolicited messages in secondary ports: 'Unknown error'
2014-02-17trivial: fix dist of gsm-port.confDan Williams
2014-02-14tests: fix array bound checks in process_next_commandBen Chan
This patch fixes the out-of-bounds array accesses in test-port-context.c, which is detected by AddressSanitizer, by checking the index against the array length before accessing the array.
2014-02-14tests: add missing call to g_type_init()Ben Chan
This patches fixes the following error when testing ModemManager with glib < 2.36, which still requires g_type_init() to be called: TEST: test-service-generic... (pid=20166) /MM/Service/Generic: (/work/ModemManager/plugins/.libs/lt-test-service-generic:20166): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init() FAIL
2014-02-13tests: added support for DBus service testsAleksander Morgado
We can now run 'simulated' modems against a ModemManager running in its own session bus.
2014-02-13huawei: use shortened version of NDISDUP when possibleAleksander Morgado
Adds support for the Huawei E3276 by sending the shortened form of the AT^NDISDUP command where possible, as the E3276 fails with an '+CME ERROR: Incorrect parameters' if encoded_auth is set to 0. This behaviour is slightly different to the E1820 and K4605 (E372) which will happily establish a connection with encoded_auth set to 0, 1 or 2.
2014-02-13port-serial-qcdm: commands are never cachedAleksander Morgado
The QCDM port commands are never cached, so remove the option from the command() method. Will also simplify command caching afterwards as it will be an AT-only thing.
2014-02-13port-serial-at: use GIO Async API like methodsAleksander Morgado
2014-02-13port-serial-qcdm: use GIO Async API like methodsAleksander Morgado
2014-02-13ports: rename 'libserial' to 'libport'Aleksander Morgado
2014-02-13ports: rename 'MMAtSerialPort' to 'MMPortSerialAt'Aleksander Morgado
2014-02-13ports: rename 'MMQcdmSerialPort' to 'MMPortSerialQcdm'Aleksander Morgado
2014-02-13ports: rename 'MMGpsSerialPort' to 'MMPortSerialGps'Aleksander Morgado
2014-02-13ports: rename 'MMSerialPort' to 'MMPortSerial'Aleksander Morgado
2014-02-13cinterion: try to gather port type for devices with multiple tty portsAleksander Morgado
The new PHS8 or PXS8 devices may expose multiple tty ports, but only one is supposed to be used for PPP. So, query which port that is and flag it before grabbing it in the modem.
2014-02-12wavecom: implement after-sim-unlock stepAleksander Morgado
Just give some time to the SIM to get properly initialized, so that we avoid errors when reloading e.g. facility lock status.
2014-02-12zte: allow MBIM devicesBen Chan
2014-02-11mbm: add lenovo branded ericsson ID (Lenovo N5321gw)Arnd Hannemann
This device ID is used in a Lenovo Thinkpad T440s. Link: http://forums.debian.net/viewtopic.php?f=7&t=107986&sid=4f81b9c1a8f4563f26fec24f7b65aaea&start=15 Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
2014-01-30zte: add port type hints for the ZTE MF190 (19d2:1254)Ben Chan
2014-01-26huawei: fix leaked stringAleksander Morgado
2014-01-26udev: apply udev rules upon 'move' events as wellAleksander Morgado
Otherwise, we may end up losing the tags we expect if the device gets a 'move' event just after the initial 'add'.
2014-01-26huawei: fix some leaked 'GStrv' arraysAleksander Morgado
2014-01-26huawei: fix leaked 'GUdevDevice'Aleksander Morgado
2014-01-25novatel: fix leaked 'GSimpleAsyncResult'Aleksander Morgado
2014-01-25sierra: fix leaked 'GStrv' with CDMA modemsAleksander Morgado
2014-01-24zte: support for QMI-based modemsAleksander Morgado
E.g. the ZTE MF190 [/dev/cdc-wdm1] QMI Device supports 4 services: [/dev/cdc-wdm1] ctl (1.2) [/dev/cdc-wdm1] wds (1.3) [/dev/cdc-wdm1] dms (1.2) [/dev/cdc-wdm1] nas (1.0)
2014-01-18altair-lte: add 'mm' prefix in the exported helper methodsAleksander Morgado
2014-01-18altair-lte: set subscription state using PCOThieu Le
This patch sets the subscription state using Verizon's PCO values.
2014-01-17build: fix linker flags when building pluginsAleksander Morgado
MM_LIBS was missing in PLUGIN_COMMON_LINKER_FLAGS, and replace GUDEV_LDFLAGS with GUDEV_LIBS.
2014-01-09huawei: avoid creating Connect3gppContext when no data port is availableBen Chan
This patch modifies MMBroadbandBearerHuawei such that connect_3gpp simply reports an error via g_simple_async_report_error_in_idle, without creating a Connect3gppContext, if no data port is available.
2014-01-08novatel-lte: remove unused macro definitionsBen Chan
2014-01-08huawei: avoid calling g_object_unref on NULLBen Chan
This patch prevents connect_3gpp_context_complete_and_free from calling 'g_object_unref (ctx->data)' when connect_3gpp finds no data port (i.e. ctx->data is set to NULL).
2014-01-07trivial: resolve maybe-uninitialized warningsYegor Yefremov
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2014-01-07novatel-lte: explicitly use primary port for connection/disconnection sequenceBen Chan
The Novatel LTE modem only uses its primary AT port for AT commands. Instead of referencing any existing secondary port, this patch changes MMBroadbandBearerNovatelLte to explicitly use the primary port during the connection and disconnection sequence.
2014-01-07altair-lte: explicitly use primary port for connection/disconnection sequenceBen Chan
The Altair LTE modem only uses its primary AT port for AT commands. Instead of referencing any existing secondary port, this patch changes MMBroadbandBearerAltairLte to explicitly use the primary port during the connection and disconnection sequence.
2014-01-06huawei: handle ^NDISSTAT disconnected notification only on a connected bearerBen Chan
If the bearer is not actually connected and the modem (inappropriately) indicates a disconnected status via a ^NDISSTAT unsolicited message, it could potentially lead to the following assertion in connect_3gpp_context_step. This patch addresses such an issue. g_assert (ctx->self->priv->network_disconnect_pending_id == 0); 0x7f940c2ecd95 [libc-2.15.so] - raise.c:64 raise 0x7f940c2ee217 [libc-2.15.so] - abort.c:91 abort 0x7f940c8e6086 [libglib-2.0.so.0.3400.3] - gtestutils.c:1877 g_assertion_message 0x7f940c8e6553 [libglib-2.0.so.0.3400.3] - gtestutils.c:1888 g_assertion_message_expr 0x7f940cba5710 [libmm-plugin-huawei.so] - mm-broadband-bearer-huawei.c:240 connect_3gpp_context_step 0x7f940cd4a51e [ModemManager] - mm-broadband-bearer.c:1246 connect 0x7f940cd662b7 [ModemManager] - mm-iface-modem-simple.c:588 connection_step 0x7f940cd66e6e [ModemManager] - mm-iface-modem-simple.c:267 register_in_3gpp_or_cdma_network_ready 0x7f940ca0e296 [libgio-2.0.so.0.3400.3] - gsimpleasyncresult.c:775 g_simple_async_result_complete 0x7f940ca0e398 [libgio-2.0.so.0.3400.3] - gsimpleasyncresult.c:787 complete_in_idle_cb 0x7f940c8c2ff4 [libglib-2.0.so.0.3400.3] - gmain.c:2715 g_main_context_dispatch 0x7f940c8c3377 [libglib-2.0.so.0.3400.3] - gmain.c:3290 g_main_context_iterate 0x7f940c8c37c9 [libglib-2.0.so.0.3400.3] - gmain.c:3484 g_main_loop_run 0x7f940cd3b425 [ModemManager] - main.c:142 main 0x7f940c2d9464 [libc-2.15.so] - libc-start.c:234 __libc_start_main 0x7f940cd3afa8 [ModemManager] + 0x0001efa8
2014-01-06novatel-lte: remove unnecessary MM_BASE_MODEM() castsBen Chan