Add DS support.

Change-Id: Ib8bc4e171dd5ca526f8e151ff3d467097582a8cb
diff --git a/mbtk/mbtk_rild_v2/inc/ril_info.h b/mbtk/mbtk_rild_v2/inc/ril_info.h
index 558d3f9..3a41f0b 100755
--- a/mbtk/mbtk_rild_v2/inc/ril_info.h
+++ b/mbtk/mbtk_rild_v2/inc/ril_info.h
@@ -35,6 +35,7 @@
 typedef struct
 {
     int fd;
+    mbtk_sim_type_enum sim_id;
     ATPortType_enum port;
 
     uint32 ind_num;
@@ -48,9 +49,10 @@
 } ril_msg_queue_info_t;
 
 typedef struct {
-    mbtk_radio_state_enum radio_state;
-    mbtk_sim_state_enum sim_state;
-    mbtk_sim_card_type_enum sim_type;
+    mbtk_sim_type_enum cur_sim_id;
+    mbtk_radio_state_enum radio_state[MBTK_SIM_NUM];
+    mbtk_sim_state_enum sim_state[MBTK_SIM_NUM];
+    mbtk_sim_card_type_enum sim_type[MBTK_SIM_NUM];
     int sock_listen_fd;
     int epoll_fd;
     bool at_process[ATPORTTYPE_NUM];
@@ -122,12 +124,12 @@
 extern ril_info_t ril_info;
 
 
-mbtk_radio_state_enum ril_radio_state_get(ATPortType_enum port);
-mbtk_ril_err_enum ril_radio_state_set(ATPortType_enum port, mbtk_radio_state_enum state, bool reset);
+mbtk_radio_state_enum ril_radio_state_get(mbtk_sim_type_enum sim_id, ATPortType_enum port);
+mbtk_ril_err_enum ril_radio_state_set(mbtk_sim_type_enum sim_id, ATPortType_enum port, mbtk_radio_state_enum state, bool reset);
 
-mbtk_sim_state_enum ril_sim_state_get(ATPortType_enum port);
+mbtk_sim_state_enum ril_sim_state_get(mbtk_sim_type_enum sim_id, ATPortType_enum port);
 
-void apn_auto_conf_from_prop(ATPortType_enum port);
+void apn_auto_conf_from_prop(mbtk_sim_type_enum sim_id, ATPortType_enum port);
 
 bool is_ipv4(const char *ip);