Commit graph

13 commits

Author SHA1 Message Date
Aleksander Morgado
92781ecc7f modemmanager: add default proto configs
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-27 09:28:10 +01:00
Aleksander Morgado
470fcc221b modemmanager: fix 'any' iptype setting
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>
2019-11-15 15:41:25 +01:00
Aleksander Morgado
859becef19 modemmanager: add IPv6/IPv4v6 support
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-08 11:27:13 +01:00
Aleksander Morgado
579dd0b3bf modemmanager: bump to version 1.12.0
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-07 10:04:53 +01:00
Aleksander Morgado
fc47c47b39 modemmanager: add proto dynamic defaults on dhcp setup
Also, explicitly close the JSON object.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2019-11-07 10:01:39 +01:00
Aleksander Morgado
fa3f9542de modemmanager: add missing path for PID file
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>
2019-11-07 10:01:39 +01:00
Aleksander Morgado
a346d2b953 modemmanager: install carrier mapping configuration files
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>
2019-11-07 10:01:39 +01:00
Aleksander Morgado
35b93c81ff modemmanager: fix bearer disconnection logic
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>
2019-11-07 10:01:39 +01:00
Nicholas Smith
52cd7d5e1d modemmanager: bump version to 1.10.8
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-11-01 06:40:52 +10:00
Alberto Bursi
9f15a632c0 modemmanager: enable mbim/qmi support by default
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>
2019-10-31 14:03:47 +01:00
Sebastian Kemper
fa8ad6e69c modemmanager: fix compilation
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>
2019-10-27 17:58:34 +01:00
Nicholas Smith
805daeaff1 modemmanager: remove check for unneeded host dependency intltool
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-10 08:31:20 +10:00
Nicholas Smith
180fb0d622 modemmanager: add ModemManager to packages
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-09-27 11:26:51 +10:00