equal
deleted
inserted
replaced
485 |
485 |
486 } |
486 } |
487 void |
487 void |
488 WifiPhy::SendPacket (Ptr<const Packet> packet, WifiMode txMode, WifiPreamble preamble, uint8_t txPower) |
488 WifiPhy::SendPacket (Ptr<const Packet> packet, WifiMode txMode, WifiPreamble preamble, uint8_t txPower) |
489 { |
489 { |
490 NS_LOG_FUNCTION (this << packet << txMode << preamble << txPower); |
490 NS_LOG_FUNCTION (this << packet << txMode << preamble << (uint32_t)txPower); |
491 /* Transmission can happen if: |
491 /* Transmission can happen if: |
492 * - we are syncing on a packet. It is the responsability of the |
492 * - we are syncing on a packet. It is the responsability of the |
493 * MAC layer to avoid doing this but the PHY does nothing to |
493 * MAC layer to avoid doing this but the PHY does nothing to |
494 * prevent it. |
494 * prevent it. |
495 * - we are idle |
495 * - we are idle |