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

(-)a/src/devices/wifi/mac-low.cc (-7 lines)
 Lines 868-880    Link Here 
868
            ", duration=" << hdr->GetDuration () <<
868
            ", duration=" << hdr->GetDuration () <<
869
            ", seq=0x"<< std::hex << m_currentHdr.GetSequenceControl () << std::dec);
869
            ", seq=0x"<< std::hex << m_currentHdr.GetSequenceControl () << std::dec);
870
  m_phy->SendPacket (packet, txMode, WIFI_PREAMBLE_LONG, 0);
870
  m_phy->SendPacket (packet, txMode, WIFI_PREAMBLE_LONG, 0);
871
  /* 
872
   * We have to notify the NAV of transmitted packets because of the 802.11e
873
   * requirement from section 9.9.1.4 that each EDCAF update its NAV from the
874
   * transmission of any other EDCAF within the same QSTA.
875
   */
876
  Time txDuration = m_phy->CalculateTxDuration (packet->GetSize (), txMode, WIFI_PREAMBLE_LONG);
877
  Simulator::Schedule (txDuration, &MacLow::NotifyNav, this, *hdr, txMode, WIFI_PREAMBLE_LONG);
878
}
871
}
879
872
880
void
873
void

Return to bug 585