[Feature][ZXW-41] merged 0601 version

Change-Id: I667af6bb09d65581d455b73f8984c160b2c67ad8
diff --git a/ap/lib/libvsim/zte_vsim_api.h b/ap/lib/libvsim/zte_vsim_api.h
index c3821dd..a549035 100755
--- a/ap/lib/libvsim/zte_vsim_api.h
+++ b/ap/lib/libvsim/zte_vsim_api.h
@@ -36,10 +36,8 @@
 

 typedef enum {

     E_NW_STATUS_SRV_NONE = 0,

-    E_NW_STATUS_CURRENT_SERVING = 1,

-    E_NW_STATUS_SRV_LIMITED = 2,

-    E_NW_STATUS_SRV_AVAILABLE = 3,

-    E_NW_STATUS_SRV_FORBIDDEN = 4,

+    E_NW_STATUS_SRV_LIMITED = 1,

+    E_NW_STATUS_SRV_AVAILABLE = 2,

 }e_nw_srv_status_t;

 

 

@@ -47,6 +45,7 @@
 {

 	uint32_t tac;

 	uint32_t cell_id;

+	uint32_t roamingFlag; ///< 1:roaming,0:non roaming

 }lte_scell_info_t;

 

 typedef struct

@@ -71,15 +70,14 @@
 	uint32_t tac;

 	uint32_t cell_id;

     uint16_t bandwidth;

-    int16_t  rxlev;

+    uint16_t pcid;//int16_t  rxlev;

     uint32_t arfcn;

-    uint16_t pcid;

 }base_cell_info_t;//Hex format

 

 

 typedef struct

 {

-    uint8_t  roamingFlag; ///< 1:roaming,0:non roaming

+    uint16_t  roamingFlag; ///< 1:roaming,0:non roaming

     int16_t  rsrp;

     int16_t  rsrq;

     uint16_t SINR;

@@ -215,6 +213,7 @@
   E_RF_RESOURCE_CALLBACK_EVENT = 0x00,   /**< É䯵×ÊÔ´Çл». */

   E_NW_ATTACH_COMMPLETE_EVENT  = 0x32,   /**< ×¢ÍøÍê³É. */

   E_DATA_PDN_ACT_SUCC_EVENT = 0x64,      /**< PDN¼¤»îÍê³É ,ind_dataÖÐЯ´øZGIPDNS:µØÖ·ÐÅÏ¢  */

+  E_GET_CELLINFO_BY_SIMID_EVENT  = 0x65,	 /**< É¨ÍøÍê³É. */

 }E_MODEM_EVENT_ID;

 

 typedef enum

@@ -294,7 +293,7 @@
 

 extern int32_t zte_GetRegInfobySimid(RegInfo_t *reg_info, uint8_t nSimID);

 

-extern int32_t zte_GetCellInfobySimId(CellInfo_t *pcellinfo, uint8_t nSimID);

+extern int32_t zte_GetCellInfobySimId(uint8_t nSimID);

 

 extern int32_t zte_GetNetInfobySimId(NetInfo_t *pNetInfo, uint8_t nSimID);