A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lte-test-link-adaptation.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: Manuel Requena <manuel.requena@cttc.es>
7 */
8
9#ifndef LTE_TEST_LINK_ADAPTATION_H
10#define LTE_TEST_LINK_ADAPTATION_H
11
12#include "ns3/lte-common.h"
13#include "ns3/test.h"
14
15using namespace ns3;
16
17/**
18 * \ingroup lte-test
19 *
20 * \brief Test 1.3 Link adaptation
21 */
23{
24 public:
26};
27
28/**
29 * \ingroup lte-test
30 *
31 * \brief Test that LTE link adaptation works according to the theoretical model.
32 */
34{
35 public:
36 /**
37 * Constructor
38 *
39 * \param name the reference name
40 * \param snrDb the SNR in dB
41 * \param loss the loss
42 * \param mcsIndex the DL se
43 */
44 LteLinkAdaptationTestCase(std::string name, double snrDb, double loss, uint16_t mcsIndex);
47
48 /**
49 * \brief DL scheduling function
50 * \param dlInfo the DL info
51 */
53
54 private:
55 void DoRun() override;
56
57 double m_snrDb; ///< the SNR in dB
58 double m_loss; ///< the loss
59 uint16_t m_mcsIndex; ///< the MCS index
60};
61
62#endif /* LTE_TEST_LINK_ADAPTATION_H */
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.
DlSchedulingCallbackInfo structure.
Definition lte-common.h:226