aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/modemmanager
AgeCommit message (Collapse)Author
2022-07-09modemmanager: update to 1.18.8Adrian Freihofer
* A new connection status dispatcher setup is provided, where users can provide custom scripts that will be called on bearer connect/disconnect events. This dispatcher will make the netifd integration in openwrt work much better, as we'll be able to report network-initiated disconnections cleanly to netifd. There are no default connection status dispatcher scripts installed, but it's suggested distributions make sure the following directories exist: - ${sysconfdir}/ModemManager/connection.d/ - ${libdir}/ModemManager/connection.d/ * API: ** Add missing Simple interface definitions in ModemManager-names.h. * Build: ** meson: fix daemon enums dependencies. ** meson: fix port enums includes. ** meson: fix 'export_packages' in GIR setup. ** meson: fix simtech plugin module name. ** systemd: don't run ModemManager in containers. * Core: ** serial: ensure the port object is valid after BUFFER_FULL handling. ** netlink: use unaligned netlink attribute length. ** netlink: only change IFF_UP flag. ** bearer: match unknown auth to chap in loose comparisons. ** charsets: return error if UTF-8 validation fails. ** fcc-unlock: make scripts POSIX shell compatible. ** modem-helpers: consider minimum ID when choosing best profile. ** modem-helpers: fix reading <Act> given in COPS=? responses. ** sms: prevent crash if date is out of range. ** profile-manager: fix copy-paste error on tags for quarks. * QMI: ** Ignore slot status indications until initial status is known. ** Return error when loading capabilities if none is found. * MBIM: ** Default initial EPS bearer's auth to chap when unknown. ** Update default error when network error is out of range. * mmcli: ** Fix key length when printing list of items. * Plugins: ** linktop: new port type hints. ** cinterion: add support for PLSx3w modems ** huawei: disable +CPOL based features in Huawei E226 * Several other minor improvements and fixes. Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-03-03modemmanager: update 1.16.8 -> 1.18.6Adrian Freihofer
Recipe changes: * Switch to meson and git. From release notes of ModemManager: "The next major release will likely be a meson-only one, and will therefore not be based on a source release tarball any more, but on specific git tags instead. The tar archive does not even contain the meson.build file." * Update licenses to -or-later (warning about deprecated licenses) * Make vala dependecy optional * Delete redundant package split lines * add missing dbus dependency The most important features and changes in this release are the following: * Data session multiplexing can now be enabled in QMI and MBIM modems, e.g. so that multiple different APNs can be connected separately over a single network interface. The multiplexing is disabled by default in this release, except for cases where it's required (e.g. if non-multiplexed sessions aren't supported) like IPA based Qualcomm SoCs. Users can request the multiplexing support explicitly via settings when creating the connection bearer object. In order to allow easy testing of the multiplexing feature without requiring any additional change in the stack, a new '--test-multiplex-requested' option in the daemon allows to switch the default (when not explicitly given by the user) to attempt to use multiplexing. It is worth noting that when multiplexing is enabled, the data network interface used by the modem will be a virtual network interface created in runtime, and will therefore have a different name than the real network interface exposed by the modem. If there are additional settings in the system relying on the data network interface name (e.g. iptables rules), they may need to be updated. * The ModemManager daemon can run now in a 'quick suspend/resume' mode, in which no explicit data disconnection is triggered on suspend, and no explicit device re-probing from scratch is launched on resume. Instead, the daemon will try to refresh the state of all interfaces upon suspend, e.g. to see if the module keeps registered to the same operator, to see if it is still connected, and so on. This mode of operation is useful when the WWAN module stays awake while the host is suspended, and can be enabled with the '--test-quick-suspend-resume' option in the daemon. * API: ** New '3gppProfileManager' interface, providing operations on the list of connection profiles stored in the 3GPP module. This interface is implemented for all AT, QMI and MBIM protocols. ** New 'DisableFacilityLock()' method in the 3GPP interface, implemented for QMI and MBIM devices. ** The 'MaxBearers' property is now deprecated, as it didn't provide any additional information to what 'MaxActiveBearers' already provides. ** New 'MaxActiveMultiplexedBearers' property, listing how many bearers can be connected at the same time if multiplexing is enabled. ** New settings in the bearer properties, applicable to both the 'Simple.Connect()' and 'Modem.CreateBearer()' methods: *** 'multiplex': which allows the user to specify whether multiplexing should be avoided ('none'), whether it should be mandatory ('required') or whether it should be enabled if available or skipped if unavailable ('requested'). *** 'profile-id': which allows the user to request a connection attempt with an existing profile stored in the module. *** 'apn-type': which allows the user to specify the purpose of a given connection, e.g. the user could create a connection to an APN providing default internet connectivity and another one to an APN providing access to the MMS gateway. This setting may or may not be stored in the module itself, it depends on the type of module. ** New 'Multiplexed' boolean property in the Bearer object, specifying whether the bearer is connected through a multiplexed interface. ** New 'ConnectionError' property in the bearer object, specifying the last error reported by the module during a failed connection attempt or during a network-initiated disconnection. ** Updated the list of enum values in the MMMobileEquipmentError' type, according to the error codes defined in v17.1.0 of 3GPP TS 27.007. * Core: ** iconv() features support is detected at runtime, and logged when the daemon starts. ** Updated the base modem object to allow plugins to specify the types of data ports they support, based on the specific plugin implementations, e.g. so that a modem supporting only AT+PPP can ignore NET ports and vice versa. ** Added support for modems exposing control ports via QRTR channels. * Modem interface: ** The Dual SIM logic that would iterate over all slots during initialization is updated, so that we only report the information that we can gather without any explicit slot change. E.g. with QMI we can know whether there is a SIM in the non-active slot, and the ICCID of that SIM, but we cannot know the MCCMNC or the operator name of the SIM unless we change to that slot. We must not do slot changes arbitrarily like that, and so that logic is removed, even if we lose some of the information that we were providing in the interface. * Location interface: ** The multi-sentence NMEA trace support is updated to include additional possible trace types in addition to GSV (e.g. ALM, GSV, RTE, SFI) and also when coming from other constellations, not just GPS. * SIM: ** New 'PreferredNetworks' property and 'SetPreferredNetworks' method, implemented using '+CPOL' for generic AT modems and 'NAS Get/Set Preferred Networks' for QMI modems. Several different modules and plugins (e.g. Sierra Wireless EM7345, Telit LN930, SIM7070, all Option and Iridium devices...) have this feature explicitly disabled due to '+CPOL' not behaving properly (even crashing the module sometimes). * QMI: ** The logic that decides which data mode (802.3 or raw-ip) is used in modules managed by the qmi_wwan driver changes in this release. Until now, if a module reported itself as configured in 802.3 mode on boot, that mode would be the one used in normal operation. Due to the new multiplexing feature, this is no longer true, and if possible the daemon will always try to switch the module to raw-ip, and fallback to 802.3 only if raw-ip is unsupported. ** Enabled both AT and QMI indications for the messaging and voice interfaces so that new SMS and call events are reported via both channels. This solves issues seen in the Pinephone when waking up from suspend. ** Enabled network reject indications. ** If operator name not updated through standard indications, it will be explicitly queried with 'NAS Get Plmn Name'. ** Added support for transfer-route MT messages. ** Increased the QMI open timeout to 45s, as required by the newest modules. ** Implemented additional logic to read the status of the different facility locks in the module. ** Updated ICCID reading logic to parse it as hex instead of BCD. ** Improved handling of the MNC PCS digit in the operations involving MCCMNC. ** Automatically run the 'DPM Open Port' logic on IPA based setups to bind the hardware tx/rx endpoints with the logical ones in the QMI protocol. ** Implemented support for the Voice interface and its operations, not only standard voice call management, but also support for the supplementary services. Voice call management will be done completely using QMI, even if the new call indications are notified via AT URCs. * MBIM: ** Implemented support for Dual SIM in non-QMI MBIM devices, using the Microsoft Basic Connect Extensions service. ** Increased the timeout for the MBIM_CID_HOME_PROVIDER query to 30s. ** Updated to load model string using QMI over MBIM if available. ** Increased the MBIM open timeout to 45s, as required by the newest modules. * SMS: ** Defined a common timeout of 180s for all send operations. * libmm-glib: ** Updated with new methods and types to handle all the DBus API updates. ** Extended with additional methods in the Location3gpp object to get/set the full operator MCCMNC string, instead of integers without MNC PCS digit info. ** Extended the 'ModemLocation' interface with methods to get the signaled location updates; i.e. without requiring an explicit GetLocation(), and obviously only supported when location signaling is explicitly enabled. ** Updated the way the internal monitored properties are handled in the different types, now using some handy helper macros to share the same logic among all. * Plugins: ** zte: disabled CIND/CMER support. ** qcom-soc: added support for QRTR+IPA based setups. ** qcom-soc: added support for the WWAN subsystem instead of RPMSG. ** quectel: enabled QGPSXTRA by default when starting the GNSS engine. ** quectel: add support for EM120/160 PCIe modules. ** quectel: added Firehose update method. ** ublox: added additional URAT combinations. ** ublox: flagged UBANDSEL as unsupported in the SARA-R4 and -N4 modules. ** cinterion: added new custom MBIM based modem with shared reset operation. ** cinterion: ignored the MBIM Intel Firmware Update service completely. ** foxconn: added custom carrier config setup for the T77W968 module. Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-05modemmanager: remove intltool-native DEPENDSRoss Burton
The use of intltool was removed in the 1.8.0 release, back in 2018. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03Convert to new override syntaxMartin Jansa
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-07-16modemmanager: upgrade 1.16.6 -> 1.16.8wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-09modemmanager: upgrade 1.16.4 -> 1.16.6Andreas Müller
Huge changelog can be found at [1] [1] https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/master/NEWS Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-22modemmanager: upgrade 1.16.2 -> 1.16.4Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-13modemmanager: upgrade 1.14.10 -> 1.16.2Vinícius Ossanes Aquino
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-25modemanager: upgrade 1.14.8 -> 1.14.10zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-23modemmanager: upgrade 1.14.6 -> 1.14.8zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02modemmanager: upgrade 1.14.2 -> 1.14.6Zang Ruochen
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10modemmanager: Update 1.12.12 -> 1.14.2Fabio Berton
Remove --enable-more-warnings from toolchain-clang. This option was removed in ModemManager commit [1]. [1] https://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=1c078531a017358241a35475fb24f2bd65d501db Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-29modemmanager: upgrade 1.12.10 -> 1.12.12Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-13modemmanager: upgrade 1.12.8 -> 1.12.10Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-18modemmanager: Upgrade 1.12.6 -> 1.12.8Adrian Bunk
Bugfix release on the 1.12 stable branch. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-23modemmanager: Upgrade 1.12.4 -> 1.12.6Adrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-07modemmanager: Add a PACKAGECONFIG for the new --with-at-command-via-dbus optionAdrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-31modemmanager: upgrade 1.10.8 -> 1.12.4Michael Haener
Signed-off-by: Michael Haener <michael.haener@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13modemmanager: Upgrade 1.10.6 -> 1.10.8Michael Scott
Includes: Fix for an issue presenting after 1.10.6 update where modem would enter status denied state. See: https://cgit.freedesktop.org/ModemManager/ModemManager/commit/?h=1.10.8&id=47fd8a1e55cac0b0b45812e1dda826f38c264d1b Signed-off-by: Michael Scott <mike@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08modemmanager: Upgrade 1.10.2 -> 1.10.6Otavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-30modemmanager: Upgrade 1.10.0 -> 1.10.2Otavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-08modemmanager: Use a simpler workaround for the clang buildAdrian Bunk
The check whether the compiler understands an option is broken in m4/compiler_warnings.m4, but if we are just workarounding it then do a minimal workaround without patching. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25modemmanager: Remove the obsolete dependency on dbus-glibAdrian Bunk
Upstream stopped using it in 2012. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-23modemmanager: Update to 1.10.0Andrei Gherzan
Commit includes removal of upstream merged patch. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-20modemmanager: enable polkit depending on distro featureStefan Agner
Enable the polkit package config depending on whether polkit is enabled in DISTRO_FEATURES. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-11modemmanager: Add libxslt-native to DEPENDSTheodore A. Roth
Addresses the following build error: | make[2]: Entering directory '/home/matt/renew_thud/build/tmp/work/armv5e-poky-linux-gnueabi/modemmanager/1.8.2-r0.tr0/build/include' | xsltproc --xinclude --nonet ../../ModemManager-1.8.2/build-aux/header-generator.xsl ../../ModemManager-1.8.2/introspection/all.xml > ModemManager-names.h | /bin/bash: xsltproc: command not found | make[2]: *** [Makefile:651: ModemManager-names.h] Error 127 Problem doesn't manifest if the host has already installed xsltproc outside of OE environment. Signed-off-by: Theodore A. Roth <troth@openavr.org> Signed-off-by: Matthew Stanger <matthew_stanger@trimble.com> Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23modemmanager: Fix build with gcc9Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-07modemmanager: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26modemmanager: Update flag for disabling mbimBryan Gillespie
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-05modemmanager: set udev base dir to ${nonarch_base_libdir}/udevRicardo Salveti
Fixes QA issue when building modemmanager with usrmerge: /lib should be relocated to /usr. [usrmerge] Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-21modemmanager: Upgrade to 1.8.2Adrian Bunk
Obsolete patch dropped, upstream solved this differently: Use realpath() instead of canonicalize_filename(), fixing build with musl libc. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-16modemmanager: Fix build with musl provide canonicalize_file_name()Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Andreas Müller <schnitzeltony@gmail.com>
2018-05-17modemmanager: fix mbim disable stringMartin Kelly
The current string used to disable mbim is "--enable-mbim=no", which is producing a warning. It should be "--with-mdim=no", so change it. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17modemmanager: upgrade to 1.7.991Martin Kelly
This version has a ublox plugin for expanded modem support. The underlying issue that enum-conversion.patch fixes appears to already have been fixed upstream, so we can drop the patch. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-07Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22modemmanager: unblacklist - libmbim is backAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-13recipes: blacklist recipes depending on blacklisted recipesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-26modemmanager: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-08-08modemmanager: update to 1.6.0 and unblacklist - libqmi was fixedAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13abiword, fbreader, tvheadend, glmark2, libqmi, modemmanager, thrift, wvdial, ↵Martin Jansa
wvstreams, dt, collectd, gtkmathview, tcsh, glcompbench, geos, libspatialite, geis, grail, opencv, openwbem, fwts: blacklist, fails to build with gcc-6 or glibc-2.24 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-14modemmanager: fix vala supportAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2015-12-18modemmanager: Start alwaysAdrian
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18modemmanager: add dbus configAdrian
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18modemmanager: Add PACKAGECONFIGsAdrian
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18modemmanager: Update to 1.4.12Adrian
- Fixes segfaults, memleaks and other bugs - Support more modems Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13modemmanager: depend on libgudev not on udevAdrian
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-19modemmanager: update to 1.4.2Andreas Müller
modemmanager has moved to freedesktop.org Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>