equal
deleted
inserted
replaced
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 { |