author | Nicola Baldo <nbaldo@cttc.es> |
Mon, 23 Jul 2012 18:57:37 +0200 | |
changeset 9048 | 4aeb9111981b |
parent 9039 | 5bdf0c1be85f |
child 9049 | 9079248e111b |
permissions | -rw-r--r-- |
7385
10beb0e53130
standardize emacs c++ mode comments
Vedran Miletić <rivanvx@gmail.com>
parents:
7238
diff
changeset
|
1 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
6705 | 2 |
/* |
3 |
* Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License version 2 as |
|
7 |
* published by the Free Software Foundation; |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 |
* |
|
18 |
* Author: Giuseppe Piro <g.piro@poliba.it> |
|
7886 | 19 |
* Author: Marco Miozzo <marco.miozzo@cttc.es> |
6705 | 20 |
*/ |
21 |
||
22 |
#ifndef ENB_LTE_PHY_H |
|
23 |
#define ENB_LTE_PHY_H |
|
24 |
||
25 |
||
26 |
#include "lte-phy.h" |
|
7886 | 27 |
#include <ns3/lte-enb-phy-sap.h> |
28 |
#include <map> |
|
7887 | 29 |
#include <ns3/lte-ue-phy.h> |
6705 | 30 |
|
31 |
namespace ns3 { |
|
32 |
||
33 |
class PacketBurst; |
|
34 |
class LteNetDevice; |
|
35 |
||
36 |
/** |
|
7238
85a7e87bb4cc
Make some more modules show up on doxygen modules page
Mitch Watrous <watrous@u.washington.edu>
parents:
6852
diff
changeset
|
37 |
* \ingroup lte |
7887 | 38 |
* LteEnbPhy models the physical layer for the eNodeB |
6705 | 39 |
*/ |
7887 | 40 |
class LteEnbPhy : public LtePhy |
6705 | 41 |
{ |
42 |
||
7886 | 43 |
friend class EnbMemberLteEnbPhySapProvider; |
44 |
||
6705 | 45 |
public: |
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
46 |
/** |
7980
f07d99163a56
LteSpectrumPhy instances now plugged onto LtePhy via its constructor
Nicola Baldo <nbaldo@cttc.es>
parents:
7949
diff
changeset
|
47 |
* @warning the default constructor should not be used |
f07d99163a56
LteSpectrumPhy instances now plugged onto LtePhy via its constructor
Nicola Baldo <nbaldo@cttc.es>
parents:
7949
diff
changeset
|
48 |
*/ |
7887 | 49 |
LteEnbPhy (); |
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
50 |
|
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
51 |
/** |
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
52 |
* |
7980
f07d99163a56
LteSpectrumPhy instances now plugged onto LtePhy via its constructor
Nicola Baldo <nbaldo@cttc.es>
parents:
7949
diff
changeset
|
53 |
* \param dlPhy the downlink LteSpectrumPhy instance |
f07d99163a56
LteSpectrumPhy instances now plugged onto LtePhy via its constructor
Nicola Baldo <nbaldo@cttc.es>
parents:
7949
diff
changeset
|
54 |
* \param ulPhy the uplink LteSpectrumPhy instance |
6705 | 55 |
*/ |
7980
f07d99163a56
LteSpectrumPhy instances now plugged onto LtePhy via its constructor
Nicola Baldo <nbaldo@cttc.es>
parents:
7949
diff
changeset
|
56 |
LteEnbPhy (Ptr<LteSpectrumPhy> dlPhy, Ptr<LteSpectrumPhy> ulPhy); |
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
57 |
|
7887 | 58 |
virtual ~LteEnbPhy (); |
6705 | 59 |
|
8015 | 60 |
// inherited from Object |
6705 | 61 |
static TypeId GetTypeId (void); |
8015 | 62 |
virtual void DoStart (void); |
7913
ed3a9f8a76d7
added DoDispose to lte-phy and lte-spectrum-phy
Nicola Baldo <nbaldo@cttc.es>
parents:
7887
diff
changeset
|
63 |
virtual void DoDispose (void); |
6705 | 64 |
|
7886 | 65 |
|
6705 | 66 |
/** |
7886 | 67 |
* \brief Get the PHY SAP provider |
68 |
* \return a pointer to the SAP Provider of the PHY |
|
69 |
*/ |
|
70 |
LteEnbPhySapProvider* GetLteEnbPhySapProvider (); |
|
71 |
||
72 |
/** |
|
73 |
* \brief Set the PHY SAP User |
|
74 |
* \param s a pointer to the PHY SAP user |
|
75 |
*/ |
|
76 |
void SetLteEnbPhySapUser (LteEnbPhySapUser* s); |
|
77 |
||
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
78 |
/** |
7949 | 79 |
* \param pw the transmission power in dBm |
80 |
*/ |
|
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
81 |
void SetTxPower (double pow); |
7949 | 82 |
|
83 |
/** |
|
84 |
* \return the transmission power in dBm |
|
85 |
*/ |
|
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
86 |
double GetTxPower () const; |
7886 | 87 |
|
8670
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
88 |
|
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
89 |
/** |
7981 | 90 |
* \param pw the noise figure in dB |
91 |
*/ |
|
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
92 |
void SetNoiseFigure (double pow); |
7981 | 93 |
|
94 |
/** |
|
95 |
* \return the noise figure in dB |
|
96 |
*/ |
|
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
97 |
double GetNoiseFigure () const; |
7981 | 98 |
|
7886 | 99 |
/** |
8670
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
100 |
* \param delay the TTI delay between MAC and channel |
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
101 |
*/ |
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
102 |
void SetMacChDelay (uint8_t delay); |
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
103 |
|
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
104 |
/** |
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
105 |
* \returns the TTI delay between MAC and channel |
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
106 |
*/ |
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
107 |
uint8_t GetMacChDelay (void) const; |
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
108 |
|
8f63d16fb2e8
fixed compilation error with g++-4.4
Nicola Baldo <nbaldo@cttc.es>
parents:
8664
diff
changeset
|
109 |
/** |
7886 | 110 |
* \brief Queue the MAC PDU to be sent |
111 |
* \param p the MAC PDU to sent |
|
112 |
*/ |
|
113 |
virtual void DoSendMacPdu (Ptr<Packet> p); |
|
8729
74de12409ee5
Update m_macChTtiDelay fixed to 4 in UL (standard) and make schedulers unaware of channel delays (tests updated according to new delay)
mmiozzo
parents:
8728
diff
changeset
|
114 |
|
9036 | 115 |
virtual void DoSetTransmissionMode (uint16_t rnti, uint8_t txMode); |
116 |
||
9038
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
117 |
virtual void DoSetSrsConfigurationIndex (uint16_t rnti, uint16_t srcCi); |
9036 | 118 |
|
8729
74de12409ee5
Update m_macChTtiDelay fixed to 4 in UL (standard) and make schedulers unaware of channel delays (tests updated according to new delay)
mmiozzo
parents:
8728
diff
changeset
|
119 |
virtual uint8_t DoGetMacChTtiDelay (); |
7886 | 120 |
|
9048
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
121 |
/** |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
122 |
* \brief set the resource blocks (a.k.a. sub channels) to be used in the downlink for transmission |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
123 |
* |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
124 |
* \param mask a bitmask implemented as a vector. If the i-th value |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
125 |
* of mask is equal to 1 (0) it means that the i-th resource block |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
126 |
* is used (not used) for transmission in the downlink. |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
127 |
*/ |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
128 |
void SetDownlinkSubChannels (std::vector<int> mask ); |
7886 | 129 |
|
9048
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
130 |
|
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
131 |
/** |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
132 |
* |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
133 |
* \return a bitmask implemented as a vector. If the i-th value |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
134 |
* of mask is equal to 1 (0) it means that the i-th resource block |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
135 |
* is used (not used) for transmission in the downlink. |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
136 |
*/ |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
137 |
std::vector<int> GetDownlinkSubChannels (void); |
6705 | 138 |
|
139 |
/** |
|
140 |
* \brief Create the PSD for TX |
|
141 |
*/ |
|
142 |
virtual Ptr<SpectrumValue> CreateTxPowerSpectralDensity (); |
|
143 |
||
144 |
/** |
|
145 |
* \brief Calculate the channel quality for a given UE |
|
146 |
* \param sinr a list of computed SINR |
|
147 |
* \param ue the UE |
|
148 |
*/ |
|
149 |
void CalcChannelQualityForUe (std::vector <double> sinr, Ptr<LteSpectrumPhy> ue); |
|
150 |
||
151 |
/** |
|
152 |
* \brief Receive the control message |
|
153 |
* \param msg the received message |
|
154 |
*/ |
|
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
155 |
virtual void ReceiveLteControlMessage (Ptr<LteControlMessage> msg); |
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
156 |
|
7910 | 157 |
/** |
158 |
* \brief Create the UL CQI feedback from SINR values perceived at |
|
9036 | 159 |
* the physical layer with the PUSCH signal received from eNB |
7910 | 160 |
* \param sinr SINR values vector |
161 |
*/ |
|
9039
5bdf0c1be85f
Add SRS based UL-CQI and update RR and PF schedulers for managing them
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9038
diff
changeset
|
162 |
FfMacSchedSapProvider::SchedUlCqiInfoReqParameters CreatePuschCqiReport (const SpectrumValue& sinr); |
9036 | 163 |
|
164 |
/** |
|
165 |
* \brief Create the UL CQI feedback from SINR values perceived at |
|
166 |
* the physical layer with the SRS signal received from eNB |
|
167 |
* \param sinr SINR values vector |
|
168 |
*/ |
|
9039
5bdf0c1be85f
Add SRS based UL-CQI and update RR and PF schedulers for managing them
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9038
diff
changeset
|
169 |
FfMacSchedSapProvider::SchedUlCqiInfoReqParameters CreateSrsCqiReport (const SpectrumValue& sinr); |
6705 | 170 |
|
171 |
||
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
172 |
void DoSendLteControlMessage (Ptr<LteControlMessage> msg); |
7886 | 173 |
|
8180
5429db8b8c37
Fix Bug JIRA:LENA-145, RNTI as uint16_t in LteEnbPhy
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8148
diff
changeset
|
174 |
bool AddUePhy (uint16_t rnti, Ptr<LteUePhy> phy); |
7886 | 175 |
|
8180
5429db8b8c37
Fix Bug JIRA:LENA-145, RNTI as uint16_t in LteEnbPhy
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8148
diff
changeset
|
176 |
bool DeleteUePhy (uint16_t rnti); |
9038
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
177 |
|
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
178 |
/** |
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
179 |
* \brief Send the PDCCH and PCFICH in the first 3 symbols |
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
180 |
* \param ctrlMsgList the list of control messages of PDCCH |
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
181 |
*/ |
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
182 |
void SendControlChannels (std::list<Ptr<LteControlMessage> > ctrlMsgList); |
9038
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
183 |
|
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
184 |
/** |
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
185 |
* \brief Send the PDSCH |
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
186 |
* \param pb the PacketBurst to be sent |
e1d67c8aa95b
Polish code according to codereview
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9036
diff
changeset
|
187 |
*/ |
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
188 |
void SendDataChannels (Ptr<PacketBurst> pb); |
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
189 |
|
8728
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
190 |
/** |
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
191 |
* \param m the UL-CQI to be queued |
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
192 |
*/ |
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
193 |
void QueueUlDci (UlDciLteControlMessage m); |
8728
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
194 |
|
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
195 |
/** |
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
196 |
* \returns the list of UL-CQI to be processed |
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
197 |
*/ |
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
198 |
std::list<UlDciLteControlMessage> DequeueUlDci (void); |
7886 | 199 |
|
200 |
||
6705 | 201 |
/** |
202 |
* \brief Start a LTE frame |
|
203 |
*/ |
|
204 |
void StartFrame (void); |
|
205 |
/** |
|
206 |
* \brief Start a LTE sub frame |
|
207 |
*/ |
|
208 |
void StartSubFrame (void); |
|
209 |
/** |
|
210 |
* \brief End a LTE sub frame |
|
211 |
*/ |
|
212 |
void EndSubFrame (void); |
|
213 |
/** |
|
214 |
* \brief End a LTE frame |
|
215 |
*/ |
|
216 |
void EndFrame (void); |
|
217 |
||
7886 | 218 |
/** |
219 |
* \brief PhySpectrum received a new PHY-PDU |
|
220 |
*/ |
|
221 |
void PhyPduReceived (Ptr<Packet> p); |
|
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
222 |
|
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
223 |
/** |
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
224 |
* \brief PhySpectrum received a new list of LteControlMessage |
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
225 |
*/ |
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
226 |
virtual void ReceiveLteControlMessageList (std::list<Ptr<LteControlMessage> >); |
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
227 |
|
7886 | 228 |
// inherited from LtePhy |
9036 | 229 |
virtual void GenerateCtrlCqiReport (const SpectrumValue& sinr); |
230 |
virtual void GenerateDataCqiReport (const SpectrumValue& sinr); |
|
8148
09e2d03022a2
run check-style on src/lte/model
Nicola Baldo <nbaldo@cttc.es>
parents:
8098
diff
changeset
|
231 |
|
6705 | 232 |
|
233 |
private: |
|
8180
5429db8b8c37
Fix Bug JIRA:LENA-145, RNTI as uint16_t in LteEnbPhy
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8148
diff
changeset
|
234 |
std::map <uint16_t, Ptr<LteUePhy> > m_ueAttached; |
8728
5a99218bfd1b
Bug-fix on m_macChTtiDelay management on UE-eNB PHY and consequently update RR-PF schedulers and tests
mmiozzo
parents:
8726
diff
changeset
|
235 |
|
9048
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
236 |
std::vector <int> m_listOfDownlinkSubchannel; |
4aeb9111981b
removed useless LtePhy::{Get,Set}{Up,down}linkSubChannels
Nicola Baldo <nbaldo@cttc.es>
parents:
9039
diff
changeset
|
237 |
|
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
238 |
std::vector <int> m_dlDataRbMap; |
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
239 |
|
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
240 |
std::vector< std::list<UlDciLteControlMessage> > m_ulDciQueue; // for storing info on future receptions |
7886 | 241 |
|
242 |
LteEnbPhySapProvider* m_enbPhySapProvider; |
|
243 |
LteEnbPhySapUser* m_enbPhySapUser; |
|
9035
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
244 |
|
e40974228d94
Update Phy Layer for managing different frames for different set of channels (data vs. ctrl and srs)
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8729
diff
changeset
|
245 |
std::vector <uint16_t> m_ulRntiRxed; |
7886 | 246 |
|
247 |
uint32_t m_nrFrames; |
|
248 |
uint32_t m_nrSubFrames; |
|
8714
398bbcbb3f42
Add MIMO model, test and documentation
Marco Miozzo <marco.miozzo@cttc.es>
parents:
8253
diff
changeset
|
249 |
|
9036 | 250 |
uint16_t m_srsPeriodicity; |
251 |
std::map <uint16_t,uint16_t> m_srsCounter; |
|
9039
5bdf0c1be85f
Add SRS based UL-CQI and update RR and PF schedulers for managing them
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9038
diff
changeset
|
252 |
std::vector <uint16_t> m_srsUeOffset; |
5bdf0c1be85f
Add SRS based UL-CQI and update RR and PF schedulers for managing them
Marco Miozzo <marco.miozzo@cttc.es>
parents:
9038
diff
changeset
|
253 |
uint16_t m_currentSrsOffset; |
9036 | 254 |
|
6705 | 255 |
}; |
256 |
||
257 |
||
258 |
} |
|
259 |
||
7887 | 260 |
#endif /* LTE_ENB_PHY_H */ |