wifi: Use uint16_t iso uint32_t to cast uint8_t in log statements
This commit is contained in:
@@ -369,7 +369,7 @@ EdcaTxopN::SetWifiRemoteStationManager (Ptr<WifiRemoteStationManager> remoteMana
|
||||
void
|
||||
EdcaTxopN::SetTypeOfStation (TypeOfStation type)
|
||||
{
|
||||
NS_LOG_FUNCTION (this << (uint32_t)type);
|
||||
NS_LOG_FUNCTION (this << (uint16_t)type);
|
||||
m_typeOfStation = type;
|
||||
}
|
||||
|
||||
|
||||
@@ -2204,8 +2204,8 @@ WifiPhy::SendPacket (Ptr<const Packet> packet, WifiTxVector txVector, MpduType m
|
||||
NS_LOG_FUNCTION (this << packet << txVector.GetMode ()
|
||||
<< txVector.GetMode ().GetDataRate (txVector)
|
||||
<< txVector.GetPreambleType ()
|
||||
<< (uint32_t)txVector.GetTxPowerLevel ()
|
||||
<< (uint32_t)mpdutype);
|
||||
<< (uint16_t)txVector.GetTxPowerLevel ()
|
||||
<< (uint16_t)mpdutype);
|
||||
/* Transmission can happen if:
|
||||
* - we are syncing on a packet. It is the responsability of the
|
||||
* MAC layer to avoid doing this but the PHY does nothing to
|
||||
|
||||
@@ -1688,7 +1688,7 @@ WifiRemoteStationManager::GetNonErpBasicMode (uint32_t i) const
|
||||
void
|
||||
WifiRemoteStationManager::AddBasicMcs (WifiMode mcs)
|
||||
{
|
||||
NS_LOG_FUNCTION (this << (uint32_t)mcs.GetMcsValue ());
|
||||
NS_LOG_FUNCTION (this << (uint16_t)mcs.GetMcsValue ());
|
||||
for (uint32_t i = 0; i < GetNBasicMcs (); i++)
|
||||
{
|
||||
if (GetBasicMcs (i) == mcs)
|
||||
|
||||
Reference in New Issue
Block a user