I realized that timers used in dhcp plugin use monotonic timers which does
not progress during suspend duration of device. Because of this the devices
which are sleepy in nature never get to renew IP address and causes lot of
communication failures.

I have an implementation which in stead of using CLOCK_MONOTONIC uses
CLOCK_BOOTTIME_ALARM. This implementation is based on creating a timer fd
and hooking that fd to a GSource which in turn is attached to GMainLoop.

Is community open in accepting a patch for this? If yes I could send the
patch for review?

Regards
Naveen
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to