commit | a14941d234722d4f867027a966ef85ae0f7ba3a9 | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@chromium.org> | Fri Apr 12 16:58:26 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Wed Apr 24 15:32:06 2013 -0700 |
tree | baf0ad23a395a709f4590c2ab4919ebd49a71c41 | |
parent | 7aed61cab2dc17f3c7f8c4a2a6d8d72ae1b7629d [diff] |
shill: cellular: Reset modem after timeout following activation. After a successful online payment, the modem may fail to register with the network, which will prevent the modem from ever being reset and will render cellular connectivity unuseable until the user manually resets. To prevent this, shill will now automatically reset the modem after a certain timeout following online payment. BUG=chromium:230476 TEST=1. Build and run unit tests. 2. In one of the locations where the bug is observed (e.g. NYC), activate a new LTE SIM on a link device. If it is observed that the service remains in the "Activating" state for too long, it should eventually reset after the timeout fires. Verify this both by observing the behavior and the related logs. After this, /var/cache/shill/activating_iccid_store.profile should contain the value '3' assigned to the ICCID. The service should then get marked as 'Activated' only after the network is registered to. 3. After activation completes, connecting to the service shouldn't fail due to "device not being in the registered state". If connect fails, verify that this is not the cause by looking at the logs. Change-Id: I93c21e5ffce6946b608c1e7079833a57dcf6ab14 Reviewed-on: https://gerrit.chromium.org/gerrit/48063 Commit-Queue: Arman Uguray <armansito@chromium.org> Reviewed-by: Arman Uguray <armansito@chromium.org> Tested-by: Arman Uguray <armansito@chromium.org>