\home\ns-allinone-2.30\ns-2.30\indep-utils\propagation
./threshold –m TwoRayGround 250
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 3.65262e-10 ;#250m
Phy/WirelessPhy set RXThresh_ 3.65262e-10 ;#250m
Phy/WirelessPhy set Rb_ 2*1e6
Phy/WirelessPhy set Pt_ 0.2818
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0
Where,
TwoRayGround → Radio Propagation Model
250 → Distance in meters
CPThresh → Capture Threshold
CSThresh → Carrier Sense Threshold
RxThresh → Receiver Sensitivity Threshold
Pt → Transmission Power
freq → frequency
L →System Loss