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

Issue 2349043: LTE module for ns-3

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by GiuseppePiro
Modified:
13 years, 5 months ago
Reviewers:
Nicola Baldo
CC:
ns-3-reviews_googlegroups.com, g.piro_poliba.it, n.baldo_cttc.es
Visibility:
Public.

Patch Set 1 #

Total comments: 65
Unified diffs Side-by-side diffs Delta from patch set Stats (+12901 lines, -9 lines) Patch
A doc/manual/figures/lte-transmission.png View Binary file 0 comments Download
A doc/manual/lte.texi View 1 chunk +324 lines, -0 lines 0 comments Download
M doc/manual/manual.texi View 2 chunks +2 lines, -0 lines 0 comments Download
M examples/spectrum/waf View 0 chunks +-1 lines, --1 lines 1 comment Download
A src/devices/lte/.lte-propagation-loss-model.cc.swp View Binary file 0 comments Download
A src/devices/lte/AUTHORS View 1 chunk +9 lines, -0 lines 2 comments Download
A src/devices/lte/examples/lte-amc.cc View 1 chunk +219 lines, -0 lines 0 comments Download
A src/devices/lte/examples/lte-channel-model.cc View 1 chunk +166 lines, -0 lines 0 comments Download
A src/devices/lte/examples/lte-device.cc View 1 chunk +163 lines, -0 lines 0 comments Download
A src/devices/lte/examples/lte-phy-downlink.cc View 1 chunk +176 lines, -0 lines 0 comments Download
A src/devices/lte/examples/lte-phy-uplink.cc View 1 chunk +172 lines, -0 lines 0 comments Download
A src/devices/lte/examples/waf View 1 chunk +1 line, -0 lines 0 comments Download
A src/devices/lte/examples/wscript View 1 chunk +23 lines, -0 lines 0 comments Download
A src/devices/lte/helper/lte-helper.h View 1 chunk +150 lines, -0 lines 8 comments Download
A src/devices/lte/helper/lte-helper.cc View 1 chunk +323 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v0_M10.h View 1 chunk +33 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v0_M12.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v0_M6.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v0_M8.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v120_M10.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v120_M12.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v120_M6.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v120_M8.h View 1 chunk +31 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v30_M10.h View 1 chunk +31 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v30_M12.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v30_M6.h View 1 chunk +31 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v30_M8.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v3_M10.h View 1 chunk +31 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v3_M12.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v3_M6.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/JakesTraces/multipath_v3_M8.h View 1 chunk +32 lines, -0 lines 0 comments Download
A src/devices/lte/model/amc-module.h View 1 chunk +93 lines, -0 lines 8 comments Download
A src/devices/lte/model/amc-module.cc View 1 chunk +199 lines, -0 lines 6 comments Download
A src/devices/lte/model/bearer-qos-parameters.h View 1 chunk +157 lines, -0 lines 10 comments Download
A src/devices/lte/model/bearer-qos-parameters.cc View 1 chunk +170 lines, -0 lines 0 comments Download
A src/devices/lte/model/channel-realization.h View 1 chunk +107 lines, -0 lines 2 comments Download
A src/devices/lte/model/channel-realization.cc View 1 chunk +122 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-lte-spectrum-phy.h View 1 chunk +56 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-lte-spectrum-phy.cc View 1 chunk +95 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-mac-entity.h View 1 chunk +86 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-mac-entity.cc View 1 chunk +144 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-net-device.h View 1 chunk +139 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-net-device.cc View 1 chunk +215 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-phy.h View 1 chunk +105 lines, -0 lines 0 comments Download
A src/devices/lte/model/enb-phy.cc View 1 chunk +208 lines, -0 lines 0 comments Download
A src/devices/lte/model/ideal-control-messages.h View 1 chunk +247 lines, -0 lines 2 comments Download
A src/devices/lte/model/ideal-control-messages.cc View 1 chunk +188 lines, -0 lines 0 comments Download
A src/devices/lte/model/ip-classifier.h View 1 chunk +75 lines, -0 lines 0 comments Download
A src/devices/lte/model/ip-classifier.cc View 1 chunk +82 lines, -0 lines 0 comments Download
A src/devices/lte/model/ip-classifier-record.h View 1 chunk +130 lines, -0 lines 0 comments Download
A src/devices/lte/model/ip-classifier-record.cc View 1 chunk +109 lines, -0 lines 0 comments Download
A src/devices/lte/model/loss-model.h View 1 chunk +92 lines, -0 lines 2 comments Download
A src/devices/lte/model/loss-model.cc View 1 chunk +100 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-mac-header.h View 1 chunk +74 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-mac-header.cc View 1 chunk +109 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-mac-queue.h View 1 chunk +156 lines, -0 lines 2 comments Download
A src/devices/lte/model/lte-mac-queue.cc View 1 chunk +247 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-net-device.h View 1 chunk +235 lines, -0 lines 4 comments Download
A src/devices/lte/model/lte-net-device.cc View 1 chunk +452 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-phy.h View 1 chunk +232 lines, -0 lines 4 comments Download
A src/devices/lte/model/lte-phy.cc View 1 chunk +263 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-propagation-loss-model.h View 1 chunk +91 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-propagation-loss-model.cc View 1 chunk +157 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-spectrum-error-model.h View 1 chunk +84 lines, -0 lines 2 comments Download
A src/devices/lte/model/lte-spectrum-error-model.cc View 1 chunk +72 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-spectrum-phy.h View 1 chunk +217 lines, -0 lines 2 comments Download
A src/devices/lte/model/lte-spectrum-phy.cc View 1 chunk +500 lines, -0 lines 2 comments Download
A src/devices/lte/model/lte-spectrum-value-helper.h View 1 chunk +74 lines, -0 lines 0 comments Download
A src/devices/lte/model/lte-spectrum-value-helper.cc View 1 chunk +152 lines, -0 lines 0 comments Download
A src/devices/lte/model/mac-entity.h View 1 chunk +77 lines, -0 lines 0 comments Download
A src/devices/lte/model/mac-entity.cc View 1 chunk +89 lines, -0 lines 0 comments Download
A src/devices/lte/model/multipath.h View 1 chunk +47 lines, -0 lines 0 comments Download
A src/devices/lte/model/multipath-loss-model.h View 1 chunk +100 lines, -0 lines 2 comments Download
A src/devices/lte/model/multipath-loss-model.cc View 1 chunk +326 lines, -0 lines 2 comments Download
A src/devices/lte/model/packet-scheduler.h View 1 chunk +96 lines, -0 lines 0 comments Download
A src/devices/lte/model/packet-scheduler.cc View 1 chunk +112 lines, -0 lines 0 comments Download
A src/devices/lte/model/path-loss-model.h View 1 chunk +65 lines, -0 lines 0 comments Download
A src/devices/lte/model/path-loss-model.cc View 1 chunk +86 lines, -0 lines 0 comments Download
A src/devices/lte/model/penetration-loss-model.h View 1 chunk +60 lines, -0 lines 2 comments Download
A src/devices/lte/model/penetration-loss-model.cc View 1 chunk +74 lines, -0 lines 0 comments Download
A src/devices/lte/model/radio-bearer-instance.h View 1 chunk +157 lines, -0 lines 2 comments Download
A src/devices/lte/model/radio-bearer-instance.cc View 1 chunk +173 lines, -0 lines 0 comments Download
A src/devices/lte/model/rlc-entity.h View 1 chunk +90 lines, -0 lines 0 comments Download
A src/devices/lte/model/rlc-entity.cc View 1 chunk +109 lines, -0 lines 0 comments Download
A src/devices/lte/model/rrc-entity.h View 1 chunk +115 lines, -0 lines 0 comments Download
A src/devices/lte/model/rrc-entity.cc View 1 chunk +119 lines, -0 lines 0 comments Download
A src/devices/lte/model/shadowing-loss-model.h View 1 chunk +71 lines, -0 lines 0 comments Download
A src/devices/lte/model/shadowing-loss-model.cc View 1 chunk +89 lines, -0 lines 0 comments Download
A src/devices/lte/model/simple-packet-scheduler.h View 1 chunk +63 lines, -0 lines 0 comments Download
A src/devices/lte/model/simple-packet-scheduler.cc View 1 chunk +149 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-lte-spectrum-phy.h View 1 chunk +56 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-lte-spectrum-phy.cc View 1 chunk +139 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-mac-entity.h View 1 chunk +48 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-mac-entity.cc View 1 chunk +55 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-manager.h View 1 chunk +108 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-manager.cc View 1 chunk +174 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-net-device.h View 1 chunk +128 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-net-device.cc View 1 chunk +226 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-phy.h View 1 chunk +109 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-phy.cc View 1 chunk +242 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-record.h View 1 chunk +119 lines, -0 lines 0 comments Download
A src/devices/lte/model/ue-record.cc View 1 chunk +96 lines, -0 lines 0 comments Download
A src/devices/lte/test/lte-bearer-test.cc View 1 chunk +123 lines, -0 lines 0 comments Download
A src/devices/lte/test/lte-device-test.cc View 1 chunk +199 lines, -0 lines 0 comments Download
A src/devices/lte/test/lte-phy-test.cc View 1 chunk +189 lines, -0 lines 0 comments Download
A src/devices/lte/test/lte-propagation-loss-model-test.cc View 1 chunk +233 lines, -0 lines 0 comments Download
A src/devices/lte/wscript View 1 chunk +91 lines, -0 lines 0 comments Download
M src/devices/spectrum/multi-model-spectrum-channel.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/devices/spectrum/multi-model-spectrum-channel.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/devices/spectrum/single-model-spectrum-channel.h View 2 chunks +1 line, -1 line 0 comments Download
M src/devices/spectrum/single-model-spectrum-channel.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M src/devices/spectrum/spectrum-interference.h View 2 chunks +1 line, -1 line 0 comments Download
M src/devices/spectrum/spectrum-interference.cc View 1 chunk +8 lines, -0 lines 0 comments Download
A src/devices/uan/.wscript.swp View Binary file 0 comments Download
M src/node/spectrum-channel.h View 2 chunks +3 lines, -2 lines 0 comments Download
M src/wscript View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 2
Nicola Baldo
Hi Giuseppe, here are some comments on the latest code that you posted for review. ...
13 years, 6 months ago (2010-10-21 17:29:36 UTC) #1
GiuseppePiro
13 years, 5 months ago (2010-12-01 16:52:45 UTC) #2
Hi Nicola, Hi All,

sorry for the delay! I hope to have fixed all things that Nicola suggested
during the latest review.  

As Nicola described last week on ns-developers list, we can now create a
repository with a clean history and then Test the code with vandrind.

Regards,

Giuseppe

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/AUTHORS
File src/devices/lte/AUTHORS (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/AUTHORS#newcode6
src/devices/lte/AUTHORS:6: G.Piro@poliba.it
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> I suggest to mention the Google Summer of Code for the funding, and also the
> mentors for their supervision.

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/helper/lte-helper.h
File src/devices/lte/helper/lte-helper.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/helper/lte-helpe...
src/devices/lte/helper/lte-helper.h:50: class LteHelper //:public
PcapHelperForDevice, public AsciiTraceHelperForDevice
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> if you don't use it, delete it rather than commenting it

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/helper/lte-helpe...
src/devices/lte/helper/lte-helper.h:75: Ptr<LtePhy> CreatePhy
(Ptr<SpectrumChannel> dlChannel, Ptr<SpectrumChannel> ulChannel, NetDeviceType
t);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> several public methods like this are actually only used inside the LteHelper
> class, and are not expected to be called by the user directly. You should make
> these methods private. 

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/helper/lte-helpe...
src/devices/lte/helper/lte-helper.h:136: Ptr<SingleModelSpectrumChannel>
GetDownlinkChannel ();
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> This method is not used and should be deleted.

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/helper/lte-helpe...
src/devices/lte/helper/lte-helper.h:141: Ptr<SingleModelSpectrumChannel>
GetUplinkChannel ();
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> Also this method is not used and should be deleted.

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module.cc
File src/devices/lte/model/amc-module.cc (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module...
src/devices/lte/model/amc-module.cc:35: int CQIIndex[15] = {
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: replace CQI with Cqi throughout this file

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module...
src/devices/lte/model/amc-module.cc:48: int MCSIndex[32] = {
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: replace MCS with Mcs throughout this file

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module...
src/devices/lte/model/amc-module.cc:115:
AmcModule::GetCqiFromFromSpectralEfficiency (double s)
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> FromFrom ?

Fixed

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module.h
File src/devices/lte/model/amc-module.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module...
src/devices/lte/model/amc-module.h:57: int GetCqiFromFromSpectralEfficiency
(double s);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> I see you call this only within the AmcModule. Should you make this private
> instead?

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module...
src/devices/lte/model/amc-module.h:65: int GetMCSFromCQI (int cqi);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: should be GetMcsFromCqi

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module...
src/devices/lte/model/amc-module.h:72: int GetTBSizeFromMCS (int mcs);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: should be GetTbSizeFromMcs

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/amc-module...
src/devices/lte/model/amc-module.h:80: double GetSpectralEfficiencyFromCQI (int
cqi);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: CQI --> Cqi

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/bearer-qos...
File src/devices/lte/model/bearer-qos-parameters.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/bearer-qos...
src/devices/lte/model/bearer-qos-parameters.h:36: class BearerQoSParameters :
public Object
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: should be BearerQosParameters (lower-case "s")

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/bearer-qos...
src/devices/lte/model/bearer-qos-parameters.h:72: enum BearerQoSType
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: BearerQoSType --> BearerQosType

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/bearer-qos...
src/devices/lte/model/bearer-qos-parameters.h:93: void SetQCI (int qci);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: QCI --> Qci

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/bearer-qos...
src/devices/lte/model/bearer-qos-parameters.h:120: void SetGBR (double gbr);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: GBR --> Gbr

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/bearer-qos...
src/devices/lte/model/bearer-qos-parameters.h:129: void SetMBR (double mbr);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: MBR --> Mbr

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/channel-re...
File src/devices/lte/model/channel-realization.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/channel-re...
src/devices/lte/model/channel-realization.h:21: #ifndef CHANNEL_REALIZZATION_H
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> only one "Z"

oooops..! Fixed

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/ideal-cont...
File src/devices/lte/model/ideal-control-messages.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/ideal-cont...
src/devices/lte/model/ideal-control-messages.h:37: class IdealControlMessage :
public Object
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> Does IdealControlMessage really need Object functionality? 
> If all you need is reference counting, you should rather inherit from
> SimpleRefCount.

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/loss-model.h
File src/devices/lte/model/loss-model.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/loss-model...
src/devices/lte/model/loss-model.h:36: class LossModel : public Object
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> You should find a more meaningful name: in fact, in ns-3 there is already a
> PropagationLossModel class, so if you call your class LossModel it generates
> confusion. 
> Since this class does not actually provide any loss modeling functionality,
why
> don't you just call it DiscreteTimeModel or something like that?

Ok, I'm agree with you! I changed the class name to DiscreteTimeLossModel

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-mac-qu...
File src/devices/lte/model/lte-mac-queue.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-mac-qu...
src/devices/lte/model/lte-mac-queue.h:104: * \brief Get the length of the queue
with MAC/RLC/CRC overhead
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> what do you mean by CRC?

CRC is the checksum added at the end of the packet wich is used to check its
integrity.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-net-de...
File src/devices/lte/model/lte-net-device.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-net-de...
src/devices/lte/model/lte-net-device.h:98: //PIRO: RLC entity has been moved to
each bearer!
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> ok then you can remove this code

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-net-de...
src/devices/lte/model/lte-net-device.h:135: * Starts the run of this device
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> "Start the run" is not very clear

Improved the method description

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-phy.h
File src/devices/lte/model/lte-phy.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-phy.h#...
src/devices/lte/model/lte-phy.h:125: void SetDownlinkSubChannels
(std::vector<int> mask );

Improved description

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-phy.h#...
src/devices/lte/model/lte-phy.h:135: void SetUplinkSubChannels (std::vector<int>
mask);
Improved description

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-spectr...
File src/devices/lte/model/lte-spectrum-error-model.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-spectr...
src/devices/lte/model/lte-spectrum-error-model.h:46: class LteSpectrumErrorModel
: public SpectrumErrorModel
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> The LteSpectrumErrorModel class is not used in any other file. Furthermore,
you
> clearly say that the model is not implemented. Therefore I would not include
the
> files lte-spectrum-error-model.* in the patch to be merged to ns-3-dev.


Removed!

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-spectr...
File src/devices/lte/model/lte-spectrum-phy.cc (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-spectr...
src/devices/lte/model/lte-spectrum-phy.cc:332: // m_interference->AddSignal
(rxPsd, duration);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> You are not doing any interference calculation. To get interference
calculation
> right (e.g., for inter-cell interference), it would be required to also
> implement cell synchronization properly. I guess that's too much work for now,
> so I suggest that you just do the following:
> 
> - do not use SpectrumInterference any more in LteSpectrumPhy
> 
> - just have a m_noisePowerSpectralDensity variable as an attribute of the
> SpectrumPhy. After all, right now you use SpectrumInterference only to store
the
> noise PSD.
> 
> This approach has the additional merit that the modifications to
> src/devices/spectrum-interference.* are not needed any more :-)

Done.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-spectr...
File src/devices/lte/model/lte-spectrum-phy.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/lte-spectr...
src/devices/lte/model/lte-spectrum-phy.h:3: * Copyright (c) 2010 TELEMATICS LAB,
DEE - Politecnico di Bari
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> This file is clearly a modified version of
> src/devices/spectrum/half-duplex-ideal-phy.h 
> 
> The GPL of course allows you to copy & modify existing code, but only if you
do
> the following:
> 
> 1) preserve the Copyright statement of the original file (you cannot delete it
> or change the name of the copyright holder);
> 
> 2) write a comment saying explicitly that you modified the file 
> 
> As for the "Authors:" statement, the GPL does not say anything about it. 
Still,
> it would be nice if you could append your name to the pre-existing author
names,
> without deleting them. 
> 
> The same comments applies to lte-spectrum-phy.cc. If you know other files that
> are affected by this issue, please do the necessary corrections.


Fixed!

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/multipath-...
File src/devices/lte/model/multipath-loss-model.cc (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/multipath-...
src/devices/lte/model/multipath-loss-model.cc:136: speed = 30;
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> can you put some comment explaining what you are doing in the above?

Ok, comments have been added.

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/multipath-...
File src/devices/lte/model/multipath-loss-model.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/multipath-...
src/devices/lte/model/multipath-loss-model.h:37: class MultipathLossModel :
public LossModel
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> if what you do in practice is to implement Jakes, why don't you name it
> JakesFadingModel or something similar?

Ok, The class name is now JakesFadingLossModel

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/penetratio...
File src/devices/lte/model/penetration-loss-model.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/penetratio...
src/devices/lte/model/penetration-loss-model.h:31: * \brief This class models
the propagation loss model due to the path loss
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> the comment does probably not refer to this class

Fixed!

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/radio-bear...
File src/devices/lte/model/radio-bearer-instance.h (right):

http://codereview.appspot.com/2349043/diff/1/src/devices/lte/model/radio-bear...
src/devices/lte/model/radio-bearer-instance.h:122: void SetQoSParameters
(Ptr<BearerQoSParameters> qosParameters);
On 2010/10/21 17:29:36, Nicola Baldo wrote:
> coding style: should be SetQosParameters

Done.
Sign in to reply to this message.

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