aboutsummaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2020-01-31telit,helpers: fix format of flags built during #BND request generationAleksander Morgado
We explicitly need 64bit values for 3G flags and 4G flags.
2020-01-31telit,helpers: use correct flag to check caps when building #BND requestAleksander Morgado
2020-01-31tests,fixture: fix warnings with -Wsign-compareAleksander Morgado
tests/test-fixture.c:130:28: error: comparison of integer expressions of different signedness: ‘gboolean’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Werror=sign-compare] 130 | if (modem_expected == n_modems) { | ^~
2020-01-31telit: fix warnings with -Wdiscarded-qualifiersAleksander Morgado
telit/tests/test-mm-modem-helpers-telit.c:48:9: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 48 | "#BND: (0-3)", TRUE, FALSE, FALSE, FALSE, 4, | ^~~~~~~~~~~~~ ...
2020-01-31icera: fix warnings with -Wsign-compareAleksander Morgado
icera/mm-modem-helpers-icera.c:256:13: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Werror=sign-compare] 256 | num != expected_cid) { | ^~
2020-01-30build: use AX_IS_RELEASE() and AX_COMPILER_FLAGS()Aleksander Morgado
The autoconf macros AX_COMPILER_FLAGS_{CFLAGS|GIR|LDFLAGS} test for compiler and linker support of various flags, and add the flags to the generated output. If the command-line option '--enable-compile-warnings' is specified to 'configure', a number of additional warning options is also added to the output. This is the default. This update requires the presence of the GNU autoconf-archive in the system.
2020-01-15altair-lte: use autoptr support from glibAleksander Morgado
2020-01-06cinterion: use common re-registration logic when neededAleksander Morgado
If the modem requires +COPS re-registration after setting modes, use the common logic provided by the 3GPP interface, which already knows e.g. whether the registration was automatic or the actual requested operator id in case of being manual.
2020-01-06ublox: use common re-registration logic when neededAleksander Morgado
If the modem requires +COPS re-registration after setting bands or modes, use the common logic provided by the 3GPP interface, which already knows e.g. whether the registration was automatic or the actual requested operator id in case of being manual. This will also make the u-blox plugin use the common +COPS set command implemented in the broadband modem object, which has the fallback to use the MCCMNC encoded in the current charset if needed.
2020-01-06novatel-lte: fallback to parent scan methodAleksander Morgado
There is no need to run +COPS=? in the same way as the parent does it, just fallback to the parent implementation.
2019-12-16ublox: ignore error when disconnecting last LTE bearerAleksander Morgado
This is required in the TOBY-L2 and TOBY-L4 modules in order to report a proper disconnection, even if there is none in reality. The default LTE bearer is always reported connected while registered in LTE. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/166
2019-12-05ublox: implement support to enable and detect +UUDTMF URCsAleksander Morgado
Also, make sure we enable/disable the voice related unsolicited events in both primary and secondary ports, because it may happen that the primary port is connected with PPP and we're using the secondary port for control.
2019-12-05cinterion: fix using correct finish() method in AT commandAleksander Morgado
When using mm_base_modem_at_command_full(), the corresponding mm_base_modem_at_command_full_finish() should be used.
2019-12-03sierra: implement manual CDMA activationAleksander Morgado
2019-12-03sierra: implement automatic CDMA activationAleksander Morgado
2019-12-03novatel: implement manual CDMA activationAleksander Morgado
Including IOTA-based update, e.g. for Sprint.
2019-12-03novatel: implement automatic CDMA activationAleksander Morgado
2019-12-02huawei: avoid using the QCDM port during a voice callAleksander Morgado
2019-11-27build: setup plugin selection logicAleksander Morgado
2019-11-27telit: setup as loadable 'shared' utilsAleksander Morgado
2019-11-27foxconn: setup as loadable 'shared' utilsAleksander Morgado
2019-11-27xmm: setup as loadable 'shared' utilsAleksander Morgado
2019-11-27novatel: setup as loadable 'shared' utilsAleksander Morgado
2019-11-27option: setup as loadable 'shared' utilsAleksander Morgado
2019-11-27sierra: setup as loadable 'shared' utilsAleksander Morgado
2019-11-27mbm: skip setting up as common utils libraryAleksander Morgado
The Ericsson MBM modem management is only used by the MBM plugin.
2019-11-27icera: setup as loadable 'shared' utilsAleksander Morgado
2019-11-27plugin-manager: dynamically load 'shared' util librariesAleksander Morgado
2019-11-27plugins: add README explaining plugin relationshipsAleksander Morgado
2019-11-19sierra: add port hints for EM7565 modemAmol Lad
2019-11-13foxconn: new plugin to support the T77W968Aleksander Morgado
The Dell DW5821e is really a re-branded Foxconn T77W968.
2019-11-07dell,dw5821e: add support for the DW5821e with eSIM variantAleksander Morgado
Same port layout as the default one, just a different PID.
2019-11-05telit: add AT$GPSNMUN descriptionDaniele Palmas
2019-11-02telit: minor coding style fixKrzysztof Drobinski
2019-10-31mm-modem-helpers-telit: fix undefined bitshiftsEric Caruso
Since this plugin uses a bitmask to represent bands, we have to be wary of shifting outside the precision of the bitmask storage type. In this case, it was possible to generate 1 << 31 in a signed integer type as an intermediate step of B3G_FLAG, which is undefined behavior (and usually results in INT_MIN, breaking comparisons with the value). Bug was reported to the chromium tracker at crbug.com/1019301 Original patch updated by Aleksander Morgado to leave MM_MODEM_BAND_TELIT_3G_LAST as MM_MODEM_BAND_UTRAN_19, as that is the highest 3G band supported by the current implementation. Worth noting that this was not a real bug as the maximum flag we would have been setting was (1 << 19) anyway.
2019-10-31telit: fix crash if AT$GPSP=? is supported but no GPS data portAleksander Morgado
We would have been de-referencing a NULL GError.
2019-10-31telit: minor coding style fixesAleksander Morgado
2019-10-30telit: Allow enabling GNSS events if NMEA port was detectedKrzysztof Drobinski
2019-10-30quectel: Add port type hints for BG96Sven Schwermer
Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
2019-10-30quectel: Fix port type hints for EG91Sven Schwermer
Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
2019-10-21telit: increase timeout for AT#REBOOTKrzysztof Drobinski
It was observed that sporadically it may take more than 5 seconds for modem to respond to AT#REBOOT. Increase the timeout on AT command to not report unnecessary errors to the user.
2019-10-17cinterion: don't cache voice support check AT commandsAleksander Morgado
The result of these commands may be different before and after SIM-PIN unlock, so never cache them.
2019-10-17x22x: add support for the Alcatel X602DAleksander Morgado
As discussed in https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/130 Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/130 Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/129
2019-10-17x22x: ignore unhandled URCs in the Alcatel X602DAleksander Morgado
2019-10-16simtech: handle 'MISSED_CALL' URCsAleksander Morgado
https://source.puri.sm/Librem5/ModemManager/issues/6
2019-10-16simtech: setup USB audio channel when in-callAleksander Morgado
We'll use +CPCMREG=1/0 to start/stop USB audio function, and we will also report the specific ttyUSB port to be used for audio in the Call interface.
2019-10-15simtech: handle '+RXDTMF' URCs reporting DTMF tonesAleksander Morgado
2019-10-15simtech: handle non-standard '+CRING' URCsAleksander Morgado
The SIM7600E ends up emitting these URCs with too many <CR>s, and the generic +CRING handler doesn't catch them, interfering with other actions, e.g.: $ sudo mmcli --call 1 --accept error: couldn't accept the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Couldn't accept the call: Unhandled response '+CRING: VOICE +CRING: VOICE''
2019-10-15simtech: handle 'VOICE CALL' URCsAleksander Morgado
Just processing and parsing them for now, so that they don't interfere with other commands: $ sudo mmcli --call 1 --accept error: couldn't accept the call: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Couldn't accept the call: Unhandled response ' VOICE CALL: BEGIN''
2019-10-14simtech: implement +CLCC URC based call list managementAleksander Morgado