wifi: pass WifiTxVector by const reference.

This commit is contained in:
Tolik Zinovyev
2024-10-24 20:50:15 -04:00
committed by Stefano Avallone
parent 8a4942d084
commit bab94a13d0
2 changed files with 2 additions and 2 deletions

View File

@@ -1066,7 +1066,7 @@ WifiRemoteStationManager::ReportFinalDataFailed(Ptr<const WifiMpdu> mpdu)
void
WifiRemoteStationManager::ReportRxOk(Mac48Address address,
RxSignalInfo rxSignalInfo,
WifiTxVector txVector)
const WifiTxVector& txVector)
{
NS_LOG_FUNCTION(this << address << rxSignalInfo << txVector);
if (address.IsGroup())

View File

@@ -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