Commit 7d0320f2 authored by winckel's avatar winckel
Browse files

Created a RRC_STATE_IND message.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4814 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 941877bc
......@@ -18,6 +18,8 @@ MESSAGE_DEF(RRC_UL_CCCH_MESSAGE, MESSAGE_PRIORITY_MED_PLUS, RrcUlCcchMes
MESSAGE_DEF(RRC_UL_DCCH_MESSAGE, MESSAGE_PRIORITY_MED_PLUS, RrcUlDcchMessage, rrc_ul_dcch_message)
#endif
MESSAGE_DEF(RRC_STATE_IND, MESSAGE_PRIORITY_MED, RrcStateInd, rrc_state_ind)
//-------------------------------------------------------------------------------------------//
// eNB: ENB_APP -> RRC messages
MESSAGE_DEF(RRC_CONFIGURATION_REQ, MESSAGE_PRIORITY_MED, RrcConfigurationReq, rrc_configuration_req)
......
......@@ -9,6 +9,7 @@
#define RRC_MESSAGES_TYPES_H_
#include "as_message.h"
#include "rrc_types.h"
//-------------------------------------------------------------------------------------------//
// Messages for RRC logging
......@@ -30,6 +31,8 @@ typedef UL_DCCH_Message_t RrcUlDcchMessage;
//-------------------------------------------------------------------------------------------//
// Defines to access message fields.
#define RRC_STATE_IND(mSGpTR) (mSGpTR)->ittiMsg.rrc_state_ind
#define RRC_CONFIGURATION_REQ(mSGpTR) (mSGpTR)->ittiMsg.rrc_configuration_req
#define NAS_CELL_SELECTION_REQ(mSGpTR) (mSGpTR)->ittiMsg.nas_cell_selection_req
......@@ -47,6 +50,11 @@ typedef UL_DCCH_Message_t RrcUlDcchMessage;
#define NAS_DOWNLINK_DATA_IND(mSGpTR) (mSGpTR)->ittiMsg.nas_dl_data_ind
//-------------------------------------------------------------------------------------------//
typedef struct RrcStateInd_s{
Rrc_State_t state;
Rrc_Sub_State_t sub_state;
} RrcStateInd;
// eNB: ENB_APP -> RRC messages
typedef struct RrcConfigurationReq_s {
uint32_t cell_identity;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment