Skip to content

Commit ab3bd4e

Browse files
committed
lte: Leave some further comments on how the test works
1 parent 8163f20 commit ab3bd4e

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/lte/test/lte-test-phy-error-model.cc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ LenaTestPhyErrorModelSuite::LenaTestPhyErrorModelSuite()
6060
// tol = n*p - binoinv(0.001, n, p)
6161
// endfor
6262

63+
// This octave code calculates a 99.9% confidence level test (0.001 failure rate)
64+
// for a binomial distribution. 'p' in this case comes from the PCFICH-PDCCH error
65+
// curve in lte-mi-error-model.cc:75-91.
66+
// SINR 2.0 dB corresponds to BLER of roughly 0.007, SINR 4.0 dB to BLER of 0.045
67+
// SINR 6.0 dB to 0.206, and SINR 7.0 dB to 0.343.
68+
6369
// 1 interfering eNB SINR -2.0 BLER 0.007 TB size 217
6470
AddTestCase(new LenaDlCtrlPhyErrorModelTestCase(2, 1078, 0.007, 9, rngRun),
6571
(rngRun == 1) ? TestCase::Duration::QUICK : TestCase::Duration::TAKES_FOREVER);
@@ -225,7 +231,10 @@ LenaDataPhyErrorModelTestCase::DoRun()
225231
// Attach a UE to a eNB
226232
lena->Attach(ueDevs, enbDevs.Get(0));
227233

228-
// Activate an EPS bearer
234+
// Activate an EPS bearer. When ActivateDataRadioBearer is called without
235+
// an EPC, it defaults to the saturation mode RLC (RLC_SM_ALWAYS), which
236+
// causes one packet to be generated per TTI, which provides the traffic
237+
// for this test.
229238
EpsBearer::Qci q = EpsBearer::GBR_CONV_VOICE;
230239
EpsBearer bearer(q);
231240
lena->ActivateDataRadioBearer(ueDevs, bearer);
@@ -406,7 +415,10 @@ LenaDlCtrlPhyErrorModelTestCase::DoRun()
406415
// Attach a UE to one eNB (the others are interfering ones)
407416
lena->Attach(ueDevs, enbDevs.Get(0));
408417

409-
// Activate an EPS bearer
418+
// Activate an EPS bearer. When ActivateDataRadioBearer is called without
419+
// an EPC, it defaults to the saturation mode RLC (RLC_SM_ALWAYS), which
420+
// causes one packet to be generated per TTI, which provides the traffic
421+
// for this test.
410422
EpsBearer::Qci q = EpsBearer::GBR_CONV_VOICE;
411423
EpsBearer bearer(q);
412424
lena->ActivateDataRadioBearer(ueDevs, bearer);

0 commit comments

Comments
 (0)