Update fading documentation on fading module usage

This commit is contained in:
mmiozzo
2011-10-21 14:05:18 +02:00
parent 1fa3d8d1aa
commit 467fe4ebab

View File

@@ -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<LenaHelper> lena = CreateObject<LenaHelper> ();
lena->SetFadingModel("ns3::TraceFadingLossModel");
While, for setting the parameters::
lena->SetFadingModelAttribute("Param", value);