View | Details | Raw Unified | Return to bug 695
Collapse All | Expand All

(-)a/examples/mesh.cc (-5 / +5 lines)
 Lines 102-113    Link Here 
102
    void Report ();  
102
    void Report ();  
103
};
103
};
104
MeshTest::MeshTest () :
104
MeshTest::MeshTest () :
105
  m_xSize (3),
105
  m_xSize (5),
106
  m_ySize (3),
106
  m_ySize (5),
107
  m_step (100.0),
107
  m_step (100.0),
108
  m_randomStart (0.1),
108
  m_randomStart (0.1),
109
  m_totalTime (100.0),
109
  m_totalTime (2000.0),
110
  m_packetInterval (0.1),
110
  m_packetInterval (0.05),
111
  m_packetSize (1024),
111
  m_packetSize (1024),
112
  m_nIfaces (1),
112
  m_nIfaces (1),
113
  m_chan (true),
113
  m_chan (true),
 Lines 216-222    Link Here 
216
  CreateNodes ();
216
  CreateNodes ();
217
  InstallInternetStack ();
217
  InstallInternetStack ();
218
  InstallApplication ();
218
  InstallApplication ();
219
  Simulator::Schedule (Seconds(m_totalTime), & MeshTest::Report, this);
219
//  Simulator::Schedule (Seconds(m_totalTime), & MeshTest::Report, this);
220
  Simulator::Stop (Seconds (m_totalTime));
220
  Simulator::Stop (Seconds (m_totalTime));
221
  Simulator::Run ();
221
  Simulator::Run ();
222
  Simulator::Destroy ();
222
  Simulator::Destroy ();
(-)a/examples/wifi-wired-bridging.cc (-2 / +2 lines)
 Lines 182-188    Link Here 
182
  onoff.SetAttribute ("OffTime", RandomVariableValue (ConstantVariable (0)));
182
  onoff.SetAttribute ("OffTime", RandomVariableValue (ConstantVariable (0)));
183
  ApplicationContainer apps = onoff.Install (staNodes[0].Get (0));
183
  ApplicationContainer apps = onoff.Install (staNodes[0].Get (0));
184
  apps.Start (Seconds (0.5));
184
  apps.Start (Seconds (0.5));
185
  apps.Stop (Seconds (3.0));
185
  apps.Stop (Seconds (3000.0));
186
  
186
  
187
  wifiPhy.EnablePcap ("wifi-wired-bridging", apDevices[0]);
187
  wifiPhy.EnablePcap ("wifi-wired-bridging", apDevices[0]);
188
  wifiPhy.EnablePcap ("wifi-wired-bridging", apDevices[1]);
188
  wifiPhy.EnablePcap ("wifi-wired-bridging", apDevices[1]);
 Lines 191-197    Link Here 
191
  os.open ("wifi-wired-bridging.mob");
191
  os.open ("wifi-wired-bridging.mob");
192
  MobilityHelper::EnableAsciiAll (os);
192
  MobilityHelper::EnableAsciiAll (os);
193
193
194
  Simulator::Stop (Seconds (100.0));
194
  Simulator::Stop (Seconds (5000.0));
195
  Simulator::Run ();
195
  Simulator::Run ();
196
  Simulator::Destroy ();
196
  Simulator::Destroy ();
197
}
197
}

Return to bug 695