shill: add 10 seconds to max dark resume delay

Add an additional 10 seconds to the max dark resume
delay so that shill can establish a connection with APs
that take longer to issue DHCP leases.

BUG=chromium:443458
TEST=Perform the following manual test twice, using the Netgear WNDR3400v3 as
the AP on the first run, and the D-Link DGL-5500 as the AP on the second run:
 1) Boot into a samus test image.
 2) Run 'ff_debug +wifi; ff_debug --level -3'
 3) Run 'echo 0 > /var/lib/power_manager/disable_dark_resume; restart \
    powerd'
 4) Enable all wake on WiFi features with the following command:
     dbus-send --system --print-reply --dest=org.chromium.flimflam \
       /device/wlan0 org.chromium.flimflam.Device.SetProperty \
         string:WakeOnWiFiFeaturesEnabled \
           variant:string:"packet_and_ssid"
 5) Set the wake-to-scan frequency to 60 seconds with the
    following command:
     dbus-send --system --print-reply --dest=org.chromium.flimflam \
       /device/wlan0 org.chromium.flimflam.Device.SetProperty \
         string:WakeToScanFrequency variant:uint32:60
 6) Connect samus to an AP.
 7) Disable the AP. Verify that the samus is fully disconnected by the WiFi
    icon state (a cross over empty WiFi bars).
 8) Run 'powerd_dbus_suspend' to suspend the system.
 9) Wait for the samus to fully suspend. You can verify this by observing that
    the light bar turns off. Then, immediately re-enable the AP.
10) Wait ~50 more seconds and verify that the samus wakes on dark resume
    by observing that light bar turns on while the screen is off.
11) Wait again till the samus completes dark resume and suspends again.
12) Wake the samus by pressing any key.
13) Verify that the samus is connected immediately upon waking by observing that
    the WiFi icon is in the connected state (i.e. solid, filled bars).

Change-Id: Iaff9a8e4a7a4451f9ae2238f72d82bb3ed466c96
Reviewed-on: https://chromium-review.googlesource.com/238890
Tested-by: Samuel Tan <samueltan@chromium.org>
Reviewed-by: Alexei Svitkine <asvitkine@google.com>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
5 files changed