From bab94a13d0040cbd618abeed501c989134b3a0e4 Mon Sep 17 00:00:00 2001 From: Tolik Zinovyev Date: Thu, 24 Oct 2024 20:50:15 -0400 Subject: [PATCH] wifi: pass WifiTxVector by const reference. --- src/wifi/model/wifi-remote-station-manager.cc | 2 +- src/wifi/model/wifi-remote-station-manager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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