Beacon interval is 0.5s by default

This commit is contained in:
Pavel Boyko
2009-06-16 17:58:06 +04:00
parent 78d6c249ba
commit 84e9d6f051

View File

@@ -46,12 +46,12 @@ MeshWifiInterfaceMac::GetTypeId ()
.SetParent<WifiMac> ()
.AddConstructor<MeshWifiInterfaceMac> ()
.AddAttribute ("BeaconInterval", "Beacon Interval",
TimeValue (Seconds (1.0)),
TimeValue (Seconds (0.5)),
MakeTimeAccessor (&MeshWifiInterfaceMac::m_beaconInterval),
MakeTimeChecker ()
)
.AddAttribute ("RandomStart", "Window when beacon generating starts (uniform random) in seconds",
TimeValue (Seconds (0.1)),
TimeValue (Seconds (0.5)),
MakeTimeAccessor (&MeshWifiInterfaceMac::m_randomStart),
MakeTimeChecker ()
)