src/devices/wifi/wifi-phy.cc
changeset 3586 692e616413a3
parent 3212 0c00342d6a73
child 3906 01acc159ffb1
equal deleted inserted replaced
3585:0404af4cacf0 3586:692e616413a3
   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