author | Nicola Baldo <nbaldo@cttc.es> |
Fri, 30 Nov 2012 15:37:55 +0100 | |
changeset 9446 | fcc2c9f5a011 |
child 9471 | 082640d26eea |
permissions | -rw-r--r-- |
9446
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
2 |
/* |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
3 |
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
4 |
* |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
8 |
* |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
13 |
* |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
17 |
* |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
18 |
* Author: Nicola Baldo <nbaldo@cttc.es> |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
19 |
*/ |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
20 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
21 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
22 |
#ifndef LTE_RRC_PROTOCOL_REAL_H |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
23 |
#define LTE_RRC_PROTOCOL_REAL_H |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
24 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
25 |
#include <stdint.h> |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
26 |
#include <map> |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
27 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
28 |
#include <ns3/ptr.h> |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
29 |
#include <ns3/object.h> |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
30 |
#include <ns3/lte-rrc-sap.h> |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
31 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
32 |
namespace ns3 { |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
33 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
34 |
class LteUeRrcSapProvider; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
35 |
class LteUeRrcSapUser; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
36 |
class LteEnbRrcSapProvider; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
37 |
class LteUeRrc; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
38 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
39 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
40 |
/** |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
41 |
* Models the transmission of RRC messages from the UE to the eNB in |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
42 |
* a real fashion, by creating real RRC PDUs and transmitting them |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
43 |
* over Signaling Radio Bearers using radio resources allocated by the |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
44 |
* LTE MAC scheduler. |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
45 |
* |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
46 |
*/ |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
47 |
class LteUeRrcProtocolReal : public Object |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
48 |
{ |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
49 |
friend class MemberLteUeRrcSapUser<LteUeRrcProtocolReal>; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
50 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
51 |
public: |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
52 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
53 |
LteUeRrcProtocolReal (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
54 |
virtual ~LteUeRrcProtocolReal (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
55 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
56 |
// inherited from Object |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
57 |
virtual void DoDispose (void); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
58 |
static TypeId GetTypeId (void); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
59 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
60 |
void SetLteUeRrcSapProvider (LteUeRrcSapProvider* p); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
61 |
LteUeRrcSapUser* GetLteUeRrcSapUser (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
62 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
63 |
void SetUeRrc (Ptr<LteUeRrc> rrc); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
64 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
65 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
66 |
private: |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
67 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
68 |
// methods forwarded from LteUeRrcSapUser |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
69 |
void DoSetup (LteUeRrcSapUser::SetupParameters params); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
70 |
void DoReestablish (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
71 |
void DoSendRrcConnectionRequest (LteRrcSap::RrcConnectionRequest msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
72 |
void DoSendRrcConnectionSetupCompleted (LteRrcSap::RrcConnectionSetupCompleted msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
73 |
void DoSendRrcConnectionReconfigurationCompleted (LteRrcSap::RrcConnectionReconfigurationCompleted msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
74 |
void DoSendRrcConnectionReestablishmentRequest (LteRrcSap::RrcConnectionReestablishmentRequest msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
75 |
void DoSendRrcConnectionReestablishmentComplete (LteRrcSap::RrcConnectionReestablishmentComplete msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
76 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
77 |
void SetEnbRrcSapProvider (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
78 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
79 |
Ptr<LteUeRrc> m_rrc; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
80 |
uint16_t m_rnti; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
81 |
LteUeRrcSapProvider* m_ueRrcSapProvider; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
82 |
LteUeRrcSapUser* m_ueRrcSapUser; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
83 |
LteEnbRrcSapProvider* m_enbRrcSapProvider; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
84 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
85 |
}; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
86 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
87 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
88 |
/** |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
89 |
* Models the transmission of RRC messages from the UE to the eNB in |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
90 |
* a real fashion, by creating real RRC PDUs and transmitting them |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
91 |
* over Signaling Radio Bearers using radio resources allocated by the |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
92 |
* LTE MAC scheduler. |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
93 |
* |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
94 |
*/ |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
95 |
class LteEnbRrcProtocolReal : public Object |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
96 |
{ |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
97 |
friend class MemberLteEnbRrcSapUser<LteEnbRrcProtocolReal>; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
98 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
99 |
public: |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
100 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
101 |
LteEnbRrcProtocolReal (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
102 |
virtual ~LteEnbRrcProtocolReal (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
103 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
104 |
// inherited from Object |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
105 |
virtual void DoDispose (void); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
106 |
static TypeId GetTypeId (void); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
107 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
108 |
void SetLteEnbRrcSapProvider (LteEnbRrcSapProvider* p); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
109 |
LteEnbRrcSapUser* GetLteEnbRrcSapUser (); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
110 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
111 |
void SetCellId (uint16_t cellId); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
112 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
113 |
LteUeRrcSapProvider* GetUeRrcSapProvider (uint16_t rnti); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
114 |
void SetUeRrcSapProvider (uint16_t rnti, LteUeRrcSapProvider* p); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
115 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
116 |
private: |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
117 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
118 |
// methods forwarded from LteEnbRrcSapUser |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
119 |
void DoSetupUe (uint16_t rnti, LteEnbRrcSapUser::SetupUeParameters params); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
120 |
void DoRemoveUe (uint16_t rnti); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
121 |
void DoSendMasterInformationBlock (LteRrcSap::MasterInformationBlock msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
122 |
void DoSendSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
123 |
void DoSendSystemInformation (LteRrcSap::SystemInformation msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
124 |
void SendSystemInformation (LteRrcSap::SystemInformation msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
125 |
void DoSendRrcConnectionSetup (uint16_t rnti, LteRrcSap::RrcConnectionSetup msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
126 |
void DoSendRrcConnectionReconfiguration (uint16_t rnti, LteRrcSap::RrcConnectionReconfiguration msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
127 |
void DoSendRrcConnectionReestablishment (uint16_t rnti, LteRrcSap::RrcConnectionReestablishment msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
128 |
void DoSendRrcConnectionReestablishmentReject (uint16_t rnti, LteRrcSap::RrcConnectionReestablishmentReject msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
129 |
void DoSendRrcConnectionRelease (uint16_t rnti, LteRrcSap::RrcConnectionRelease msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
130 |
Ptr<Packet> DoEncodeHandoverPreparationInformation (LteRrcSap::HandoverPreparationInfo msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
131 |
LteRrcSap::HandoverPreparationInfo DoDecodeHandoverPreparationInformation (Ptr<Packet> p); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
132 |
Ptr<Packet> DoEncodeHandoverCommand (LteRrcSap::RrcConnectionReconfiguration msg); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
133 |
LteRrcSap::RrcConnectionReconfiguration DoDecodeHandoverCommand (Ptr<Packet> p); |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
134 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
135 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
136 |
uint16_t m_rnti; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
137 |
uint16_t m_cellId; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
138 |
LteEnbRrcSapProvider* m_enbRrcSapProvider; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
139 |
LteEnbRrcSapUser* m_enbRrcSapUser; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
140 |
std::map<uint16_t, LteUeRrcSapProvider*> m_enbRrcSapProviderMap; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
141 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
142 |
}; |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
143 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
144 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
145 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
146 |
} |
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
147 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
148 |
|
fcc2c9f5a011
added stub of LteRrcProtocolReal with corresponding tests
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
149 |
#endif // LTE_RRC_PROTOCOL_REAL_H |