Ignore PDP type when searching for a suitable APN in the contexts
created by the modem. These contexts modify the PDP type to reflect
the PDP types really supported by the network, which might be more
restricted than the one the user asks for.
This new bearer handles PLS62 LTE attachment, which is quite special as
it tries always to start a context at the same times it attaches. It
also tries to use by default CID 1 for this. What we do is to try always
to use CID 1, and if the required APN does not match it, we change CID 1
to that APN. If that happens, we also re-trigger the attach procedure so
the modem uses the right APN finally.
Override load_power_state_finish and use GTask in the plugin. This way
we avoid a crash that happened because we were using GSimpleAsyncResult
in load_power_state while using load_power_state_finish from the parent
class, which had switched to GTask in latest MM. Fixes LP: #1800113.
47a3104...
by
System Enablement CI Bot <email address hidden>
Increment timeout before pppd gives up when trying to get an IP address.
Needed as some times this modem does not respond to PPP frames, but we
want NetworkManager to wait a bit to stop pppd - otherwise the port is
not properly closed and does not respond to AT commands anymore.
Previously, probing or not the commands depended on a race condition,
and, besides, we need the AT ports for implementing workarounds for
Sierra HL7588. Therefore, we make sure we always probe the AT ports in
the Dell plugin, even when an MBIM port has already been detected.