Added RRC_MAC_CCCH_SUCCESS_IND and RRC_DCCH_DATA_REQ ITTI messages definition and handling.
Removed RRC_MAC_SYNC_IND that is not used anymore. Added ITTI messages reception in PDCP (in pdcp_run). Added pdcp_rrc_data_req in l2 interface. Fixed warning. pre-ci ok. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4290 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -9,13 +9,14 @@ MESSAGE_DEF(RRC_UE_EUTRA_CAPABILITY, MESSAGE_PRIORITY_MED_PLUS, RrcUeEutraCap
|
||||
|
||||
//-------------------------------------------------------------------------------------------//
|
||||
// Messages from MAC layer
|
||||
MESSAGE_DEF(RRC_MAC_SYNC_IND, MESSAGE_PRIORITY_MED_PLUS, RrcMacSyncInd, rrc_mac_sync_ind)
|
||||
MESSAGE_DEF(RRC_MAC_IN_SYNC_IND, MESSAGE_PRIORITY_MED_PLUS, RrcMacInSyncInd, rrc_mac_in_sync_ind)
|
||||
MESSAGE_DEF(RRC_MAC_OUT_OF_SYNC_IND, MESSAGE_PRIORITY_MED_PLUS, RrcMacOutOfSyncInd, rrc_mac_out_of_sync_ind)
|
||||
MESSAGE_DEF(RRC_MAC_BCCH_DATA_IND, MESSAGE_PRIORITY_MED_PLUS, RrcMacBcchDataInd, rrc_mac_bcch_data_ind)
|
||||
MESSAGE_DEF(RRC_MAC_CCCH_DATA_IND, MESSAGE_PRIORITY_MED_PLUS, RrcMacCcchDataInd, rrc_mac_ccch_data_ind)
|
||||
MESSAGE_DEF(RRC_MAC_CCCH_SUCCESS_IND, MESSAGE_PRIORITY_MED_PLUS, RrcMacCcchSuccessInd, rrc_mac_ccch_success_ind)
|
||||
MESSAGE_DEF(RRC_MAC_MCCH_DATA_IND, MESSAGE_PRIORITY_MED_PLUS, RrcMacMcchDataInd, rrc_mac_mcch_data_ind)
|
||||
|
||||
//-------------------------------------------------------------------------------------------//
|
||||
// Messages from PDCP layer
|
||||
// Messages from/to PDCP layer
|
||||
MESSAGE_DEF(RRC_DCCH_DATA_REQ, MESSAGE_PRIORITY_MED_PLUS, RrcDcchDataReq, rrc_dcch_data_req)
|
||||
MESSAGE_DEF(RRC_DCCH_DATA_IND, MESSAGE_PRIORITY_MED_PLUS, RrcDcchDataInd, rrc_dcch_data_ind)
|
||||
|
||||
@@ -13,24 +13,21 @@
|
||||
//-------------------------------------------------------------------------------------------//
|
||||
// Defines to access message fields.
|
||||
|
||||
#define RRC_MAC_SYNC_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_sync_ind
|
||||
#define RRC_MAC_IN_SYNC_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_in_sync_ind
|
||||
#define RRC_MAC_OUT_OF_SYNC_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_out_of_sync_ind
|
||||
#define RRC_MAC_BCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_bcch_data_ind
|
||||
#define RRC_MAC_CCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_ccch_data_ind
|
||||
#define RRC_MAC_MCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_mcch_data_ind
|
||||
#define RRC_MAC_IN_SYNC_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_in_sync_ind
|
||||
#define RRC_MAC_OUT_OF_SYNC_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_out_of_sync_ind
|
||||
#define RRC_MAC_BCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_bcch_data_ind
|
||||
#define RRC_MAC_CCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_ccch_data_ind
|
||||
#define RRC_MAC_CCCH_SUCCESS_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_ccch_success_ind
|
||||
#define RRC_MAC_MCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_mac_mcch_data_ind
|
||||
|
||||
#define RRC_DCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_dcch_data_ind
|
||||
#define RRC_DCCH_DATA_REQ(mSGpTR) (mSGpTR)->msg.rrc_dcch_data_req
|
||||
#define RRC_DCCH_DATA_IND(mSGpTR) (mSGpTR)->msg.rrc_dcch_data_ind
|
||||
|
||||
typedef UE_EUTRA_Capability_t RrcUeEutraCapability;
|
||||
|
||||
//-------------------------------------------------------------------------------------------//
|
||||
// Messages from MAC layer
|
||||
|
||||
typedef struct {
|
||||
uint8_t status;
|
||||
} RrcMacSyncInd;
|
||||
|
||||
typedef struct {
|
||||
uint32_t frame;
|
||||
uint16_t enb_index;
|
||||
@@ -47,6 +44,10 @@ typedef struct {
|
||||
|
||||
typedef RrcMacBcchDataInd RrcMacCcchDataInd;
|
||||
|
||||
typedef struct {
|
||||
uint8_t enb_index;
|
||||
} RrcMacCcchSuccessInd;
|
||||
|
||||
typedef struct {
|
||||
uint32_t frame;
|
||||
uint32_t sdu_size;
|
||||
@@ -56,7 +57,18 @@ typedef struct {
|
||||
} RrcMacMcchDataInd;
|
||||
|
||||
//-------------------------------------------------------------------------------------------//
|
||||
// Messages from PDCP layer
|
||||
// Messages from/to PDCP layer
|
||||
|
||||
typedef struct {
|
||||
uint32_t frame;
|
||||
uint8_t enb_flag;
|
||||
uint32_t rb_id;
|
||||
uint32_t muip;
|
||||
uint32_t confirmp;
|
||||
uint32_t sdu_size;
|
||||
uint8_t *sdu_p;
|
||||
uint8_t mode;
|
||||
} RrcDcchDataReq;
|
||||
|
||||
typedef struct {
|
||||
uint32_t frame;
|
||||
|
||||
Reference in New Issue
Block a user