summaryrefslogtreecommitdiffstats
path: root/include/telephony/ril.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r--include/telephony/ril.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index 0e117ac..6e30d39 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -67,7 +67,9 @@ typedef enum {
RIL_E_SUBSCRIPTION_NOT_AVAILABLE = 12, /* fail to find CDMA subscription from specified
location */
RIL_E_MODE_NOT_SUPPORTED = 13, /* HW does not support preferred network type */
- RIL_E_FDN_CHECK_FAILURE = 14 /* command failed because recipient is not on FDN list */
+ RIL_E_FDN_CHECK_FAILURE = 14, /* command failed because recipient is not on FDN list */
+ RIL_E_ILLEGAL_SIM_OR_ME = 15 /* network selection failed due to
+ illegal SIM or ME */
} RIL_Errno;
typedef enum {
@@ -1726,8 +1728,14 @@ typedef struct {
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
+ * ILLEGAL_SIM_OR_ME
* GENERIC_FAILURE
*
+ * Note: Returns ILLEGAL_SIM_OR_ME when the failure is permanent and
+ * no retries needed, such as illegal SIM or ME.
+ * Returns GENERIC_FAILURE for all other causes that might be
+ * fixed by retries.
+ *
*/
#define RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC 46
@@ -1745,8 +1753,14 @@ typedef struct {
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
+ * ILLEGAL_SIM_OR_ME
* GENERIC_FAILURE
*
+ * Note: Returns ILLEGAL_SIM_OR_ME when the failure is permanent and
+ * no retries needed, such as illegal SIM or ME.
+ * Returns GENERIC_FAILURE for all other causes that might be
+ * fixed by retries.
+ *
*/
#define RIL_REQUEST_SET_NETWORK_SELECTION_MANUAL 47