49 NS_LOG_INFO(
"Creating LteDownlinkPowerControlTestSuite");
53 std::vector<int> activeRbs_txpowdB30nrb6run1earfcn500(4);
54 activeRbs_txpowdB30nrb6run1earfcn500[0] = 0;
55 activeRbs_txpowdB30nrb6run1earfcn500[1] = 2;
56 activeRbs_txpowdB30nrb6run1earfcn500[2] = 3;
57 activeRbs_txpowdB30nrb6run1earfcn500[3] = 5;
59 uint16_t earfcn = 500;
63 std::map<int, double> powerTxMap;
64 double rbTxPower = powerTx;
67 powerTxMap.insert(std::pair<int, double>(0, rbTxPower));
70 powerTxMap.insert(std::pair<int, double>(2, rbTxPower));
73 powerTxMap.insert(std::pair<int, double>(3, rbTxPower));
76 powerTxMap.insert(std::pair<int, double>(5, rbTxPower));
80 spectrumValue_txpowdB30nrb6run1earfcn500[0] = 2.325820769916e-07;
81 spectrumValue_txpowdB30nrb6run1earfcn500[1] = 0.000000000000e+00;
82 spectrumValue_txpowdB30nrb6run1earfcn500[2] = 4.640622533585e-07;
83 spectrumValue_txpowdB30nrb6run1earfcn500[3] = 9.259259259259e-07;
84 spectrumValue_txpowdB30nrb6run1earfcn500[4] = 0.000000000000e+00;
85 spectrumValue_txpowdB30nrb6run1earfcn500[5] = 1.467493696723e-06;
88 "txpowdB30nrb6run1earfcn500_allRbPower",
93 activeRbs_txpowdB30nrb6run1earfcn500,
94 spectrumValue_txpowdB30nrb6run1earfcn500),
95 TestCase::Duration::QUICK);
99 std::vector<int> activeRbs_txpowdB30nrb6run1earfcn500(4);
100 activeRbs_txpowdB30nrb6run1earfcn500[0] = 0;
101 activeRbs_txpowdB30nrb6run1earfcn500[1] = 2;
102 activeRbs_txpowdB30nrb6run1earfcn500[2] = 3;
103 activeRbs_txpowdB30nrb6run1earfcn500[3] = 5;
105 uint16_t earfcn = 500;
109 std::map<int, double> powerTxMap;
110 double rbTxPower = powerTx;
113 powerTxMap.insert(std::pair<int, double>(2, rbTxPower));
116 powerTxMap.insert(std::pair<int, double>(3, rbTxPower));
119 powerTxMap.insert(std::pair<int, double>(5, rbTxPower));
123 spectrumValue_txpowdB30nrb6run1earfcn500[0] = 9.259259259259e-07;
124 spectrumValue_txpowdB30nrb6run1earfcn500[1] = 0.000000000000e+00;
125 spectrumValue_txpowdB30nrb6run1earfcn500[2] = 4.640622533585e-07;
126 spectrumValue_txpowdB30nrb6run1earfcn500[3] = 9.259259259259e-07;
127 spectrumValue_txpowdB30nrb6run1earfcn500[4] = 0.000000000000e+00;
128 spectrumValue_txpowdB30nrb6run1earfcn500[5] = 1.467493696723e-06;
131 "txpowdB30nrb6run1earfcn500",
136 activeRbs_txpowdB30nrb6run1earfcn500,
137 spectrumValue_txpowdB30nrb6run1earfcn500),
138 TestCase::Duration::QUICK);
141 std::vector<int> activeRbs_txpowdB30nrb25run1earfcn500(15);
142 activeRbs_txpowdB30nrb25run1earfcn500[0] = 0;
143 activeRbs_txpowdB30nrb25run1earfcn500[1] = 1;
144 activeRbs_txpowdB30nrb25run1earfcn500[2] = 2;
145 activeRbs_txpowdB30nrb25run1earfcn500[3] = 3;
146 activeRbs_txpowdB30nrb25run1earfcn500[4] = 7;
147 activeRbs_txpowdB30nrb25run1earfcn500[5] = 8;
148 activeRbs_txpowdB30nrb25run1earfcn500[6] = 9;
149 activeRbs_txpowdB30nrb25run1earfcn500[7] = 11;
150 activeRbs_txpowdB30nrb25run1earfcn500[8] = 13;
151 activeRbs_txpowdB30nrb25run1earfcn500[9] = 14;
152 activeRbs_txpowdB30nrb25run1earfcn500[10] = 18;
153 activeRbs_txpowdB30nrb25run1earfcn500[11] = 19;
154 activeRbs_txpowdB30nrb25run1earfcn500[12] = 20;
155 activeRbs_txpowdB30nrb25run1earfcn500[13] = 21;
156 activeRbs_txpowdB30nrb25run1earfcn500[14] = 24;
158 uint16_t earfcn = 500;
162 std::map<int, double> powerTxMap;
163 double rbTxPower = powerTx;
165 powerTxMap.insert(std::pair<int, double>(0, rbTxPower));
167 powerTxMap.insert(std::pair<int, double>(1, rbTxPower));
169 powerTxMap.insert(std::pair<int, double>(2, rbTxPower));
171 powerTxMap.insert(std::pair<int, double>(3, rbTxPower));
173 powerTxMap.insert(std::pair<int, double>(7, rbTxPower));
175 powerTxMap.insert(std::pair<int, double>(8, rbTxPower));
177 powerTxMap.insert(std::pair<int, double>(9, rbTxPower));
179 powerTxMap.insert(std::pair<int, double>(11, rbTxPower));
181 powerTxMap.insert(std::pair<int, double>(13, rbTxPower));
183 powerTxMap.insert(std::pair<int, double>(14, rbTxPower));
185 powerTxMap.insert(std::pair<int, double>(18, rbTxPower));
187 powerTxMap.insert(std::pair<int, double>(19, rbTxPower));
189 powerTxMap.insert(std::pair<int, double>(20, rbTxPower));
191 powerTxMap.insert(std::pair<int, double>(21, rbTxPower));
193 powerTxMap.insert(std::pair<int, double>(24, rbTxPower));
197 spectrumValue_txpowdB30nrb25run1earfcn500[0] = 1.113749408060e-07;
198 spectrumValue_txpowdB30nrb25run1earfcn500[1] = 7.409475839182e-08;
199 spectrumValue_txpowdB30nrb25run1earfcn500[2] = 5.581969847799e-08;
200 spectrumValue_txpowdB30nrb25run1earfcn500[3] = 2.797612026209e-07;
201 spectrumValue_txpowdB30nrb25run1earfcn500[4] = 0.000000000000e+00;
202 spectrumValue_txpowdB30nrb25run1earfcn500[5] = 0.000000000000e+00;
203 spectrumValue_txpowdB30nrb25run1earfcn500[6] = 0.000000000000e+00;
204 spectrumValue_txpowdB30nrb25run1earfcn500[7] = 3.521984872135e-07;
205 spectrumValue_txpowdB30nrb25run1earfcn500[8] = 3.521984872135e-07;
206 spectrumValue_txpowdB30nrb25run1earfcn500[9] = 3.521984872135e-07;
207 spectrumValue_txpowdB30nrb25run1earfcn500[10] = 0.000000000000e+00;
208 spectrumValue_txpowdB30nrb25run1earfcn500[11] = 1.478384791559e-07;
209 spectrumValue_txpowdB30nrb25run1earfcn500[12] = 0.000000000000e+00;
210 spectrumValue_txpowdB30nrb25run1earfcn500[13] = 3.521984872135e-07;
211 spectrumValue_txpowdB30nrb25run1earfcn500[14] = 1.113749408060e-07;
212 spectrumValue_txpowdB30nrb25run1earfcn500[15] = 0.000000000000e+00;
213 spectrumValue_txpowdB30nrb25run1earfcn500[16] = 0.000000000000e+00;
214 spectrumValue_txpowdB30nrb25run1earfcn500[17] = 0.000000000000e+00;
215 spectrumValue_txpowdB30nrb25run1earfcn500[18] = 2.222222222222e-07;
216 spectrumValue_txpowdB30nrb25run1earfcn500[19] = 1.113749408060e-07;
217 spectrumValue_txpowdB30nrb25run1earfcn500[20] = 1.113749408060e-07;
218 spectrumValue_txpowdB30nrb25run1earfcn500[21] = 7.409475839182e-08;
219 spectrumValue_txpowdB30nrb25run1earfcn500[22] = 0.000000000000e+00;
220 spectrumValue_txpowdB30nrb25run1earfcn500[23] = 0.000000000000e+00;
221 spectrumValue_txpowdB30nrb25run1earfcn500[24] = 4.433916255486e-07;
224 "txpowdB30nrb25run1earfcn500_allRbPower",
229 activeRbs_txpowdB30nrb25run1earfcn500,
230 spectrumValue_txpowdB30nrb25run1earfcn500),
231 TestCase::Duration::QUICK);
235 std::vector<int> activeRbs_txpowdB30nrb25run1earfcn500(15);
236 activeRbs_txpowdB30nrb25run1earfcn500[0] = 0;
237 activeRbs_txpowdB30nrb25run1earfcn500[1] = 1;
238 activeRbs_txpowdB30nrb25run1earfcn500[2] = 2;
239 activeRbs_txpowdB30nrb25run1earfcn500[3] = 3;
240 activeRbs_txpowdB30nrb25run1earfcn500[4] = 7;
241 activeRbs_txpowdB30nrb25run1earfcn500[5] = 8;
242 activeRbs_txpowdB30nrb25run1earfcn500[6] = 9;
243 activeRbs_txpowdB30nrb25run1earfcn500[7] = 11;
244 activeRbs_txpowdB30nrb25run1earfcn500[8] = 13;
245 activeRbs_txpowdB30nrb25run1earfcn500[9] = 14;
246 activeRbs_txpowdB30nrb25run1earfcn500[10] = 18;
247 activeRbs_txpowdB30nrb25run1earfcn500[11] = 19;
248 activeRbs_txpowdB30nrb25run1earfcn500[12] = 20;
249 activeRbs_txpowdB30nrb25run1earfcn500[13] = 21;
250 activeRbs_txpowdB30nrb25run1earfcn500[14] = 24;
252 uint16_t earfcn = 500;
256 std::map<int, double> powerTxMap;
257 double rbTxPower = powerTx;
259 powerTxMap.insert(std::pair<int, double>(0, rbTxPower));
261 powerTxMap.insert(std::pair<int, double>(2, rbTxPower));
263 powerTxMap.insert(std::pair<int, double>(3, rbTxPower));
265 powerTxMap.insert(std::pair<int, double>(7, rbTxPower));
267 powerTxMap.insert(std::pair<int, double>(8, rbTxPower));
269 powerTxMap.insert(std::pair<int, double>(13, rbTxPower));
271 powerTxMap.insert(std::pair<int, double>(14, rbTxPower));
273 powerTxMap.insert(std::pair<int, double>(18, rbTxPower));
275 powerTxMap.insert(std::pair<int, double>(19, rbTxPower));
277 powerTxMap.insert(std::pair<int, double>(24, rbTxPower));
281 spectrumValue_txpowdB30nrb25run1earfcn500[0] = 1.113749408060e-07;
282 spectrumValue_txpowdB30nrb25run1earfcn500[1] = 2.222222222222e-07;
283 spectrumValue_txpowdB30nrb25run1earfcn500[2] = 5.581969847799e-08;
284 spectrumValue_txpowdB30nrb25run1earfcn500[3] = 2.797612026209e-07;
285 spectrumValue_txpowdB30nrb25run1earfcn500[4] = 0.000000000000e+00;
286 spectrumValue_txpowdB30nrb25run1earfcn500[5] = 0.000000000000e+00;
287 spectrumValue_txpowdB30nrb25run1earfcn500[6] = 0.000000000000e+00;
288 spectrumValue_txpowdB30nrb25run1earfcn500[7] = 3.521984872135e-07;
289 spectrumValue_txpowdB30nrb25run1earfcn500[8] = 3.521984872135e-07;
290 spectrumValue_txpowdB30nrb25run1earfcn500[9] = 2.222222222222e-07;
291 spectrumValue_txpowdB30nrb25run1earfcn500[10] = 0.000000000000e+00;
292 spectrumValue_txpowdB30nrb25run1earfcn500[11] = 2.222222222222e-07;
293 spectrumValue_txpowdB30nrb25run1earfcn500[12] = 0.000000000000e+00;
294 spectrumValue_txpowdB30nrb25run1earfcn500[13] = 3.521984872135e-07;
295 spectrumValue_txpowdB30nrb25run1earfcn500[14] = 1.113749408060e-07;
296 spectrumValue_txpowdB30nrb25run1earfcn500[15] = 0.000000000000e+00;
297 spectrumValue_txpowdB30nrb25run1earfcn500[16] = 0.000000000000e+00;
298 spectrumValue_txpowdB30nrb25run1earfcn500[17] = 0.000000000000e+00;
299 spectrumValue_txpowdB30nrb25run1earfcn500[18] = 2.222222222222e-07;
300 spectrumValue_txpowdB30nrb25run1earfcn500[19] = 1.113749408060e-07;
301 spectrumValue_txpowdB30nrb25run1earfcn500[20] = 2.222222222222e-07;
302 spectrumValue_txpowdB30nrb25run1earfcn500[21] = 2.222222222222e-07;
303 spectrumValue_txpowdB30nrb25run1earfcn500[22] = 0.000000000000e+00;
304 spectrumValue_txpowdB30nrb25run1earfcn500[23] = 0.000000000000e+00;
305 spectrumValue_txpowdB30nrb25run1earfcn500[24] = 4.433916255486e-07;
308 "txpowdB30nrb25run1earfcn500",
313 activeRbs_txpowdB30nrb25run1earfcn500,
314 spectrumValue_txpowdB30nrb25run1earfcn500),
315 TestCase::Duration::QUICK);
321 "DataCtrlPowerDifference_noChange"),
322 TestCase::Duration::QUICK);
325 "DataCtrlPowerDifference_dB_6"),
326 TestCase::Duration::QUICK);
329 "DataCtrlPowerDifference_dB_4dot77"),
330 TestCase::Duration::QUICK);
333 "DataCtrlPowerDifference_dB_3"),
334 TestCase::Duration::QUICK);
337 "DataCtrlPowerDifference_dB_1dot77"),
338 TestCase::Duration::QUICK);
341 "DataCtrlPowerDifference_dB0"),
342 TestCase::Duration::QUICK);
345 "DataCtrlPowerDifference_dB1"),
346 TestCase::Duration::QUICK);
349 "DataCtrlPowerDifference_dB2"),
350 TestCase::Duration::QUICK);
353 "DataCtrlPowerDifference_dB3"),
354 TestCase::Duration::QUICK);
359 "RrcConnReconf-IdealRrc"),
360 TestCase::Duration::QUICK);
363 "RrcConnReconf-RealRrc"),
364 TestCase::Duration::QUICK);