A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lte-test-harq.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Marco Miozzo <marco.miozzo@cttc.es>
7 */
8
9#ifndef LENA_TEST_HARQ_H
10#define LENA_TEST_HARQ_H
11
12#include "ns3/simulator.h"
13#include "ns3/test.h"
14
15using namespace ns3;
16
17/**
18 * \ingroup lte-test
19 *
20 * \brief This system test program creates different test cases with a single eNB and
21 * several UEs, all having the same Radio Bearer specification. In each test
22 * case, the UEs see the same SINR from the eNB; different test cases are
23 * implemented obtained by using different SINR values and different numbers of
24 * UEs. The test consists on ...
25 */
27{
28 public:
29 /**
30 * Constructor
31 *
32 * \param nUser the number of UE nodes
33 * \param dist the distance between n odes
34 * \param tbSize
35 * \param amcBer the AMC bit error rate
36 * \param thrRef the throughput reference
37 */
38 LenaHarqTestCase(uint16_t nUser, uint16_t dist, uint16_t tbSize, double amcBer, double thrRef);
39 ~LenaHarqTestCase() override;
40
41 private:
42 void DoRun() override;
43 /**
44 * Build name string function
45 *
46 * \param nUser number of UE nodes
47 * \param dist distance between nodes
48 * \param tbSize
49 * \returns name string
50 */
51 static std::string BuildNameString(uint16_t nUser, uint16_t dist, uint16_t tbSize);
52 uint16_t m_nUser; ///< number of UE nodes
53 uint16_t m_dist; ///< distance between nodes
54 double m_amcBer; ///< AMC bit error rate
55 double m_throughputRef; ///< throughput reference
56};
57
58/**
59 * \ingroup lte-test
60 *
61 * \brief Test suite for harq test.
62 */
63
65{
66 public:
68};
69
70#endif /* LENA_TEST_HARQ_H */
This system test program creates different test cases with a single eNB and several UEs,...
double m_throughputRef
throughput reference
void DoRun() override
Implementation to actually run this TestCase.
uint16_t m_dist
distance between nodes
uint16_t m_nUser
number of UE nodes
static std::string BuildNameString(uint16_t nUser, uint16_t dist, uint16_t tbSize)
Build name string function.
LenaHarqTestCase(uint16_t nUser, uint16_t dist, uint16_t tbSize, double amcBer, double thrRef)
Constructor.
~LenaHarqTestCase() override
double m_amcBer
AMC bit error rate.
Test suite for harq test.
encapsulates test code
Definition test.h:1050
A suite of tests to run.
Definition test.h:1267
Every class exported by the ns3 library is enclosed in the ns3 namespace.