aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-20broadband-modem-qmi: 3GPP USSD supportAleksander Morgado
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/26
2020-04-17quectel: Check SIM swap after "+QUSIM: 1" URCTeijo Kinnunen
Quectel emits "+QUSIM: 1" after eUICC reinitialization. Detect it and perform SIM swap check if one is encountered. The motivation here is that M2M eUICC profile switch causes eUICC reset and this is one way to detect and handle profile switches properly on Quectel modems. The existing SIM hot swap mechanism is used as it appears to be suitable for handling profile switches as well as physical swapping of SIM cards.
2020-04-16man,mmcli: remove non-existent --list-bearers optionAleksander Morgado
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/203
2020-04-12api,location: improve InjectAssistanceData() method docsAleksander Morgado
Explain when this method should be used instead of A-GPS.
2020-04-12api,location: improve Setup() method docsAleksander Morgado
Explicitly state that the signals_location argument affects the behavior of the Location property.
2020-04-12api,location: improve Location property docsAleksander Morgado
Clearly specify that GetLocation() is another way to retrieve the location information instead of the Location property.
2020-04-10base-bearer: log connection attempt failure reasonAleksander Morgado
We were logging it as debug, increase logging level to warning to make sure it's always logged.
2020-04-10base-bearer: log stats on disconnectionAleksander Morgado
2020-04-10base-bearer: don't run disconnection path multiple timesAleksander Morgado
2020-04-10api,bearer: add 'total-rx-bytes', 'total-tx-bytes' and 'total-duration' statsAleksander Morgado
Compiling the amount of bytes transferred and received during all tracked connection attempts, as well as the total duration of all the connections.
2020-04-10api,bearer: add 'attempts' and 'failed-attempts' statisticsAleksander Morgado
When we're reusing over and over the same bearer object, we can provide statistical information about the number of connection attempts that have been done and how many of them failed.
2020-04-10doc,api: add reference to --with-at-command-via-dbus in Command() infoAleksander Morgado
2020-04-10api,doc: fix missing Command() doc output in htmlAleksander Morgado
2020-04-10api,doc: fix some property gtk-doc linksAleksander Morgado
2020-04-10broadband-modem-qmi: since 1.24.6 all strings are valid UTF-8Aleksander Morgado
2020-04-10broadband-modem-qmi: request operator reload explicitlyAleksander Morgado
If the modem switches from one roaming operator to a different roaming operator, the actual operator MCCMNC/description will change even if the registration state keeps on being the same (roaming). Detect that, and trigger operator info reloading explicitly.
2020-04-10broadband-modem-mbim: request operator reload explicitlyAleksander Morgado
If the modem switches from one roaming operator to a different roaming operator, the actual operator MCCMNC/description will change even if the registration state keeps on being the same (roaming). Detect that, and trigger operator info reloading explicitly. Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/154
2020-04-09broadband-modem-qmi: explicitly disable autoconnect during enableAleksander Morgado
If the QMI device has autoconnect enabled, it will collide in one way or another with the ModemManager triggered connection sequence, usually because the user-requested settings are different to the autoconnected ones. So, detect whether autoconnect is enabled or not, and if it is, explicitly disable it.
2020-04-09port-qmi: allow users to release clients when no longer neededAleksander Morgado
2020-04-09iface-modem-3gpp: add 5GNR to full 3GPP act maskAleksander Morgado
So that the logic looking for 3GPP related registration info works in the QMI modem object when selected network is reported as 'unknown' but still the radio interfaces list reports 5GNR. <<<<<< TLV: <<<<<< type = "Serving System" (0x01) <<<<<< length = 6 <<<<<< value = 01:02:01:00:01:0C <<<<<< translated = [ registration_state = 'registered' cs_attach_state = 'detached' ps_attach_state = 'attached' selected_network = 'unknown' radio_interfaces = '{ [0] = '5gnr '}' ]
2020-04-09shared-qmi: include all possible 5G related combinations if SSP is supportedAleksander Morgado
2020-04-09helpers-qmi: always log all queried capabilities when building currentAleksander Morgado
2020-04-09fibocom: add FM150 port type hintsAleksander Morgado
2020-04-09fibocom: support QMI capable devicesAleksander Morgado
2020-04-09tests,modem-helpers: regex number is index of an array, so starts at 0Aleksander Morgado
2020-04-09test,modem-helpers: use MMModem3gppRegistrationState values in testsAleksander Morgado
2020-04-09modem-helpers: simplify logic to create array of GRegexAleksander Morgado
Iterate over the list of available patterns, instead of adding them one by one.
2020-04-09broadband-modem: run +C5GREG state checksAleksander Morgado
The generic CREG parser is improved to also allow parsing +C5GREG responses and URCs.
2020-04-09helpers: use generic number parsing methods in CREG parserAleksander Morgado
This fixes the s8500 wave unit test, which was incorrectly parsing the Act field reported as 'B' as "GSM" (strtol(B)=0) Also, given that the generic parsing methods are able to parse numbers from quoted strings, this change allows us to remove the Thuraya specific CREG matching that just took into consideration quoted strings. The Thuraya unit tests are also fixed up to provide proper testing of the logic.
2020-04-09test,modem-helpers: remove obsolete comments in u-blox CREG testsAleksander Morgado
We already support "SMS only" registration state.
2020-04-09libmm-glib,helpers: ignore all leading whitespaces when parsing numbersAleksander Morgado
2020-04-09helpers: add additional AcT values from 27.007Aleksander Morgado
2020-04-09api: new 'attached RLOS' registration stateAleksander Morgado
Reporting the state when the UE attaches to access restricted local operator services.
2020-04-09libmm-glib,helpers: allow reading hex strings from match infoAleksander Morgado
2020-04-09libmm-glib,helpers: skip quotes when reading numbers from match infosAleksander Morgado
Useful when the regex applied to the parseable strings don't have an special ignore rule for the quotes.
2020-04-09modem-helpers: improved +WS46 mode '25' handlingAleksander Morgado
The mode '25' means different things on LTE-capable and non-LTE-capable devices, so improve the logic to clarify that.
2020-04-09iface-modem-3gpp: don't fixup CS network supportAleksander Morgado
This is already done by the modem interface as soon as current capabilities are loaded.
2020-04-09iface-modem-3gpp: new 5GS network supportAleksander Morgado
2020-04-09helpers-qmi: support 5G capabilities and modesAleksander Morgado
2020-04-09api: new 5GNR access technologyAleksander Morgado
2020-04-09broadband-modem: support 5G in +WS46 to capabilities conversionAleksander Morgado
2020-04-09api: new 5G modeAleksander Morgado
2020-04-09api: new 5GNR capabilityAleksander Morgado
2020-04-09build: require libqmi 1.25.4 for full 5G enum supportAleksander Morgado
2020-04-09api: deprecate MM_MODEM_CAPABILITY_LTE_ADVANCEDAleksander Morgado
It's not used anywhere.
2020-04-09iface-modem: simplify is_cdma_only() checkAleksander Morgado
The check needs to look for a matching single bit, so no need to make it too complex.
2020-04-09api,cdma: fix small typoAleksander Morgado
Reported by Malte Grosse. https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/202#note_460466
2020-04-09cli: improve --help output for --modem and --sim optionsAleksander Morgado
Specify the full list of supported object lookup methods.
2020-04-09cli: allow looking up for first available modem or SIMAleksander Morgado
When a system only has one single modem, it's convenient to just look for the first available modem or SIM object, instead of needing to provide the full path or the exact index number. This improvement allows users to use the "any" keyword, or any of its substrings (e.g. "an" or even "a") to match the first available object of the requested type. E.g.: $ mmcli -m a -------------------------------- General | dbus path: /org/freedesktop/ModemManager1/Modem/0 | device id: 1a48f1180f1fb0166d91f7b139d027136b59ba63 -------------------------------- Hardware | manufacturer: Sierra Wireless Inc. | model: Sierra Wireless EM7345 4G LTE ... Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/196
2020-04-09cli: consolidate logic to process user provided object lookup infoAleksander Morgado
The user may specify DBus objects in several ways, e.g. with full object paths, just with the object numeric ids, or in some other cases with the full device UID. Setup one single method to process this info for all object types, so that it's also easier to add new lookup methods for all at the same time.