|
This is the mid-term code review for the GSoC 2013 project for developing UE measurements in ACTIVE and IDLE mode for ns-3.
The review covers all the changes from the beginning of the project until the latest revision as of July 22nd (in specific, revision 9928 was the base, and revision 9984 was the head). This includes code, test scripts, and documentation of the completed "UE Measurements" block and the partially completed "Initial Cell Selection" block. More information on the detailed features can be found in the project Wiki page [1] or in the model library (Sphinx) documentation.
As a reference, below is the list of supported event-based triggering in the underlying UE measurements function.
- Event A1: Serving cell becomes better than `threshold`
- Event A2: Serving cell becomes worse than `threshold`
- Event A3: Neighbour becomes `offset` dB better than serving cell
- Event A4: Neighbour becomes better than `threshold`
- Event A5: Serving becomes worse than `threshold1` *AND* neighbour becomes better than `threshold2`
Several notes about the code:
- The "pre-GSOC" UE measurement configuration, found in some test suites and examples, exists as a temporary workaround before it is implemented as a handover algorithm during the second term of the project.
- The UE measurements implementation still contains several blocks of `#ifdef NS3_ASSERT_ENABLE`, which were intended for my own testing. They will be eventually removed.
- I forget to disable `LogComponentEnable` statements in the `lte-cell-selection` test suite. They will be disabled for sure.
- The documentation on Initial Cell Selection might not reflect the current code, since I haven't updated it yet.
- A full-blown `./test.py` results in failure for `lte-pathloss-model` test suite and crash for `buildings-pathloss-profiler` example. The former is caused by UE not entering CONNECTED mode. While the latter can probably be fixed when I pull in some bug fixes from lena-dev.
The whole set of code can be downloaded from the repository [2]. As of now, there are 5 test suites of interest, which can be run as follows:
./test.py -f EXTENSIVE -s lte-ue-measurements
./test.py -f TAKES_FOREVER -s lte-ue-measurements-piecewise-1
./test.py -f TAKES_FOREVER -s lte-ue-measurements-piecewise-2
./test.py -f TAKES_FOREVER -s lte-ue-measurements-handover
./test.py -s lte-cell-selection
Please feel free to contact me if you have any comments or questions. Otherwise, thanks in advance for reviewing.
-budi-
[1] https://www.nsnam.org/wiki/index.php/GSOC2013UeMeasurementActiveIdle
[2] http://code.nsnam.org/buherman/ns-3-gsoc-lte/
Total comments: 56
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+7026 lines, -1074 lines) |
Patch |
 |
M |
doc/models/Makefile
|
View
|
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/doc/Makefile
|
View
|
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
A |
src/lte/doc/source/figures/ue-meas-consumer.eps
|
View
|
|
1 chunk |
+1212 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/lte/doc/source/figures/ue-meas-piecewise-a1.dia
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
src/lte/doc/source/figures/ue-meas-piecewise-a1-hys.dia
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
src/lte/doc/source/figures/ue-meas-piecewise-motion.dia
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
M |
src/lte/doc/source/lte-design.rst
|
View
|
|
20 chunks |
+329 lines, -109 lines |
10 comments
|
Download
|
 |
M |
src/lte/doc/source/lte-testing.rst
|
View
|
|
3 chunks |
+236 lines, -11 lines |
1 comment
|
Download
|
 |
M |
src/lte/doc/source/lte-user.rst
|
View
|
|
5 chunks |
+204 lines, -6 lines |
8 comments
|
Download
|
 |
M |
src/lte/examples/lena-x2-handover.cc
|
View
|
|
8 chunks |
+88 lines, -91 lines |
0 comments
|
Download
|
 |
M |
src/lte/examples/lena-x2-handover-measures.cc
|
View
|
|
9 chunks |
+167 lines, -30 lines |
0 comments
|
Download
|
 |
M |
src/lte/helper/lte-helper.h
|
View
|
|
3 chunks |
+41 lines, -1 line |
4 comments
|
Download
|
 |
M |
src/lte/helper/lte-helper.cc
|
View
|
|
3 chunks |
+62 lines, -1 line |
4 comments
|
Download
|
 |
M |
src/lte/model/epc-ue-nas.h
|
View
|
|
3 chunks |
+17 lines, -5 lines |
2 comments
|
Download
|
 |
M |
src/lte/model/epc-ue-nas.cc
|
View
|
|
3 chunks |
+13 lines, -4 lines |
2 comments
|
Download
|
 |
M |
src/lte/model/lte-common.h
|
View
|
|
4 chunks |
+22 lines, -4 lines |
4 comments
|
Download
|
 |
M |
src/lte/model/lte-common.cc
|
View
|
|
2 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-control-messages.h
|
View
|
|
2 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-control-messages.cc
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-enb-cphy-sap.h
|
View
|
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-enb-phy.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-enb-phy.cc
|
View
|
|
2 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-enb-rrc.h
|
View
|
|
5 chunks |
+51 lines, -18 lines |
4 comments
|
Download
|
 |
M |
src/lte/model/lte-enb-rrc.cc
|
View
|
|
10 chunks |
+135 lines, -103 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-rrc-protocol-ideal.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-rrc-protocol-ideal.cc
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-rrc-protocol-real.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-rrc-protocol-real.cc
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-rrc-sap.h
|
View
|
|
12 chunks |
+66 lines, -59 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-rrc-sap.cc
|
View
|
|
2 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-spectrum-phy.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-ue-cphy-sap.h
|
View
|
|
7 chunks |
+36 lines, -13 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-ue-net-device.h
|
View
|
|
2 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-ue-net-device.cc
|
View
|
|
5 chunks |
+24 lines, -3 lines |
2 comments
|
Download
|
 |
M |
src/lte/model/lte-ue-phy.h
|
View
|
|
9 chunks |
+46 lines, -14 lines |
4 comments
|
Download
|
 |
M |
src/lte/model/lte-ue-phy.cc
|
View
|
|
19 chunks |
+185 lines, -78 lines |
9 comments
|
Download
|
 |
M |
src/lte/model/lte-ue-rrc.h
|
View
|
|
9 chunks |
+107 lines, -25 lines |
0 comments
|
Download
|
 |
M |
src/lte/model/lte-ue-rrc.cc
|
View
|
|
38 chunks |
+1302 lines, -343 lines |
2 comments
|
Download
|
 |
A |
src/lte/test/lte-test-cell-selection.h
|
View
|
|
1 chunk |
+133 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/lte/test/lte-test-cell-selection.cc
|
View
|
|
1 chunk |
+348 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/lte/test/lte-test-ue-measurements.h
|
View
|
|
3 chunks |
+305 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/lte/test/lte-test-ue-measurements.cc
|
View
|
|
10 chunks |
+1674 lines, -43 lines |
0 comments
|
Download
|
 |
M |
src/lte/test/test-lte-x2-handover-measures.cc
|
View
|
|
3 chunks |
+42 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/lte/wscript
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 4
|