aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-06-15 09:24:50 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-06-16 21:00:16 +0000
commit2ea67ae3e8631b999239b5b8d471d31dcc8ef3b9 (patch)
tree2008af786d553468ce82b9a484b29d1af77d0e4a /src
parent3004a3e53263625da0b26e50c9107f1bad5b371e (diff)
fibocom: limit multiplexing in NL668 to one single PDN
NL668 doesn't correctly support more than one multiplexed PDN connection. Limit this explicitly so that it never attempts to use more than one. # mmcli -m a --simple-connect="multiplex=requested,apn=internet,ip-type=ipv4v6,apn-type=default" successfully connected the modem # mmcli -m a --simple-connect="multiplex=requested,apn=internet2,ip-type=ipv4v6,apn-type=default" error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Invalid bearer properties: Maximum number of multiplexed bearers reached'
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fibocom/77-mm-fibocom-port-types.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/fibocom/77-mm-fibocom-port-types.rules b/src/plugins/fibocom/77-mm-fibocom-port-types.rules
index 1fb26628..e2cabefc 100644
--- a/src/plugins/fibocom/77-mm-fibocom-port-types.rules
+++ b/src/plugins/fibocom/77-mm-fibocom-port-types.rules
@@ -25,6 +25,9 @@ ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a0", ENV{.MM_USBIFNUM}=="02", SUBS
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a0", ENV{.MM_USBIFNUM}=="03", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a0", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1"
+# Fibocom NL668 only supports one single multiplexed PDN connection
+ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="01a0", ENV{ID_MM_MAX_MULTIPLEXED_LINKS}="1"
+
# Fibocom FM150
# ttyUSB0 (if #0): QCDM port
# ttyUSB1 (if #1): AT port