From 3e852713a3df10f1866b9d7a4ab1131e3f48bdfb Mon Sep 17 00:00:00 2001 From: Pavel Boyko Date: Tue, 10 Nov 2009 14:44:23 +0300 Subject: [PATCH] Bug 689: default energy detection and CCA thresholds are changed to be more realistic. --- src/devices/wifi/yans-wifi-phy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/wifi/yans-wifi-phy.cc b/src/devices/wifi/yans-wifi-phy.cc index 82b0f34da..107c07011 100644 --- a/src/devices/wifi/yans-wifi-phy.cc +++ b/src/devices/wifi/yans-wifi-phy.cc @@ -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 ()) .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 ())