A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-test-mimo.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Marco Miozzo <marco.miozzo@cttc.es>
18
*/
19
20
#ifndef LENA_TEST_MIMO_H
21
#define LENA_TEST_MIMO_H
22
23
#include "ns3/simulator.h"
24
#include "ns3/test.h"
25
26
namespace
ns3
27
{
28
class
RadioBearerStatsCalculator
;
29
}
30
31
using namespace
ns3
;
32
41
class
LenaMimoTestCase
:
public
TestCase
42
{
43
public
:
52
LenaMimoTestCase
(uint16_t dist,
53
std::vector<uint32_t> estThrDl,
54
std::string schedulerType,
55
bool
useIdealRrc);
56
~
LenaMimoTestCase
()
override
;
57
58
private
:
59
void
DoRun()
override
;
60
67
void
GetRlcBufferSample(
Ptr<RadioBearerStatsCalculator>
rlcStats, uint64_t imsi, uint8_t rnti);
68
76
static
std::string BuildNameString(uint16_t dist, std::string schedulerType,
bool
useIdealRrc);
77
uint16_t
m_dist
;
78
std::vector<uint32_t>
m_estThrDl
;
79
std::string
m_schedulerType
;
80
bool
m_useIdealRrc
;
81
82
std::vector<uint64_t>
m_dlDataRxed
;
83
};
84
91
class
LenaTestMimoSuite
:
public
TestSuite
92
{
93
public
:
94
LenaTestMimoSuite
();
95
};
96
97
#endif
/* LENA_TEST_MIMO_H */
LenaMimoTestCase
This system test program creates different test cases with a single eNB and single UE.
Definition:
lte-test-mimo.h:42
LenaMimoTestCase::m_schedulerType
std::string m_schedulerType
the scheduler type
Definition:
lte-test-mimo.h:79
LenaMimoTestCase::m_useIdealRrc
bool m_useIdealRrc
whether to use the ideal RRC
Definition:
lte-test-mimo.h:80
LenaMimoTestCase::m_dlDataRxed
std::vector< uint64_t > m_dlDataRxed
DL data received.
Definition:
lte-test-mimo.h:82
LenaMimoTestCase::m_estThrDl
std::vector< uint32_t > m_estThrDl
estimated throughput DL
Definition:
lte-test-mimo.h:78
LenaMimoTestCase::m_dist
uint16_t m_dist
the distance
Definition:
lte-test-mimo.h:77
LenaTestMimoSuite
Lena Test Mimo Suite.
Definition:
lte-test-mimo.h:92
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:77
ns3::RadioBearerStatsCalculator
This class is an ns-3 trace sink that performs the calculation of PDU statistics for uplink and downl...
Definition:
radio-bearer-stats-calculator.h:71
ns3::TestCase
encapsulates test code
Definition:
test.h:1060
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1256
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-test-mimo.h
Generated on Sun Mar 3 2024 17:11:04 for ns-3 by
1.9.1