OSDN Git Service

Restart, cleanup or retry inactve connections.
authorWink Saville <wink@google.com>
Mon, 5 Aug 2013 21:44:01 +0000 (14:44 -0700)
committerWink Saville <wink@google.com>
Mon, 5 Aug 2013 21:44:01 +0000 (14:44 -0700)
Instead of retrying all inactive connections, restart radio on very bad
errors, clean up those that are permanent failures and retry
the others.

Bug: 10131736
Change-Id: I2527b18d6cda52c55fb94be58fbb1a7a86818ef9
Signed-off-by: Wink Saville <wink@google.com>
include/telephony/ril.h

index 68656fa..ac69b18 100644 (file)
@@ -387,6 +387,7 @@ typedef enum {
     PDP_FAIL_SERVICE_OPTION_NOT_SUBSCRIBED = 0x21, /* no retry */
     PDP_FAIL_SERVICE_OPTION_OUT_OF_ORDER = 0x22,
     PDP_FAIL_NSAPI_IN_USE = 0x23,                  /* no retry */
+    PDP_FAIL_REGULAR_DEACTIVATION = 0x24,          /* restart radio */
     PDP_FAIL_ONLY_IPV4_ALLOWED = 0x32,             /* no retry */
     PDP_FAIL_ONLY_IPV6_ALLOWED = 0x33,             /* no retry */
     PDP_FAIL_ONLY_SINGLE_BEARER_ALLOWED = 0x34,