Bug 689: default energy detection and CCA thresholds are changed to be more realistic.
authorPavel Boyko <boyko@iitp.ru>
Tue Nov 10 14:44:23 2009 +0300 (3 months ago)
changeset 54957f6bb3ad07b4
parent 5494 5774651f7b98
child 5496 8f82aaf62357
Bug 689: default energy detection and CCA thresholds are changed to be more realistic.
src/devices/wifi/yans-wifi-phy.cc
     1.1 --- a/src/devices/wifi/yans-wifi-phy.cc	Tue Nov 10 12:10:35 2009 +0100
     1.2 +++ b/src/devices/wifi/yans-wifi-phy.cc	Tue Nov 10 14:44:23 2009 +0300
     1.3 @@ -52,14 +52,14 @@
     1.4      .AddAttribute ("EnergyDetectionThreshold",
     1.5                     "The energy of a received signal should be higher than "
     1.6                     "this threshold (dbm) to allow the PHY layer to detect the signal.",
     1.7 -                   DoubleValue (-140.0),
     1.8 +                   DoubleValue (-96.0),
     1.9                     MakeDoubleAccessor (&YansWifiPhy::SetEdThreshold,
    1.10                                         &YansWifiPhy::GetEdThreshold),
    1.11                     MakeDoubleChecker<double> ())
    1.12      .AddAttribute ("CcaMode1Threshold",
    1.13                     "The energy of a received signal should be higher than "
    1.14                     "this threshold (dbm) to allow the PHY layer to declare CCA BUSY state",
    1.15 -                   DoubleValue (-140.0),
    1.16 +                   DoubleValue (-99.0),
    1.17                     MakeDoubleAccessor (&YansWifiPhy::SetCcaMode1Threshold,
    1.18                                         &YansWifiPhy::GetCcaMode1Threshold),
    1.19                     MakeDoubleChecker<double> ())