Rayleigh transmission range

67 views
Skip to first unread message

Huamiao Hu

unread,
Nov 19, 2013, 5:22:45 AM11/19/13
to ns-3-...@googlegroups.com
Hi all,

I am a newer in ns3, and I am simulating the 802.11a wifi in Rayleigh channel model.

The channel model I set as following:

YansWifiChannelHelper channel;
channel.AddPropagationLoss ("ns3::NakagamiPropagationLossModel",
                            "m0", DoubleValue (1),
    "m1", DoubleValue (1),
    "m2", DoubleValue (1));
channel.SetPropagationDelay ("ns3::ConstantSpeedPropagationDelayModel");

The question is why it still can receive packet when the transmitter is more than 2000 meters away from receiver?

Thanks in advance!

Huamiao

Huamiao Hu

unread,
Nov 19, 2013, 6:01:34 AM11/19/13
to ns-3-...@googlegroups.com
Anyone can help me please!

Thanks!
Huamiao

Riyanto Jayadi

unread,
Nov 20, 2013, 12:04:07 AM11/20/13
to ns-3-...@googlegroups.com
Dear Hu,

You are using ns3::NakagamiPropagationLossModel which is not related to the the distance.  
Distance are not taken into account because Nakigami is just a fast fading model. 

When you create a WifiChannel, you can add one or more
PropagationLossModels. If you want just the attenuation due to
distance, you just add an appropriate path loss model (eg.
LogDistancePropagationModel, TwoRayGroundPropagationModel, etc). If
you also want to add fast fading, you can add a second model to the
channel (Eg. NakigamiPropagationModel).

Best,
Riyanto Jayadi
Reply all
Reply to author
Forward
0 new messages