[PATCH 2/4] iface-modem: if bands, capabilities or modes change, refresh signal

Aleksander Morgado aleksander at aleksander.es
Mon May 22 17:01:04 UTC 2017


On Mon, May 22, 2017 at 5:46 PM, Dan Williams <dcbw at redhat.com> wrote:
>> We also remove the explicit refresh request from the Cinterion
>> plugin,
>> as this is a generic action applicable to all modems that require
>> polling for signal quality and/or access technology.
>
> Should the poll interval get reset to fast-polling after these
> operations?
>
> This will now attempt an immediate refresh of the signal/act but if the
> device won't acquire the new network for a couple seconds, when will
> the next poll happen?  Ideally fairly soon, but that wouldn't be the
> case if the modem was previously using the long polling interval.

Ah, that is a good thing to add indeed. I'll reset ctx->interval and
ctx->initial_retries when refresh() is called, it makes total sense.


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list