src/mesh/model/dot11s/airtime-metric.cc
changeset 7386 2310ed220a61
parent 7298 46338d126f2f
child 10139 17a71cd49da3
equal deleted inserted replaced
7385:10beb0e53130 7386:2310ed220a61
   100                                  mac->GetPifs () + mac->GetSlot () + mac->GetEifsNoDifs () + //DIFS + SIFS + AckTxTime = PIFS + SLOT + EifsNoDifs
   100                                  mac->GetPifs () + mac->GetSlot () + mac->GetEifsNoDifs () + //DIFS + SIFS + AckTxTime = PIFS + SLOT + EifsNoDifs
   101                                  mac->GetWifiPhy ()->CalculateTxDuration (m_testFrame->GetSize (), mode, WIFI_PREAMBLE_LONG)
   101                                  mac->GetWifiPhy ()->CalculateTxDuration (m_testFrame->GetSize (), mode, WIFI_PREAMBLE_LONG)
   102                                  ).GetMicroSeconds () / (10.24 * (1.0 - failAvg)));
   102                                  ).GetMicroSeconds () / (10.24 * (1.0 - failAvg)));
   103   return metric;
   103   return metric;
   104 }
   104 }
   105 } //namespace dot11s
   105 } // namespace dot11s
   106 } //namespace ns3
   106 } // namespace ns3