summaryrefslogtreecommitdiffstats
path: root/include/telephony/ril.h
diff options
context:
space:
mode:
authorJake Hamby <jhamby@google.com>2014-02-06 14:52:05 -0800
committerJake Hamby <jhamby@google.com>2014-02-18 12:46:12 -0800
commitd27c9d58a9fc1571427e903dcd3a8d048f083535 (patch)
tree5f510268749bda780840945c6214120397c0c10e /include/telephony/ril.h
parentcb1f52209cd7ff75a158e8a987f6f8d53334bec8 (diff)
downloadandroid_hardware_ril-d27c9d58a9fc1571427e903dcd3a8d048f083535.tar.gz
android_hardware_ril-d27c9d58a9fc1571427e903dcd3a8d048f083535.tar.bz2
android_hardware_ril-d27c9d58a9fc1571427e903dcd3a8d048f083535.zip
Remove unneeded new RIL command.
Remove the recently added RIL_REQUEST_SET_RADIO_MODE command and update the definition of the RIL_REQUEST_NV_RESET_CONFIG parameter. Also, space out the NV item enum values so we can add new items per category. Bug: 12864208 Change-Id: I0831b8495d06065e96239ef74d67342daa7b3743
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r--include/telephony/ril.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index afd6d85..c04f560 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -3734,8 +3734,9 @@ typedef struct {
* This is used for device configuration by some CDMA operators.
*
* "data" is int *
- * ((int *)data)[0] is 1 for a factory reset (RTN)
- * ((int *)data)[0] is 2 for a radio reset (SCRTN)
+ * ((int *)data)[0] is 1 to reload all NV items
+ * ((int *)data)[0] is 2 for erase NV reset (SCRTN)
+ * ((int *)data)[0] is 3 for factory reset (RTN)
*
* "response" is NULL
*
@@ -3746,26 +3747,6 @@ typedef struct {
*/
#define RIL_REQUEST_NV_RESET_CONFIG 121
-/**
- * RIL_REQUEST_SET_RADIO_MODE
- *
- * Set radio mode. The exact meaning of these states is defined by the OEM.
- *
- * "data" is int *
- * ((int *)data)[0] is 0 for "offline mode"
- * ((int *)data)[0] is 1 for "online mode"
- * ((int *)data)[0] is 2 for "low-power mode"
- * ((int *)data)[0] is 3 for "reset radio"
- *
- * "response" is NULL
- *
- * Valid errors:
- * SUCCESS
- * RADIO_NOT_AVAILABLE
- * GENERIC_FAILURE
- */
-#define RIL_REQUEST_SET_RADIO_MODE 122
-
/***********************************************************************/