aboutsummaryrefslogtreecommitdiff
path: root/net/modemmanager
Commit message (Collapse)AuthorAge
* modemmanager: set interface MTU based on bearer settingsAleksander Morgado2020-05-25
| | | | | | | | Using the same method used by other protocol handlers like uqmi. Fixes https://github.com/openwrt/packages/issues/11383 Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: release 1.12.10Aleksander Morgado2020-05-09
| | | | | | https://lists.freedesktop.org/archives/modemmanager-devel/2020-May/007828.html Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: fix compilation under uClibc-ngRosen Penev2020-04-22
| | | | | | Needs nls.mk as a result of the glib2 change. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* modemmanager: release 1.12.8Aleksander Morgado2020-03-14
| | | | | | https://lists.freedesktop.org/archives/modemmanager-devel/2020-March/007729.html Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: release 1.12.6Aleksander Morgado2020-02-12
| | | | | | https://lists.freedesktop.org/archives/modemmanager-devel/2020-February/007713.html Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: fixed license informationRosen Penev2020-01-22
| | | | | | | | Removed unrecognized configure option. Small cleanups. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* modemmanager: release 1.12.4Aleksander Morgado2020-01-14
| | | | | | | | | New stable release with lots of fixes, including some severe memory leaks happening when GPS management is used in QMI-based devices. https://lists.freedesktop.org/archives/modemmanager-devel/2020-January/007670.html Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: depend on ppp explicitlyAleksander Morgado2019-12-19
| | | | | | | | | | | | | | | The ModemManager protocol handler checks for the pppd daemon during the initialization, and if it doesn't exist, the protocol handler is not even loaded by netifd. This is because the IP method to use on the connection of a given modem is not known until ModemManager reports via its interfaces how the modem should be connected (either using PPP, with DHCP, or with explicit IP settings). Fixes https://github.com/openwrt/packages/issues/10802 Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: release 1.12.2Aleksander Morgado2019-12-10
| | | | | | | | This new release also installs additional 'shared utils' loadable libraries in /usr/lib/ModemManager, so make sure we include them in the packaging. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: install common utils in /usr/share/ModemManagerAleksander Morgado2019-11-27
| | | | | | | | | The modemmanager.common file includes several utility functions that are used in several places like the protocol handler and in hotplug scripts. These utilities should not be installed in /etc as they're not configuration. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: don't flag the 'device' option as 'device' typeAleksander Morgado2019-11-27
| | | | | | | | | Unlike other modem protocol handlers like the ones implemented by uqmi or umbim, in the modemmanager protocol handler the 'device' option does not specify a device node in /dev. Therefore, we shouldn't flag the option as 'device' type (dt_type_device). Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: fix device unplug handlingAleksander Morgado2019-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | When a USB modem device is unplugged, we had to do two different things: first, cleanup the sysfs cache; and second, set interface as unavailable. Those two things were never being done properly due to several different issues: * The parent sysfs path retrieval logic relies on checking for which sysfs path has the vid/pid files. This logic obviously only works when the device is available, and cannot be used on e.g. removal events. * The command to cleanup the modem wait status from the sysfs cache was not removing the previous state properly, because the sysfs path variable wasn't escaped properly for the sed command. This patch handles those issues in order to have a proper device removal handling, by making sure the sysfs path is properly escaped in the sed command, and by introducing a new hotplug script that runs when the full USB device is removed. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: flag as available and no_device when initializingAleksander Morgado2019-11-27
| | | | | | | Otherwise, if the modem is reseted, netifd will think that the device is gone forever. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: add default proto configsAleksander Morgado2019-11-27
| | | | Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: fix 'any' iptype settingAleksander Morgado2019-11-15
| | | | | | | | | | | When the user requests 'any' as 'iptype', we may get either IPv4 or IPv6 settings. Simplify the logic by not requiring any explicit iptype before loading the method reported by the bearer object for IPv4 and IPv6; just load the methods right away and setup settings based on those. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: add IPv6/IPv4v6 supportAleksander Morgado2019-11-08
| | | | Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: bump to version 1.12.0Aleksander Morgado2019-11-07
| | | | Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: add proto dynamic defaults on dhcp setupAleksander Morgado2019-11-07
| | | | | | Also, explicitly close the JSON object. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: add missing path for PID fileAleksander Morgado2019-11-07
| | | | | | | The procd based init setup uses a custom `pidfile` parameter, but the used MODEMMANAGER_PID_FILE was not being defined anywhere. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: install carrier mapping configuration filesAleksander Morgado2019-11-07
| | | | | | | | Since ModemManager 1.10.2, per-device carrier mapping configuration files may be installed, providing support for automatic carrier config selection. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: fix bearer disconnection logicAleksander Morgado2019-11-07
| | | | | | | The bearer status wasn't being loaded in key/value mode, and therefore would always fail to load the IPv4 config method. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
* modemmanager: bump version to 1.10.8Nicholas Smith2019-11-01
| | | | Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
* modemmanager: enable mbim/qmi support by defaultAlberto Bursi2019-10-31
| | | | | | | | | | | | MBIM and QMI support (necessary for modern and high-performance LTE modems) should be default y otherwise the only way to use modemmanager with these protocols is to recompile the package. This is very inconvenient for most end users. Also fix typo in PKG_HASH definition. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* modemmanager: fix compilationSebastian Kemper2019-10-27
| | | | | | | | | | | | | | | | | | | | MM has a problem with cross-compiling. It needs to run some tools during compilation (glib-mkenums & gdbus-codegen) but uses pkg-config to detect them. But like this it finds the wrong tools, the ones in $(STAGING_DIR). The correct tools are in $(STAGING_DIR_HOSTPKG)/bin. As a workaround this commit patches configure.ac so the correct tools are used, the ones from glib2/host. The latter is also added to PKG_BUILD_DEPENDS to reflect this. libxslt/host is also added to PKG_BUILD_DEPENDS and the related RequireCommand call is removed. This is OK to do since we have libxslt/host available since a few days ago. Resolves #10249 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* modemmanager: remove check for unneeded host dependency intltoolNicholas Smith2019-10-10
| | | | Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
* modemmanager: add ModemManager to packagesNicholas Smith2019-09-27
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>