author | Robert Ammon <ammo6818@vandals.uidaho.edu> |
Fri, 02 Jun 2017 14:45:29 +0200 | |
changeset 12904 | e949b994faad |
parent 12755 | c9463a35bae4 |
child 13757 | 3eef0466ba19 |
permissions | -rw-r--r-- |
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
2 |
/* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
3 |
* Copyright (c) 2014 Piotr Gawlowicz |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
4 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
8 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
13 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
17 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
18 |
* Author: Piotr Gawlowicz <gawlowicz.p@gmail.com> |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
19 |
* |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
20 |
*/ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
21 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
22 |
#ifndef LTE_TEST_CQI_GENERATION_H |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
23 |
#define LTE_TEST_CQI_GENERATION_H |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
24 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
25 |
#include "ns3/test.h" |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
26 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
27 |
using namespace ns3; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
28 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
29 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
30 |
* \ingroup lte-test |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
31 |
* \ingroup tests |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
32 |
* |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
33 |
* \brief Lte Cqi Generation Test Suite |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
34 |
*/ |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
35 |
|
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
36 |
class LteCqiGenerationTestSuite : public TestSuite |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
37 |
{ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
38 |
public: |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
39 |
LteCqiGenerationTestSuite (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
40 |
}; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
41 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
42 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
43 |
* \ingroup lte-test |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
44 |
* \ingroup tests |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
45 |
* |
12904
e949b994faad
lte: Additional doxygen corrections (patch set 5)
Robert Ammon <ammo6818@vandals.uidaho.edu>
parents:
12755
diff
changeset
|
46 |
* \brief This is the test case for testing different configuration of CQI generation. |
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
47 |
* The topology consists of the two UEs and two eNbs. UEs have the same position, |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
48 |
* while eNodeBs are at the same distance from both UEs. The checking whether CQI is |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
49 |
* generated properly for two different cases: when PDCCH is used for the CQI |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
50 |
* estimation and when PDSCH is used for CQI estimation. |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
51 |
*/ |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
52 |
|
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
53 |
class LteCqiGenerationTestCase : public TestCase |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
54 |
{ |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
55 |
public: |
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
56 |
/** |
12904
e949b994faad
lte: Additional doxygen corrections (patch set 5)
Robert Ammon <ammo6818@vandals.uidaho.edu>
parents:
12755
diff
changeset
|
57 |
* \Constructor |
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
58 |
* |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
59 |
* \param name reference name |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
60 |
* \param usePdcchForCqiGeneration use PDCCH for CQI generation |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
61 |
* \param dlMcs DL MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
62 |
* \param ulMcs UL MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
63 |
*/ |
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
64 |
LteCqiGenerationTestCase (std::string name, bool usePdcchForCqiGeneration, |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
65 |
uint16_t dlMcs, uint16_t ulMcs); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
66 |
virtual ~LteCqiGenerationTestCase (); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
67 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
68 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
69 |
* \brief DL Scheduling function |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
70 |
* \param dlInfo DL info |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
71 |
*/ |
12541
b40e1ba0eea3
lte: extend lte stats and trace interfaces with CA component carrier Id
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
11111
diff
changeset
|
72 |
void DlScheduling (DlSchedulingCallbackInfo dlInfo); |
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
73 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
74 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
75 |
* \brief UL Scheduling function |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
76 |
* \param frameNo frame number |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
77 |
* \param subframeNo subframe number |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
78 |
* \param rnti the RNTI |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
79 |
* \param mcs the MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
80 |
* \param sizeTb size |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
81 |
*/ |
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
82 |
void UlScheduling (uint32_t frameNo, uint32_t subframeNo, uint16_t rnti, |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
83 |
uint8_t mcs, uint16_t sizeTb); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
84 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
85 |
private: |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
86 |
virtual void DoRun (void); |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
87 |
|
12755
c9463a35bae4
lte: fix build issue caused by previous commits
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12750
diff
changeset
|
88 |
bool m_usePdschForCqiGeneration; ///< use PDCCH for CQI generation |
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
89 |
uint16_t m_dlMcs; ///< the DL MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
90 |
uint16_t m_ulMcs; ///< the UL MCS |
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
91 |
|
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
92 |
}; |
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
93 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
94 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
95 |
* \ingroup lte-test |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
96 |
* \ingroup tests |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
97 |
* |
12904
e949b994faad
lte: Additional doxygen corrections (patch set 5)
Robert Ammon <ammo6818@vandals.uidaho.edu>
parents:
12755
diff
changeset
|
98 |
* \brief This test is very similar to LteCqiGenerationTestCase. The difference is that in this |
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
99 |
* test is enabled the downlink power control. |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
100 |
*/ |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
101 |
|
11111
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
102 |
class LteCqiGenerationDlPowerControlTestCase : public TestCase |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
103 |
{ |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
104 |
public: |
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
105 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
106 |
* Constructor |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
107 |
* |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
108 |
* \param name reference name |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
109 |
* \param cell0Pa cell # 0 PA |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
110 |
* \param cell1Pa cell # 1 PA |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
111 |
* \param dlMcs DL MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
112 |
* \param ulMcs UL MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
113 |
*/ |
11111
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
114 |
LteCqiGenerationDlPowerControlTestCase (std::string name, uint8_t cell0Pa, uint8_t cell1Pa, |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
115 |
uint16_t dlMcs, uint16_t ulMcs); |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
116 |
virtual ~LteCqiGenerationDlPowerControlTestCase (); |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
117 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
118 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
119 |
* \brief DL Scheduling function |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
120 |
* \param dlInfo DL info |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
121 |
*/ |
12541
b40e1ba0eea3
lte: extend lte stats and trace interfaces with CA component carrier Id
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
11111
diff
changeset
|
122 |
void DlScheduling (DlSchedulingCallbackInfo dlInfo); |
11111
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
123 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
124 |
/** |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
125 |
* \brief UL Scheduling function |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
126 |
* \param frameNo frame number |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
127 |
* \param subframeNo subframe number |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
128 |
* \param rnti the RNTI |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
129 |
* \param mcs the MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
130 |
* \param sizeTb size |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
131 |
*/ |
11111
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
132 |
void UlScheduling (uint32_t frameNo, uint32_t subframeNo, uint16_t rnti, |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
133 |
uint8_t mcs, uint16_t sizeTb); |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
134 |
|
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
135 |
private: |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
136 |
virtual void DoRun (void); |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
137 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
138 |
uint8_t m_cell0Pa; ///< cell #0 PA |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
139 |
uint8_t m_cell1Pa; ///< cell #1 PA |
11111
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
140 |
|
12750
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
141 |
uint16_t m_dlMcs; ///< the DL MCS |
6c9232bd3ba4
lte: doxygen updates of tests (many thanks to Robert Ammon for initial patch)
Biljana Bojovic <biljana.bojovic@gmail.com>
parents:
12541
diff
changeset
|
142 |
uint16_t m_ulMcs; ///< the UL MCS |
11111
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
143 |
|
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
144 |
}; |
dc2d615b152f
Bug 2029 - new CQI generation approach fix
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
10892
diff
changeset
|
145 |
|
10892
3e86fac77082
GSoC 2014 FFR algorithms
Piotr Gawlowicz <gawlowicz.p@gmail.com>
parents:
diff
changeset
|
146 |
#endif /* LTE_TEST_CQI_GENERATION_H */ |