rrc_messages_types.h 1.62 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
RRC:    
winckel committed
11
12
13
14
#include "as_message.h"

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

23
24
25
26
27
28
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;
29
#endif
30
31

//-------------------------------------------------------------------------------------------//
winckel's avatar
RRC:    
winckel committed
32
// Defines to access message fields.
33
#define NAS_DOWNLINK_DATA_IND(mSGpTR)               (mSGpTR)->ittiMsg.nas_dl_data_ind
34

35
36
37
#define NAS_UPLINK_DATA_REQ(mSGpTR)                 (mSGpTR)->ittiMsg.nas_ul_data_req
#define NAS_UPLINK_DATA_CNF(mSGpTR)                 (mSGpTR)->ittiMsg.nas_ul_data_cnf
#define NAS_UPLINK_DATA_IND(mSGpTR)                 (mSGpTR)->ittiMsg.nas_ul_data_ind
38
39

//-------------------------------------------------------------------------------------------//
winckel's avatar
RRC:    
winckel committed
40
41
// Messages between NAS and RRC layers
typedef dl_info_transfer_ind_t NasDlDataInd;
42

winckel's avatar
RRC:    
winckel committed
43
44
45
typedef ul_info_transfer_req_t NasUlDataReq;
typedef ul_info_transfer_cnf_t NasUlDataCnf;
typedef ul_info_transfer_ind_t NasUlDataInd;
46
47

#endif /* RRC_MESSAGES_TYPES_H_ */