[PATCH] base-bearer: use an initial longer timeout for connectivity check

Aleksander Morgado aleksander at aleksander.es
Mon Jun 5 13:21:04 UTC 2017


On Mon, Jun 5, 2017 at 1:57 PM, Colin Helliwell
<colin.helliwell at ln-systems.com> wrote:
>
>> If we ask too quick for the PDP context status after a successful
>> connection attempt reported by the modem, we may find it still flagged
>> as inactive if the modem is still busy setting up the PPP session.
>>
>> Do an explicit longer initial timeout before we run the first check,
>> and after that one setup the additional checks at a higher rate.
>>
>> Reported-by: Colin Helliwell <colin.helliwell at ln-systems.com>
>>
>> ---
>>
>> Hey Colin,
>>
>> What do you think of this patch? Could you see if it helps with the issue you had?
>>
>> Cheers!
>
> It's proving hard to contrive the ppp to take longer than usual, but certainly I see the 30s interval before the first 'CGACT?', and 5s subsequently.

Ok, well, you had already proved that the longer timeout would help
you in the past, so I guess it's good if we merge this then. In git
master now.

Thanks!

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list