diff --git a/src/wifi/model/wifi-remote-station-manager.cc b/src/wifi/model/wifi-remote-station-manager.cc index 350ca19b0f..8e5d533709 100644 --- a/src/wifi/model/wifi-remote-station-manager.cc +++ b/src/wifi/model/wifi-remote-station-manager.cc @@ -1066,7 +1066,7 @@ WifiRemoteStationManager::ReportFinalDataFailed(Ptr mpdu) void WifiRemoteStationManager::ReportRxOk(Mac48Address address, RxSignalInfo rxSignalInfo, - WifiTxVector txVector) + const WifiTxVector& txVector) { NS_LOG_FUNCTION(this << address << rxSignalInfo << txVector); if (address.IsGroup()) diff --git a/src/wifi/model/wifi-remote-station-manager.h b/src/wifi/model/wifi-remote-station-manager.h index dda15d34bd..35fb09b114 100644 --- a/src/wifi/model/wifi-remote-station-manager.h +++ b/src/wifi/model/wifi-remote-station-manager.h @@ -966,7 +966,7 @@ class WifiRemoteStationManager : public Object * * Should be invoked whenever a packet is successfully received. */ - void ReportRxOk(Mac48Address address, RxSignalInfo rxSignalInfo, WifiTxVector txVector); + void ReportRxOk(Mac48Address address, RxSignalInfo rxSignalInfo, const WifiTxVector& txVector); /** * \param header MAC header of the data frame to send