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

Issue 104160043: ns-3-dev-lte-ffr code review

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by gawlowicz.p
Modified:
9 years, 10 months ago
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

ns-3-dev-lte-ffr code review

Patch Set 1 #

Total comments: 26
Unified diffs Side-by-side diffs Delta from patch set Stats (+7483 lines, -18 lines) Patch
M doc/models/Makefile View 2 chunks +16 lines, -0 lines 0 comments Download
A scratch/lena-fr-simple.cc View 1 chunk +147 lines, -0 lines 0 comments Download
A scratch/lena-hard-fr.cc View 1 chunk +169 lines, -0 lines 0 comments Download
A scratch/lena-soft-ffr.cc View 1 chunk +187 lines, -0 lines 0 comments Download
A scratch/lena-soft-fr.cc View 1 chunk +180 lines, -0 lines 0 comments Download
A scratch/lena-strict-fr.cc View 1 chunk +181 lines, -0 lines 0 comments Download
M src/lte/doc/Makefile View 2 chunks +16 lines, -0 lines 0 comments Download
A src/lte/doc/source/figures/fr-full-frequency-reuse-scheme.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-full-frequency-reuse-scheme.png View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-hard-frequency-reuse-scheme.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-hard-frequency-reuse-scheme.png View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-soft-fractional-frequency-reuse-scheme.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-soft-fractional-frequency-reuse-scheme.png View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-soft-frequency-reuse-scheme-v1.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-soft-frequency-reuse-scheme-v1.png View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-soft-frequency-reuse-scheme-v2.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-soft-frequency-reuse-scheme-v2.png View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-strict-frequency-reuse-scheme.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/fr-strict-frequency-reuse-scheme.png View Binary file 0 comments Download
A src/lte/doc/source/figures/lte-dl-power-control.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/lte-dl-power-control.png View Binary file 0 comments Download
A src/lte/doc/source/figures/lte-ffr-scheduling.pdf View Binary file 0 comments Download
A src/lte/doc/source/figures/lte-ffr-scheduling.png View Binary file 0 comments Download
M src/lte/doc/source/lte-design.rst View 1 chunk +141 lines, -0 lines 0 comments Download
M src/lte/doc/source/lte-references.rst View 1 chunk +1 line, -0 lines 0 comments Download
M src/lte/doc/source/lte-testing.rst View 1 chunk +26 lines, -0 lines 0 comments Download
M src/lte/helper/lte-helper.h View 2 chunks +21 lines, -0 lines 0 comments Download
M src/lte/helper/lte-helper.cc View 7 chunks +43 lines, -0 lines 0 comments Download
M src/lte/model/cqa-ff-mac-scheduler.h View 3 chunks +8 lines, -0 lines 0 comments Download
M src/lte/model/cqa-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 1 comment Download
M src/lte/model/fdbet-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/fdbet-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/lte/model/fdmt-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/fdmt-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/lte/model/fdtbfq-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/fdtbfq-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/lte/model/ff-mac-scheduler.h View 2 chunks +17 lines, -0 lines 0 comments Download
M src/lte/model/lte-enb-cphy-sap.h View 3 chunks +16 lines, -0 lines 0 comments Download
M src/lte/model/lte-enb-mac.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/lte/model/lte-enb-mac.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/lte/model/lte-enb-net-device.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/lte/model/lte-enb-net-device.cc View 4 chunks +11 lines, -0 lines 0 comments Download
M src/lte/model/lte-enb-phy.h View 4 chunks +35 lines, -1 line 0 comments Download
M src/lte/model/lte-enb-phy.cc View 8 chunks +62 lines, -1 line 0 comments Download
M src/lte/model/lte-enb-rrc.h View 7 chunks +31 lines, -0 lines 0 comments Download
M src/lte/model/lte-enb-rrc.cc View 9 chunks +57 lines, -0 lines 0 comments Download
A src/lte/model/lte-ffr-algorithm.h View 1 chunk +107 lines, -0 lines 2 comments Download
A src/lte/model/lte-ffr-algorithm.cc View 1 chunk +151 lines, -0 lines 0 comments Download
A src/lte/model/lte-ffr-rrc-sap.h View 1 chunk +147 lines, -0 lines 0 comments Download
A src/lte/model/lte-ffr-rrc-sap.cc View 1 chunk +39 lines, -0 lines 0 comments Download
A src/lte/model/lte-ffr-sap.h View 1 chunk +138 lines, -0 lines 0 comments Download
A src/lte/model/lte-ffr-sap.cc View 1 chunk +38 lines, -0 lines 0 comments Download
A src/lte/model/lte-ffr-soft-algorithm.h View 1 chunk +138 lines, -0 lines 0 comments Download
A src/lte/model/lte-ffr-soft-algorithm.cc View 1 chunk +556 lines, -0 lines 4 comments Download
A src/lte/model/lte-fr-hard-algorithm.h View 1 chunk +105 lines, -0 lines 0 comments Download
A src/lte/model/lte-fr-hard-algorithm.cc View 1 chunk +325 lines, -0 lines 4 comments Download
A src/lte/model/lte-fr-soft-algorithm.h View 1 chunk +127 lines, -0 lines 0 comments Download
A src/lte/model/lte-fr-soft-algorithm.cc View 1 chunk +447 lines, -0 lines 4 comments Download
A src/lte/model/lte-fr-strict-algorithm.h View 1 chunk +129 lines, -0 lines 0 comments Download
A src/lte/model/lte-fr-strict-algorithm.cc View 1 chunk +471 lines, -0 lines 2 comments Download
A src/lte/model/lte-fr-trivial-algorithm.h View 1 chunk +97 lines, -0 lines 2 comments Download
A src/lte/model/lte-fr-trivial-algorithm.cc View 1 chunk +157 lines, -0 lines 0 comments Download
M src/lte/model/lte-rrc-header.cc View 3 chunks +27 lines, -2 lines 0 comments Download
M src/lte/model/lte-rrc-sap.h View 2 chunks +56 lines, -0 lines 0 comments Download
M src/lte/model/lte-spectrum-phy.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/lte/model/lte-spectrum-phy.cc View 1 chunk +5 lines, -0 lines 2 comments Download
M src/lte/model/lte-spectrum-value-helper.h View 1 chunk +21 lines, -0 lines 0 comments Download
M src/lte/model/lte-spectrum-value-helper.cc View 1 chunk +57 lines, -0 lines 2 comments Download
M src/lte/model/lte-ue-rrc.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/lte/model/lte-ue-rrc.cc View 2 chunks +7 lines, -1 line 0 comments Download
M src/lte/model/pf-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/pf-ff-mac-scheduler.cc View 7 chunks +63 lines, -1 line 0 comments Download
M src/lte/model/pss-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/pss-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 1 comment Download
M src/lte/model/rr-ff-mac-scheduler.h View 3 chunks +8 lines, -0 lines 0 comments Download
M src/lte/model/rr-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/lte/model/tdbet-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/tdbet-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/lte/model/tdmt-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/tdmt-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/lte/model/tdtbfq-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/tdtbfq-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/lte/model/tta-ff-mac-scheduler.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/lte/model/tta-ff-mac-scheduler.cc View 1 chunk +12 lines, -0 lines 0 comments Download
A src/lte/test/lte-ffr-simple.h View 1 chunk +120 lines, -0 lines 0 comments Download
A src/lte/test/lte-ffr-simple.cc View 1 chunk +276 lines, -0 lines 2 comments Download
A src/lte/test/lte-simple-spectrum-phy.h View 1 chunk +82 lines, -0 lines 0 comments Download
A src/lte/test/lte-simple-spectrum-phy.cc View 1 chunk +152 lines, -0 lines 0 comments Download
A src/lte/test/lte-test-downlink-power-control.h View 1 chunk +97 lines, -0 lines 0 comments Download
A src/lte/test/lte-test-downlink-power-control.cc View 1 chunk +598 lines, -0 lines 0 comments Download
A src/lte/test/lte-test-frequency-reuse.h View 1 chunk +131 lines, -0 lines 0 comments Download
A src/lte/test/lte-test-frequency-reuse.cc View 1 chunk +512 lines, -0 lines 0 comments Download
A src/lte/test/lte-test-interference-fr.h View 1 chunk +77 lines, -0 lines 0 comments Download
A src/lte/test/lte-test-interference-fr.cc View 1 chunk +417 lines, -0 lines 0 comments Download
M src/lte/test/test-asn1-encoding.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M src/lte/wscript View 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Marco Miozzo
Here my comments. BR, marco. https://codereview.appspot.com/104160043/diff/1/src/lte/model/cqa-ff-mac-scheduler.cc File src/lte/model/cqa-ff-mac-scheduler.cc (right): https://codereview.appspot.com/104160043/diff/1/src/lte/model/cqa-ff-mac-scheduler.cc#newcode363 src/lte/model/cqa-ff-mac-scheduler.cc:363: void What about FFR? ...
9 years, 10 months ago (2014-06-25 08:12:19 UTC) #1
gawlowicz.p
9 years, 10 months ago (2014-06-26 21:00:02 UTC) #2
code fixing

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

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-ffr-algorit...
src/lte/model/lte-ffr-algorithm.h:93: int GetRbgSize (int dlbandwidth);
On 2014/06/25 08:12:18, marco.miozzo wrote:
> misleading name for the variable, check it.
Can you explain more, please?

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-ffr-soft-al...
File src/lte/model/lte-ffr-soft-algorithm.cc (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-ffr-soft-al...
src/lte/model/lte-ffr-soft-algorithm.cc:39: }
g_ffrSoftDownlinkDefaultConfiguration[] = {
On 2014/06/25 08:12:18, marco.miozzo wrote:
> What about for 15 RB (i.e., 3MHz)?

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-ffr-soft-al...
src/lte/model/lte-ffr-soft-algorithm.cc:210: NS_ASSERT_MSG (m_ulBandwidth >
24,"UlBandwidth must be at least 25 to use FFR algorithms");
On 2014/06/25 08:12:18, marco.miozzo wrote:
> same as above, I understand for 6, but what about 15?

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-hard-alg...
File src/lte/model/lte-fr-hard-algorithm.cc (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-hard-alg...
src/lte/model/lte-fr-hard-algorithm.cc:38: { 1, 25, 0, 8},
On 2014/06/25 08:12:18, marco.miozzo wrote:
> 15 RBs?

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-hard-alg...
src/lte/model/lte-fr-hard-algorithm.cc:251: if(1) {
On 2014/06/25 08:12:18, marco.miozzo wrote:
> if (1) ??

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-soft-alg...
File src/lte/model/lte-fr-soft-algorithm.cc (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-soft-alg...
src/lte/model/lte-fr-soft-algorithm.cc:39: { 1, 25, 0, 8},
On 2014/06/25 08:12:18, marco.miozzo wrote:
> 15 RBs?

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-soft-alg...
src/lte/model/lte-fr-soft-algorithm.cc:259: if(1) {
On 2014/06/25 08:12:19, marco.miozzo wrote:
> "if (1)" ??

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-strict-a...
File src/lte/model/lte-fr-strict-algorithm.cc (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-strict-a...
src/lte/model/lte-fr-strict-algorithm.cc:40: { 1, 25, 6, 0, 6},
On 2014/06/25 08:12:18, marco.miozzo wrote:
> 15 RBs?

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-trivial-...
File src/lte/model/lte-fr-trivial-algorithm.h (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-fr-trivial-...
src/lte/model/lte-fr-trivial-algorithm.h:42: class LteFrTrivialAlgorithm :
public LteFfrAlgorithm
On 2014/06/25 08:12:19, marco.miozzo wrote:
> Trivial might generate confusion, why not move to a name where is clear that
the
> algorithm is not performing any FR solution, e.g., LteNoFrAlgorithm or
> LteFrNoOpAlgorithm. 

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-spectrum-ph...
File src/lte/model/lte-spectrum-phy.cc (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-spectrum-ph...
src/lte/model/lte-spectrum-phy.cc:1125:
LteSpectrumPhy::AddDataPowerChunkProcessor (Ptr<LteSinrChunkProcessor> p)
On 2014/06/25 08:12:19, marco.miozzo wrote:
> This is used only for testing purposes, am I right?
Yes, only to compute power difference between PDSCH and PDCCH

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-spectrum-va...
File src/lte/model/lte-spectrum-value-helper.cc (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/model/lte-spectrum-va...
src/lte/model/lte-spectrum-value-helper.cc:293: txPowerDensity = (powerTxW /
(txBandwidthConfiguration * 180000));
On 2014/06/25 08:12:19, marco.miozzo wrote:
> I would try to optimize a bit this code, since it is used many times during
the
> execution (i.e., avoiding this spurious calculation, it has been already
> calculated before the txPowerDensity per RB basis in case of no power
> allocation).

Done.

https://codereview.appspot.com/104160043/diff/1/src/lte/test/lte-ffr-simple.cc
File src/lte/test/lte-ffr-simple.cc (right):

https://codereview.appspot.com/104160043/diff/1/src/lte/test/lte-ffr-simple.c...
src/lte/test/lte-ffr-simple.cc:170: if(0){
On 2014/06/25 08:12:19, marco.miozzo wrote:
> "if(0)" ?

Done.
Sign in to reply to this message.

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