src/devices/wifi/wifi-net-device.cc
changeset 2230 9f13ac3291e0
parent 2169 06af4e3c25a2
child 2292 5d82197dc451
equal deleted inserted replaced
2205:57710f066013 2230:9f13ac3291e0
   176 {
   176 {
   177   SetMtu (2300);
   177   SetMtu (2300);
   178   EnableBroadcast (Mac48Address ("ff:ff:ff:ff:ff:ff"));
   178   EnableBroadcast (Mac48Address ("ff:ff:ff:ff:ff:ff"));
   179 
   179 
   180   // the physical layer.
   180   // the physical layer.
   181   m_phy = Create<WifiPhy> (this);
   181   m_phy = CreateObject<WifiPhy> (this);
   182 
   182 
   183   // the rate control algorithm
   183   // the rate control algorithm
   184   switch (WifiDefaultParameters::GetRateControlAlgorithm ()) {
   184   switch (WifiDefaultParameters::GetRateControlAlgorithm ()) {
   185   case WifiDefaultParameters::ARF:
   185   case WifiDefaultParameters::ARF:
   186     m_stations = new ArfMacStations (m_phy->GetMode (0), 
   186     m_stations = new ArfMacStations (m_phy->GetMode (0),