rrc_messages_types.h 1.56 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
/*
 * rrc_messages_types.h
 *
 *  Created on: Oct 24, 2013
 *      Author: winckel
 */

#ifndef RRC_MESSAGES_TYPES_H_
#define RRC_MESSAGES_TYPES_H_

winckel's avatar
winckel committed
11 12 13 14
#include "as_message.h"

//-------------------------------------------------------------------------------------------//
// Messages for RRC logging
15 16 17
#include "BCCH-DL-SCH-Message.h"
#include "DL-CCCH-Message.h"
#include "DL-DCCH-Message.h"
18
#include "UE-EUTRA-Capability.h"
19 20
#include "UL-CCCH-Message.h"
#include "UL-DCCH-Message.h"
21

22 23 24 25 26 27
typedef BCCH_DL_SCH_Message_t   RrcDlBcchMessage;
typedef DL_CCCH_Message_t       RrcDlCcchMessage;
typedef DL_DCCH_Message_t       RrcDlDcchMessage;
typedef UE_EUTRA_Capability_t   RrcUeEutraCapability;
typedef UL_CCCH_Message_t       RrcUlCcchMessage;
typedef UL_DCCH_Message_t       RrcUlDcchMessage;
28 29

//-------------------------------------------------------------------------------------------//
winckel's avatar
winckel committed
30 31
// Defines to access message fields.
#define NAS_DOWNLINK_DATA_IND(mSGpTR)               (mSGpTR)->msg.nas_dl_data_ind
32

winckel's avatar
winckel committed
33 34 35
#define NAS_UPLINK_DATA_REQ(mSGpTR)                 (mSGpTR)->msg.nas_ul_data_req
#define NAS_UPLINK_DATA_CNF(mSGpTR)                 (mSGpTR)->msg.nas_ul_data_cnf
#define NAS_UPLINK_DATA_IND(mSGpTR)                 (mSGpTR)->msg.nas_ul_data_ind
36 37

//-------------------------------------------------------------------------------------------//
winckel's avatar
winckel committed
38 39
// Messages between NAS and RRC layers
typedef dl_info_transfer_ind_t NasDlDataInd;
40

winckel's avatar
winckel committed
41 42 43
typedef ul_info_transfer_req_t NasUlDataReq;
typedef ul_info_transfer_cnf_t NasUlDataCnf;
typedef ul_info_transfer_ind_t NasUlDataInd;
44 45

#endif /* RRC_MESSAGES_TYPES_H_ */