diff --git a/src/wifi/model/wifi-phy-state-helper.cc b/src/wifi/model/wifi-phy-state-helper.cc index 061a4a0b2..d30e689ed 100644 --- a/src/wifi/model/wifi-phy-state-helper.cc +++ b/src/wifi/model/wifi-phy-state-helper.cc @@ -320,7 +320,7 @@ WifiPhyStateHelper::LogPreviousIdleAndCcaBusyStates() void WifiPhyStateHelper::SwitchToTx(Time txDuration, - WifiConstPsduMap psdus, + const WifiConstPsduMap& psdus, double txPowerDbm, const WifiTxVector& txVector) { diff --git a/src/wifi/model/wifi-phy-state-helper.h b/src/wifi/model/wifi-phy-state-helper.h index a03ec597d..9a9e3fad4 100644 --- a/src/wifi/model/wifi-phy-state-helper.h +++ b/src/wifi/model/wifi-phy-state-helper.h @@ -186,7 +186,7 @@ class WifiPhyStateHelper : public Object * \param txVector the TX vector for the transmission */ void SwitchToTx(Time txDuration, - WifiConstPsduMap psdus, + const WifiConstPsduMap& psdus, double txPowerDbm, const WifiTxVector& txVector); /**