wifi: pass WifiTxVector by const reference.
This commit is contained in:
committed by
Stefano Avallone
parent
8a4942d084
commit
bab94a13d0
@@ -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())
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user