From 467fe4ebabbe4b76fdd584be13df3962663d3351 Mon Sep 17 00:00:00 2001 From: mmiozzo Date: Fri, 21 Oct 2011 14:05:18 +0200 Subject: [PATCH] Update fading documentation on fading module usage --- src/lte/doc/source/lte-fading-design.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lte/doc/source/lte-fading-design.rst b/src/lte/doc/source/lte-fading-design.rst index 04a0a95f0..2d007d374 100644 --- a/src/lte/doc/source/lte-fading-design.rst +++ b/src/lte/doc/source/lte-fading-design.rst @@ -86,4 +86,14 @@ The list of the parameters to be configured are: It is important to highlight that the sampling interval of the fading trace has to me at most of 1 ms or greater and in the latter case it has to be an integer multiple of 1 ms in order to be correctly processed by the fading module. +In order to activate the fading module (by default disactivated) it has to be explicity specified in the simulation script:: + + Ptr lena = CreateObject (); + lena->SetFadingModel("ns3::TraceFadingLossModel"); + +While, for setting the parameters:: + + lena->SetFadingModelAttribute("Param", value); + +