Skip to content

Commit

Permalink
wifi: pass WifiTxVector and vector<bool> by const reference (continued)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolikzinovyev authored and edalm committed Oct 21, 2024
1 parent 4d4e7ad commit d6cdff3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/wifi/model/wifi-phy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1697,9 +1697,9 @@ WifiPhy::NotifyRxPpduDrop(Ptr<const WifiPpdu> ppdu, WifiPhyRxfailureReason reaso
void
WifiPhy::NotifyMonitorSniffRx(Ptr<const WifiPsdu> psdu,
MHz_u channelFreq,
WifiTxVector txVector,
const WifiTxVector& txVector,
SignalNoiseDbm signalNoise,
std::vector<bool> statusPerMpdu,
const std::vector<bool>& statusPerMpdu,
uint16_t staId)
{
MpduInfo aMpdu;
Expand Down Expand Up @@ -1751,7 +1751,7 @@ WifiPhy::NotifyMonitorSniffRx(Ptr<const WifiPsdu> psdu,
void
WifiPhy::NotifyMonitorSniffTx(Ptr<const WifiPsdu> psdu,
MHz_u channelFreq,
WifiTxVector txVector,
const WifiTxVector& txVector,
uint16_t staId)
{
MpduInfo aMpdu;
Expand Down
8 changes: 4 additions & 4 deletions src/wifi/model/wifi-phy.h
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,9 @@ class WifiPhy : public Object
*/
void NotifyMonitorSniffRx(Ptr<const WifiPsdu> psdu,
MHz_u channelFreq,
WifiTxVector txVector,
const WifiTxVector& txVector,
SignalNoiseDbm signalNoise,
std::vector<bool> statusPerMpdu,
const std::vector<bool>& statusPerMpdu,
uint16_t staId = SU_STA_ID);

/**
Expand Down Expand Up @@ -684,7 +684,7 @@ class WifiPhy : public Object
*/
void NotifyMonitorSniffTx(Ptr<const WifiPsdu> psdu,
MHz_u channelFreq,
WifiTxVector txVector,
const WifiTxVector& txVector,
uint16_t staId = SU_STA_ID);

/**
Expand Down Expand Up @@ -723,7 +723,7 @@ class WifiPhy : public Object
* \param txPowerW the transmit power in Watts
*/
typedef void (*PsduTxBeginCallback)(WifiConstPsduMap psduMap,
WifiTxVector txVector,
const WifiTxVector& txVector,
double txPowerW);

/**
Expand Down

0 comments on commit d6cdff3

Please sign in to comment.