Add DS support.

Change-Id: Ib8bc4e171dd5ca526f8e151ff3d467097582a8cb
diff --git a/mbtk/libmbtk_lib/ril/inc/mbtk_ril.h b/mbtk/libmbtk_lib/ril/inc/mbtk_ril.h
index 3ad1dd4..11cf8ec 100755
--- a/mbtk/libmbtk_lib/ril/inc/mbtk_ril.h
+++ b/mbtk/libmbtk_lib/ril/inc/mbtk_ril.h
@@ -20,8 +20,8 @@
 
 // Tag(4) + Packet_Length(2)
 #define RIL_SOCK_PACK_EXTRA_LEN 6
-// RIL_SOCK_PACK_EXTRA_LEN + at_port(1) + Index(2) + Type(2) + Id(2) + Error(2) + data_len(2)
-#define RIL_SOCK_PACK_LEN_MIN (RIL_SOCK_PACK_EXTRA_LEN + 11)
+// RIL_SOCK_PACK_EXTRA_LEN + at_port(1) + sim_id(1) + Index(2) + Type(2) + Id(2) + Error(2) + data_len(2)
+#define RIL_SOCK_PACK_LEN_MIN (RIL_SOCK_PACK_EXTRA_LEN + 12)
 
 #define RIL_MSG_INDEX_AUTO      (-1)         // automatically , refor to :  ril_index
 #define RIL_MSG_INDEX_INVALID   (0)       // Invalid msg index.
@@ -78,6 +78,8 @@
     RIL_MSG_ID_SIM_PINPUK_TIMES,
     // <string> PLMN
     RIL_MSG_ID_SIM_PLMN,
+    // <uint8>
+    RIL_MSG_ID_SIM_SWITCH,
 
     RIL_MSG_ID_SIM_END,
 
@@ -240,6 +242,7 @@
     uint16 msg_len;
 
     uint8 at_port;  // ATPortType_enum
+    uint8 sim_id;   // mbtk_sim_type_enum
     uint16 msg_index;   // Message index(Start from 1)
             // 0 : For unknown msg id
     uint16 msg_type;    // Refor to : ril_msg_type_enum
@@ -407,7 +410,7 @@
 
 void ril_msg_pack_free(ril_msg_pack_info_t* pack);
 
-ril_msg_pack_info_t* ril_msg_pack_creat(ATPortType_enum port, int msg_type, int msg_id, int msg_index, const void *data, int data_len);
+ril_msg_pack_info_t* ril_msg_pack_creat(mbtk_sim_type_enum sim_id, ATPortType_enum port, int msg_type, int msg_id, int msg_index, const void *data, int data_len);
 
 int ril_pack_send(int fd, ril_msg_pack_info_t *pack);