Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(14938)

Issue 12657043: LTE Handover Management SAP

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by buherman
Modified:
10 years, 8 months ago
Reviewers:
nicola.baldo, Nicola Baldo, marco.miozzo, mrequena, jaime.ferragut
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

Hi All, This is the preliminary code of Handover Management SAP for GSoC 2013, which mediates the two-way interaction between LteEnbRrc and HandoverAlgorithm. This patchset also includes 2 implementation of HandoverAlgorithm: Bare and A2Rsrq. The former is an "empty" algorithm to be used if no automatic handover is desired (e.g. in some test scripts), while the latter is the original algorithm from LENA M5. Note that NRT function is still hardcoded at the moment. My proposed approach to solve this is to make a new class LteAnr (Automatic Neighbour Relation), which will interact with LteEnbRrc via a new SAP interface. The interface methods may include: 1. ANR provides RRC with UE measurements configuration 2. RRC provides ANR with measurement reports (then ANR will insert/update the NRT) 3. RRC queries ANR for NRT content I'll upload the ANR as a separate patchset when I'm done with it. Looking forward to your feedback. Thanks, -budi-

Patch Set 1 #

Total comments: 18

Patch Set 2 : Completed Handover Algorithm and ANR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4677 lines, -5195 lines) Patch
M doc/models/Makefile View 1 5 chunks +7 lines, -5 lines 0 comments Download
M src/lte/doc/Makefile View 1 4 chunks +5 lines, -5 lines 0 comments Download
A src/lte/doc/source/figures/lte-epc-x2-handover-seq-diagram.dia View 1 Binary file 0 comments Download
R src/lte/doc/source/figures/lte-epc-x2-handover-seq-diagram.eps View 1 1 chunk +0 lines, -2995 lines 0 comments Download
M src/lte/doc/source/figures/lte-legacy-handover-algorithm.dot View 1 1 chunk +16 lines, -14 lines 0 comments Download
A src/lte/doc/source/figures/lte-legacy-handover-algorithm.pdf View 1 Binary file 0 comments Download
A src/lte/doc/source/figures/lte-legacy-handover-algorithm.png View 1 Binary file 0 comments Download
A src/lte/doc/source/figures/lte-strongest-cell-handover-algorithm.eps View 1 1 chunk +1416 lines, -0 lines 0 comments Download
M src/lte/doc/source/figures/lte-ue-rrc-states.dot View 1 1 chunk +11 lines, -20 lines 0 comments Download
A src/lte/doc/source/figures/ue-meas-consumer.dia View 1 Binary file 0 comments Download
R src/lte/doc/source/figures/ue-meas-consumer.eps View 1 1 chunk +0 lines, -1212 lines 0 comments Download
M src/lte/doc/source/lte-design.rst View 1 22 chunks +288 lines, -90 lines 0 comments Download
M src/lte/doc/source/lte-references.rst View 1 2 chunks +53 lines, -30 lines 0 comments Download
M src/lte/doc/source/lte-testing.rst View 1 2 chunks +15 lines, -1 line 0 comments Download
M src/lte/doc/source/lte-user.rst View 1 11 chunks +184 lines, -155 lines 0 comments Download
M src/lte/examples/lena-x2-handover.cc View 1 7 chunks +7 lines, -6 lines 0 comments Download
M src/lte/examples/lena-x2-handover-measures.cc View 1 6 chunks +36 lines, -50 lines 0 comments Download
M src/lte/helper/lte-helper.h View 1 3 chunks +22 lines, -0 lines 0 comments Download
M src/lte/helper/lte-helper.cc View 1 16 chunks +62 lines, -14 lines 0 comments Download
A src/lte/model/a2-a4-rsrq-handover-algorithm.h View 1 1 chunk +125 lines, -0 lines 0 comments Download
A src/lte/model/a2-a4-rsrq-handover-algorithm.cc View 1 1 chunk +277 lines, -0 lines 0 comments Download
A src/lte/model/a3-rsrp-handover-algorithm.h View 1 1 chunk +93 lines, -0 lines 0 comments Download
A src/lte/model/a3-rsrp-handover-algorithm.cc View 1 1 chunk +183 lines, -0 lines 0 comments Download
A src/lte/model/lte-anr.h View 1 1 chunk +142 lines, -0 lines 0 comments Download
A src/lte/model/lte-anr.cc View 1 1 chunk +252 lines, -0 lines 0 comments Download
A src/lte/model/lte-anr-sap.h View 1 1 chunk +233 lines, -0 lines 0 comments Download
A src/lte/model/lte-anr-sap.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download
M src/lte/model/lte-common.h View 1 1 chunk +36 lines, -8 lines 0 comments Download
M src/lte/model/lte-common.cc View 1 1 chunk +56 lines, -16 lines 0 comments Download
M src/lte/model/lte-enb-net-device.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M src/lte/model/lte-enb-net-device.cc View 1 5 chunks +28 lines, -0 lines 0 comments Download
M src/lte/model/lte-enb-rrc.h View 1 14 chunks +80 lines, -62 lines 0 comments Download
M src/lte/model/lte-enb-rrc.cc View 1 23 chunks +165 lines, -206 lines 0 comments Download
A src/lte/model/lte-handover-algorithm.h View 1 1 chunk +71 lines, -0 lines 0 comments Download
A src/lte/model/lte-handover-algorithm.cc View 1 1 chunk +58 lines, -0 lines 0 comments Download
A src/lte/model/lte-handover-management-sap.h View 1 1 chunk +187 lines, -0 lines 0 comments Download
A src/lte/model/lte-handover-management-sap.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
M src/lte/model/lte-ue-phy.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/lte/model/lte-ue-phy.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M src/lte/model/lte-ue-rrc.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/lte/model/no-op-handover-algorithm.h View 1 1 chunk +71 lines, -0 lines 0 comments Download
A src/lte/model/no-op-handover-algorithm.cc View 1 1 chunk +90 lines, -0 lines 0 comments Download
M src/lte/test/lte-test-ue-measurements.h View 3 chunks +28 lines, -0 lines 0 comments Download
M src/lte/test/lte-test-ue-measurements.cc View 1 7 chunks +166 lines, -198 lines 0 comments Download
M src/lte/test/test-lte-x2-handover.cc View 1 3 chunks +16 lines, -15 lines 0 comments Download
M src/lte/test/test-lte-x2-handover-measures.cc View 1 11 chunks +97 lines, -89 lines 0 comments Download
M src/lte/wscript View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Nicola Baldo
Overall the approach is ok, the main issues are to use the templates for the ...
10 years, 8 months ago (2013-08-10 13:40:25 UTC) #1
buherman
10 years, 8 months ago (2013-08-18 19:58:41 UTC) #2
Thanks Nicola for the review. I've updated the code as per your comments.

Regards,
-budi-

https://codereview.appspot.com/12657043/diff/1/src/lte/model/a2-rsrq-handover...
File src/lte/model/a2-rsrq-handover-algorithm.cc (right):

https://codereview.appspot.com/12657043/diff/1/src/lte/model/a2-rsrq-handover...
src/lte/model/a2-rsrq-handover-algorithm.cc:44: class
A2RsrqMemberHandoverManagementSapProvider : public HandoverManagementSapProvider
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> also this should be replaced by a template, see comment in
handover-algorithm.cc

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/a2-rsrq-handover...
File src/lte/model/a2-rsrq-handover-algorithm.h (right):

https://codereview.appspot.com/12657043/diff/1/src/lte/model/a2-rsrq-handover...
src/lte/model/a2-rsrq-handover-algorithm.h:38: *        on RSRQ and Event A2
(serving cell's RSRQ becomes worse than a
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> please mention that A4 is used as well.

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/a2-rsrq-handover...
src/lte/model/a2-rsrq-handover-algorithm.h:44: class A2RsrqHandoverAlgorithm :
public HandoverAlgorithm
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> maybe rename to A2A4RsrqHandoverAlgorithm?

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-algorit...
File src/lte/model/handover-algorithm.cc (right):

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-algorit...
src/lte/model/handover-algorithm.cc:71: class
BareMemberHandoverManagementSapProvider : public HandoverManagementSapProvider
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> instead of declaring a separate pair of forwarder classes per each algorithm,
> please declare two template forwarder classes for the HandoverManagementSap in
> the handover-management-sap.h file, so that this template can be reused for
any
> handover algorithm.
> 
> See lte-rrc-sap.h for an example of the template:
> http://lena.cttc.es/hg/lena/file/d9fc1c7ebb10/src/lte/model/lte-rrc-sap.h#l876
> 
> and here an example of how it is instantiated:
>
http://lena.cttc.es/hg/lena/file/d9fc1c7ebb10/src/lte/model/lte-rrc-protocol-...
> 
> 

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-algorit...
File src/lte/model/handover-algorithm.h (right):

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-algorit...
src/lte/model/handover-algorithm.h:39: class HandoverAlgorithm : public Object
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> Please rename to LteHandoverAlgorithm

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-algorit...
src/lte/model/handover-algorithm.h:70: *        does nothing.
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> maybe rename it to NoOpHandoverAlgorithm so the name is more meaningful.
> 
> I would also consider moving this class to a separate file.
> 

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-managem...
File src/lte/model/handover-management-sap.h (right):

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-managem...
src/lte/model/handover-management-sap.h:34: class HandoverManagementSapProvider
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> please rename to LteHandoverManagementSapProvider

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/handover-managem...
src/lte/model/handover-management-sap.h:58: class HandoverManagementSapUser
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> please rename to LteHandoverManagementSapUser

Done.

https://codereview.appspot.com/12657043/diff/1/src/lte/model/lte-enb-rrc.cc
File src/lte/model/lte-enb-rrc.cc (right):

https://codereview.appspot.com/12657043/diff/1/src/lte/model/lte-enb-rrc.cc#n...
src/lte/model/lte-enb-rrc.cc:110: class EnbRrcMemberHandoverManagementSapUser :
public HandoverManagementSapUser
On 2013/08/10 13:40:25, Nicola Baldo wrote:
> also these classes should be replaced by a template, see comment in
> handover-algorithm.cc

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b