OSDN Git Service

Update the profile id and the comments to handle RIL_REQUEST_SET_DATA_PROFILE
authorHui Wang <huiwang@motorola.com>
Thu, 16 Oct 2014 19:59:27 +0000 (14:59 -0500)
committerAmit Mahajan <amitmahajan@google.com>
Mon, 20 Oct 2014 17:41:38 +0000 (10:41 -0700)
Change-Id: I6a5651d2b9dc3682996b2a919d5c1c8201e5660b

include/telephony/ril.h

index 6f3338b..000e7ce 100644 (file)
@@ -531,7 +531,11 @@ typedef enum {
 typedef enum {
     RIL_DATA_PROFILE_DEFAULT    = 0,
     RIL_DATA_PROFILE_TETHERED   = 1,
-    RIL_DATA_PROFILE_OEM_BASE   = 1000    /* Start of OEM-specific profiles */
+    RIL_DATA_PROFILE_IMS        = 2,
+    RIL_DATA_PROFILE_FOTA       = 3,
+    RIL_DATA_PROFILE_CBS        = 4,
+    RIL_DATA_PROFILE_OEM_BASE   = 1000,    /* Start of OEM-specific profiles */
+    RIL_DATA_PROFILE_INVALID    = 0xFFFFFFFF
 } RIL_DataProfile;
 
 /* Used by RIL_UNSOL_SUPP_SVC_NOTIFICATION */
@@ -4061,6 +4065,7 @@ typedef struct {
  * RIL_REQUEST_SET_DATA_PROFILE
  *
  * Set data profile in modem
+ * Modem should erase existed profiles from framework, and apply new profiles
  * "data" is an const RIL_DataProfileInfo **
  * "datalen" is count * sizeof(const RIL_DataProfileInfo *)
  * "response" is NULL