Bug 689: default energy detection and CCA thresholds are changed to be more realistic.

This commit is contained in:
Pavel Boyko
2009-11-10 14:44:23 +03:00
parent a12e6a18c2
commit 3e852713a3

View File

@@ -52,14 +52,14 @@ YansWifiPhy::GetTypeId (void)
.AddAttribute ("EnergyDetectionThreshold",
"The energy of a received signal should be higher than "
"this threshold (dbm) to allow the PHY layer to detect the signal.",
DoubleValue (-140.0),
DoubleValue (-96.0),
MakeDoubleAccessor (&YansWifiPhy::SetEdThreshold,
&YansWifiPhy::GetEdThreshold),
MakeDoubleChecker<double> ())
.AddAttribute ("CcaMode1Threshold",
"The energy of a received signal should be higher than "
"this threshold (dbm) to allow the PHY layer to declare CCA BUSY state",
DoubleValue (-140.0),
DoubleValue (-99.0),
MakeDoubleAccessor (&YansWifiPhy::SetCcaMode1Threshold,
&YansWifiPhy::GetCcaMode1Threshold),
MakeDoubleChecker<double> ())