Change receiving power on YansWifiPhy

69 views
Skip to first unread message

George Adamou

unread,
Feb 26, 2016, 3:21:39 AM2/26/16
to ns-3-users
I want to create a wireless node with range 250m. I use FriisPropagationLossModel and from here i can calculate my parameters in order to succed the appropriate range. The only problem there is not an attribute in YansWifiPhy to change the receiving power. Then how i can accomplish a node with the appropriate range?

Konstantinos

unread,
Feb 26, 2016, 3:40:10 AM2/26/16
to ns-3-users
Hi George,

You have the receiver sensitivity and CCA thresholds to control that.
The website you posted gives you the received power that the packet will have if it was sent from 250m away. So you have to configure your node to be able to receive those, i.e. be sensitive enough to hear those packets.

Regards,
K.

George Adamou

unread,
Feb 26, 2016, 6:39:03 AM2/26/16
to ns-3-users
Hi Konstantinos,

Thanks for the reply although i have another question.The CCA threshold i can set it with method SetCcaMode1Threshold in YansWifiPhy class but from where i can change receiver sensitivity?

Regards,
George

Konstantinos

unread,
Feb 26, 2016, 6:48:46 AM2/26/16
to ns-3-users
Hi George,

Receiver Sensitivity is another name for Energy Detection threshold... The description of the attribute should be clear.

EnergyDetectionThreshold: The energy of a received signal should be higher than this threshold (dbm) to allow the PHY layer to detect the signal.
  • Set with class: ns3::DoubleValue
  • Underlying type: double -1.79769e+308:1.79769e+308
  • Initial value: -96
  • Flags: construct write read

George Adamou

unread,
Feb 26, 2016, 8:09:27 AM2/26/16
to ns-3-users
Ok, thanks Konstantinos
Reply all
Reply to author
Forward
0 new messages