src/devices/wifi/mac-low.cc
changeset 4263 fec2f830d015
parent 4079 210d64d11998
child 4264 9d2e96c4e6e4
equal deleted inserted replaced
4244:7c98934dcccd 4263:fec2f830d015
   838    * requirement from section 9.9.1.4 that each EDCAF update its NAV from the
   838    * requirement from section 9.9.1.4 that each EDCAF update its NAV from the
   839    * transmission of any other EDCAF within the same QSTA.
   839    * transmission of any other EDCAF within the same QSTA.
   840    */
   840    */
   841   Time txDuration = m_phy->CalculateTxDuration (packet->GetSize (), txMode, WIFI_PREAMBLE_LONG);
   841   Time txDuration = m_phy->CalculateTxDuration (packet->GetSize (), txMode, WIFI_PREAMBLE_LONG);
   842   Simulator::Schedule (txDuration, &MacLow::NotifyNav, this, *hdr, txMode, WIFI_PREAMBLE_LONG);
   842   Simulator::Schedule (txDuration, &MacLow::NotifyNav, this, *hdr, txMode, WIFI_PREAMBLE_LONG);
       
   843   /*
       
   844    * Tell the phy when we expect the packet has completely been sent -- for tracing
       
   845    */
       
   846   Simulator::Schedule (txDuration, &WifiPhy::SendDone, m_phy, packet);
   843 }
   847 }
   844 
   848 
   845 void
   849 void
   846 MacLow::CtsTimeout (void)
   850 MacLow::CtsTimeout (void)
   847 {
   851 {