blob: 8f02d6cb1775223263df4b468180f08084f3c3ac [file] [log] [blame]
#ifndef __D2_D2RM_STRUCT__
#define __D2_D2RM_STRUCT__
#include "atcmd_struct.h"
#include "iwlan_public_defs.h"
#include "d2rm_public_defs.h"
#include "d2pm_d2rm_struct.h"
// ============================================================================
// MSG_ID_D2_GET_DATA_CALL_LIST_REQ
// MSG_ID_D2_GET_DATA_CALL_LIST_IND
// MSG_ID_D2_GET_DATA_CALL_LIST_CNF
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_uint32 src_id;
kal_uint32 cid;
} d2_get_data_call_list_req_struct;
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_uint32 src_id;
kal_uint32 cid;
d2pm_d2rm_pdn_state_enum state;
} d2_get_data_call_list_ind_struct;
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_uint32 src_id;
d2pm_d2rm_res_enum res;
} d2_get_data_call_list_cnf_struct;
// ============================================================================
// MSG_ID_D2_GET_DYNAMIC_PARAM_REQ
// MSG_ID_D2_GET_DYNAMIC_PARAM_IND
// MSG_ID_D2_GET_DYNAMIC_PARAM_CNF
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_uint32 src_id;
kal_bool cid_present;
kal_uint32 cid;
} d2_get_dynamic_param_req_struct;
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_uint32 src_id;
kal_uint32 cid;
iwlan_ran_e ran;
/* private part */
d2pm_ddm_get_dynamic_param_ind_prv_struct d2pm_ddm_prv;
d2pm_n3epc_get_dynamic_param_ind_prv_struct d2pm_n3epc_prv;
} d2_get_dynamic_param_ind_struct;
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_uint32 src_id;
d2pm_d2rm_res_enum res;
} d2_get_dynamic_param_cnf_struct;
// ============================================================================
// MSG_ID_D2_GET_PDN_RAN_REQ
// MSG_ID_D2_GET_PDN_RAN_IND
// MSG_ID_D2_GET_PDN_RAN_CNF
typedef struct {
LOCAL_PARA_HDR
kal_uint32 src_id;
kal_uint32 cmd_mode;
kal_uint32 cid;
} d2_get_pdn_ran_req_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint16 src_id;
kal_uint32 cid;
iwlan_ran_e ran;
} d2_get_pdn_ran_ind_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint32 src_id;
kal_bool is_success;
kal_uint16 err_cause;
kal_bool is_succ;
} d2_get_pdn_ran_cnf_struct;
// ============================================================================
// MSG_ID_D2PM_D2RM_GET_RETRYTMR_REQ
// MSG_ID_D2PM_D2RM_GET_RETRYTMR_CNF
typedef struct {
LOCAL_PARA_HDR
kal_uint32 src_id;
kal_char apn[APN_STRING_LEN];
} d2_get_retrytmr_req_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint32 src_id;
ran_info_struct ran_info;
retry_info_struct retry_info;
} d2_get_retrytmr_ind_struct;
typedef struct {
LOCAL_PARA_HDR
kal_uint32 src_id;
} d2_get_retrytmr_cnf_struct;
// ----------------------------------------------------------------------------
// MSG_ID_D2PM_D2RM_SET_RETRYTMR_REQ
// MSG_ID_D2PM_D2RM_SET_RETRYTMR_CNF
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_char apn[APN_STRING_LEN];
kal_uint8 cmd;
/* private part */
d2pm_ddm_comm_req_prv_struct d2pm_ddm_prv;
d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv;
} d2pm_d2rm_set_retrytmr_req_struct;
typedef struct {
LOCAL_PARA_HDR
/* common part */
kal_char apn[APN_STRING_LEN];
kal_bool is_succ;
/* private part */
d2pm_ddm_comm_cnf_prv_struct d2pm_ddm_prv;
d2pm_n3epc_comm_prv_struct d2pm_n3epc_prv;
} d2pm_d2rm_set_retrytmr_cnf_struct;
#endif