A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
anonymous_namespace{wifi-bianchi.cc} Namespace Reference

Unnamed namespace, to disambiguate class Experiment. More...

Classes

class  Experiment
 Class to configure and run an experiment. More...

Functions

void AssociationLog (std::string context, Mac48Address address)
 Association log trace.
void BackoffTrace (std::string context, uint32_t newVal, uint8_t)
 Backoff trace.
Mac48Address ContextToMac (std::string context)
 Parse context strings of the form "/NodeList/x/DeviceList/x/..." and fetch the Mac address.
uint32_t ContextToNodeId (std::string context)
 Parse context strings of the form "/NodeList/x/DeviceList/x/..." to extract the NodeId integer.
void CwTrace (std::string context, uint32_t cw, uint8_t)
 Contention window trace.
void DisassociationLog (std::string context, Mac48Address address)
 Deassociation log trace.
uint64_t GetCount (const std::map< Mac48Address, uint64_t > &counter, Mac48Address addr)
 Get the Counter associated with a MAC address.
void IncrementCounter (std::map< Mac48Address, uint64_t > &counter, Mac48Address addr, uint64_t increment=1)
 Increment the counter for a given address.
void MacRxTrace (std::string context, Ptr< const Packet > p)
 MAC RX trace.
void MacTxTrace (std::string context, Ptr< const Packet > p)
 MAC TX trace.
void PhyRxDoneTrace (std::string context, Ptr< const Packet > p)
 PHY RX end trace.
void PhyRxDropTrace (std::string context, Ptr< const Packet > p, WifiPhyRxfailureReason reason)
 PHY Drop trace.
void PhyRxErrorTrace (std::string context, Ptr< const Packet > p, double snr)
 PHY RX error trace.
void PhyRxOkTrace (std::string context, Ptr< const Packet > p, double snr, WifiMode mode, WifiPreamble preamble)
 PHY successful RX trace.
void PhyRxPayloadTrace (std::string context, WifiTxVector txVector, Time psduDuration)
 PHY Rx trace.
void PhyRxTrace (std::string context, Ptr< const Packet > p, RxPowerWattPerChannelBand power)
 PHY Rx trace.
void PhyTxDoneTrace (std::string context, Ptr< const Packet > p)
 PHY TX end trace.
void PhyTxTrace (std::string context, Ptr< const Packet > p, double txPowerW)
 PHY TX trace.
void RestartCalc ()
 Reset the stats.
void SocketSendTrace (std::string context, Ptr< const Packet > p, const Address &addr)
 Socket send trace.
void TracePacketReception (std::string context, Ptr< const Packet > p, uint16_t channelFreqMhz, WifiTxVector txVector, MpduInfo aMpdu, SignalNoiseDbm signalNoise, uint16_t staId)
 Trace a packet reception.

Variables

std::set< uint32_tassociated
 Contains the IDs of the STAs that successfully associated to the access point (in infrastructure mode only).
std::ofstream backoffTraceFile
 File that traces backoff over time.
std::map< std::string, std::map< unsigned int, double > > bianchiResultsDifs
 Table of the expected values for DIFS.
std::map< std::string, std::map< unsigned int, double > > bianchiResultsEifs
 Table of the expected values for EIFS.
std::map< Mac48Address, uint64_t > bytesReceived
 Map that stores the total bytes received per STA (and addressed to that STA).
std::ofstream cwTraceFile
 File that traces CW over time.
std::ofstream macRxTraceFile
 File that traces MAC receptions over time.
std::ofstream macTxTraceFile
 File that traces MAC transmissions over time.
uint8_t maxMpdus = 0
 The maximum number of MPDUs in A-MPDUs (0 to disable MPDU aggregation).
std::map< Mac48Address, uint64_t > packetsReceived
 Map that stores the total packets received per STA (and addressed to that STA).
std::map< Mac48Address, uint64_t > packetsTransmitted
 Map that stores the total packets transmitted per STA.
std::map< Mac48Address, uint64_t > phyHeaderFailed
 Map that stores the total number of unsuccessfully received PHY headers per STA.
std::ofstream phyTxTraceFile
 File that traces PHY transmissions over time.
uint32_t pktSize = 1500
 packet size used for the simulation (in bytes)
std::map< Mac48Address, uint64_t > psduFailed
 Map that stores the total number of unsuccessfully received PSDUS (for which the PHY header was successfully received) per STA (including PSDUs not addressed to that STA).
std::map< Mac48Address, uint64_t > psduSucceeded
 Map that stores the total number of successfully received PSDUs per STA (including PSDUs not addressed to that STA).
std::map< Mac48Address, uint64_t > rxEventAbortedByTx
 Map that stores the number of reception events aborted per STA because the PHY has started to transmit.
std::map< Mac48Address, uint64_t > rxEventWhileDecodingPreamble
 Map that stores the number of reception events per STA that occurred while PHY was already decoding a preamble.
std::map< Mac48Address, uint64_t > rxEventWhileRxing
 Map that stores the number of reception events per STA that occurred while PHY was already receiving a PPDU.
std::map< Mac48Address, uint64_t > rxEventWhileTxing
 Map that stores the number of reception events per STA that occurred while PHY was already transmitting a PPDU.
std::ofstream socketSendTraceFile
 File that traces packets transmitted by the application over time.
std::map< Mac48Address, TimetimeFirstReceived
 Map that stores the time at which the first packet was received per STA (and the packet is addressed to that STA).
std::map< Mac48Address, TimetimeFirstTransmitted
 Map that stores the time at which the first packet was transmitted per STA.
std::map< Mac48Address, TimetimeLastReceived
 Map that stores the time at which the last packet was received per STA (and the packet is addressed to that STA).
std::map< Mac48Address, TimetimeLastTransmitted
 Map that stores the time at which the last packet was transmitted per STA.
bool tracing = false
 Flag to enable/disable generation of tracing files.
bool useRxHelper = false
 Flag to get PPDU statistics with WifiPhyRxTraceHelper.
bool useTxHelper = false
 Flag to get MPDU statistics with WifiTxStatsHelper.

Detailed Description

Unnamed namespace, to disambiguate class Experiment.

Function Documentation

◆ AssociationLog()

void anonymous_namespace{wifi-bianchi.cc}::AssociationLog ( std::string context,
Mac48Address address )

Association log trace.

Parameters
contextThe context.
addressThe MAC address.

Definition at line 2346 of file wifi-bianchi.cc.

References associated, ContextToNodeId(), ns3::Simulator::Now(), NS_FATAL_ERROR, and NS_LOG_DEBUG.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BackoffTrace()

void anonymous_namespace{wifi-bianchi.cc}::BackoffTrace ( std::string context,
uint32_t newVal,
uint8_t  )

Backoff trace.

Parameters
contextThe context.
newValThe backoff value.

Definition at line 2057 of file wifi-bianchi.cc.

References backoffTraceFile, ContextToNodeId(), ns3::Time::GetSeconds(), ns3::Simulator::Now(), NS_LOG_INFO, and tracing.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContextToMac()

Mac48Address anonymous_namespace{wifi-bianchi.cc}::ContextToMac ( std::string context)

Parse context strings of the form "/NodeList/x/DeviceList/x/..." and fetch the Mac address.

Parameters
contextThe context to parse.
Returns
the device MAC address

Definition at line 1931 of file wifi-bianchi.cc.

References ns3::Mac48Address::ConvertFrom(), and ns3::NodeList::GetNode().

Referenced by PhyRxDropTrace(), PhyRxErrorTrace(), PhyRxOkTrace(), PhyTxTrace(), and TracePacketReception().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContextToNodeId()

uint32_t anonymous_namespace{wifi-bianchi.cc}::ContextToNodeId ( std::string context)

Parse context strings of the form "/NodeList/x/DeviceList/x/..." to extract the NodeId integer.

Parameters
contextThe context to parse.
Returns
the NodeId

Definition at line 1917 of file wifi-bianchi.cc.

Referenced by AssociationLog(), BackoffTrace(), CwTrace(), DisassociationLog(), MacRxTrace(), MacTxTrace(), PhyRxDoneTrace(), PhyRxDropTrace(), PhyRxErrorTrace(), PhyRxOkTrace(), PhyRxPayloadTrace(), PhyRxTrace(), PhyTxDoneTrace(), PhyTxTrace(), and SocketSendTrace().

Here is the caller graph for this function:

◆ CwTrace()

void anonymous_namespace{wifi-bianchi.cc}::CwTrace ( std::string context,
uint32_t cw,
uint8_t  )

Contention window trace.

Parameters
contextThe context.
cwThe contention window.

Definition at line 2039 of file wifi-bianchi.cc.

References ContextToNodeId(), cwTraceFile, ns3::Time::GetSeconds(), ns3::Simulator::Now(), NS_LOG_INFO, and tracing.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DisassociationLog()

void anonymous_namespace{wifi-bianchi.cc}::DisassociationLog ( std::string context,
Mac48Address address )

Deassociation log trace.

Parameters
contextThe context.
addressThe MAC address.

Definition at line 2368 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Simulator::Now(), NS_FATAL_ERROR, and NS_LOG_DEBUG.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

uint64_t anonymous_namespace{wifi-bianchi.cc}::GetCount ( const std::map< Mac48Address, uint64_t > & counter,
Mac48Address addr )

Get the Counter associated with a MAC address.

Parameters
counterThe map of counters to inspect.
addrThe MAC address.
Returns
the value of the counter,

Definition at line 2847 of file wifi-bianchi.cc.

◆ IncrementCounter()

void anonymous_namespace{wifi-bianchi.cc}::IncrementCounter ( std::map< Mac48Address, uint64_t > & counter,
Mac48Address addr,
uint64_t increment = 1 )

Increment the counter for a given address.

Parameters
[out]counterThe counter to increment.
addrThe address to increment the counter for.
incrementThe increment (1 if omitted).

Definition at line 1959 of file wifi-bianchi.cc.

Referenced by PhyRxDropTrace(), PhyRxErrorTrace(), PhyRxOkTrace(), PhyTxTrace(), and TracePacketReception().

Here is the caller graph for this function:

◆ MacRxTrace()

void anonymous_namespace{wifi-bianchi.cc}::MacRxTrace ( std::string context,
Ptr< const Packet > p )

MAC RX trace.

Parameters
contextThe context.
pThe packet.

Definition at line 2313 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Time::GetSeconds(), macRxTraceFile, ns3::Simulator::Now(), and tracing.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MacTxTrace()

void anonymous_namespace{wifi-bianchi.cc}::MacTxTrace ( std::string context,
Ptr< const Packet > p )

MAC TX trace.

Parameters
contextThe context.
pThe packet.

Definition at line 2297 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Time::GetSeconds(), macTxTraceFile, ns3::Simulator::Now(), and tracing.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyRxDoneTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyRxDoneTrace ( std::string context,
Ptr< const Packet > p )

PHY RX end trace.

Parameters
contextThe context.
pThe packet.

Definition at line 2189 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Simulator::Now(), and NS_LOG_INFO.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyRxDropTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyRxDropTrace ( std::string context,
Ptr< const Packet > p,
WifiPhyRxfailureReason reason )

PHY Drop trace.

Parameters
contextThe context.
pThe packet.
reasonThe drop reason.

Definition at line 2105 of file wifi-bianchi.cc.

References ns3::BUSY_DECODING_PREAMBLE, ns3::CHANNEL_SWITCHING, ContextToMac(), ContextToNodeId(), ns3::FRAME_CAPTURE_PACKET_SWITCH, ns3::HT_SIG_FAILURE, IncrementCounter(), ns3::L_SIG_FAILURE, ns3::Simulator::Now(), NS_FATAL_ERROR, NS_LOG_INFO, ns3::OBSS_PD_CCA_RESET, phyHeaderFailed, pktSize, ns3::PREAMBLE_DETECT_FAILURE, ns3::PREAMBLE_DETECTION_PACKET_SWITCH, ns3::RECEPTION_ABORTED_BY_TX, rxEventAbortedByTx, rxEventWhileDecodingPreamble, rxEventWhileRxing, rxEventWhileTxing, ns3::RXING, ns3::SIG_A_FAILURE, ns3::SIG_B_FAILURE, ns3::SIGNAL_DETECTION_ABORTED_BY_TX, ns3::SLEEPING, ns3::TXING, ns3::UNKNOWN, and ns3::UNSUPPORTED_SETTINGS.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyRxErrorTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyRxErrorTrace ( std::string context,
Ptr< const Packet > p,
double snr )

PHY RX error trace.

Parameters
contextThe context.
pThe packet.
snrThe SNR.

Definition at line 2242 of file wifi-bianchi.cc.

References ContextToMac(), ContextToNodeId(), IncrementCounter(), ns3::Simulator::Now(), NS_LOG_INFO, pktSize, and psduFailed.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyRxOkTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyRxOkTrace ( std::string context,
Ptr< const Packet > p,
double snr,
WifiMode mode,
WifiPreamble preamble )

PHY successful RX trace.

Parameters
contextThe context.
pThe packet.
snrThe SNR.
modeThe WiFi mode.
preambleThe preamble.

Definition at line 2205 of file wifi-bianchi.cc.

References ContextToMac(), ContextToNodeId(), IncrementCounter(), maxMpdus, ns3::Simulator::Now(), NS_FATAL_ERROR, NS_LOG_INFO, NS_LOG_WARN, pktSize, psduSucceeded, and ns3::Time::S.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyRxPayloadTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyRxPayloadTrace ( std::string context,
WifiTxVector txVector,
Time psduDuration )

PHY Rx trace.

Parameters
contextThe context.
txVectorThe TX vector.
psduDurationThe PDSU diration.

Definition at line 2090 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Simulator::Now(), and NS_LOG_INFO.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyRxTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyRxTrace ( std::string context,
Ptr< const Packet > p,
RxPowerWattPerChannelBand power )

PHY Rx trace.

Parameters
contextThe context.
pThe packet.
powerThe Rx power.

Definition at line 2076 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Simulator::Now(), and NS_LOG_INFO.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyTxDoneTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyTxDoneTrace ( std::string context,
Ptr< const Packet > p )

PHY TX end trace.

Parameters
contextThe context.
pThe packet.

Definition at line 2284 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Simulator::Now(), and NS_LOG_INFO.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhyTxTrace()

void anonymous_namespace{wifi-bianchi.cc}::PhyTxTrace ( std::string context,
Ptr< const Packet > p,
double txPowerW )

PHY TX trace.

Parameters
contextThe context.
pThe packet.
txPowerWThe TX power.

Definition at line 2261 of file wifi-bianchi.cc.

References ContextToMac(), ContextToNodeId(), ns3::Time::GetSeconds(), IncrementCounter(), ns3::Simulator::Now(), NS_LOG_INFO, packetsTransmitted, phyTxTraceFile, pktSize, and tracing.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RestartCalc()

void anonymous_namespace{wifi-bianchi.cc}::RestartCalc ( )

Reset the stats.

Definition at line 2379 of file wifi-bianchi.cc.

References bytesReceived, packetsReceived, packetsTransmitted, phyHeaderFailed, psduFailed, psduSucceeded, rxEventAbortedByTx, rxEventWhileDecodingPreamble, rxEventWhileRxing, rxEventWhileTxing, timeFirstReceived, and timeLastReceived.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the caller graph for this function:

◆ SocketSendTrace()

void anonymous_namespace{wifi-bianchi.cc}::SocketSendTrace ( std::string context,
Ptr< const Packet > p,
const Address & addr )

Socket send trace.

Parameters
contextThe context.
pThe packet.
addrdestination address.

Definition at line 2330 of file wifi-bianchi.cc.

References ContextToNodeId(), ns3::Time::GetSeconds(), ns3::Simulator::Now(), socketSendTraceFile, and tracing.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TracePacketReception()

void anonymous_namespace{wifi-bianchi.cc}::TracePacketReception ( std::string context,
Ptr< const Packet > p,
uint16_t channelFreqMhz,
WifiTxVector txVector,
MpduInfo aMpdu,
SignalNoiseDbm signalNoise,
uint16_t staId )

Trace a packet reception.

Parameters
contextThe context.
pThe packet.
channelFreqMhzThe channel frequqncy.
txVectorThe TX vector.
aMpduThe AMPDU.
signalNoiseThe signal and noise dBm.
staIdThe STA ID.

Definition at line 1986 of file wifi-bianchi.cc.

References bytesReceived, ContextToMac(), ns3::WifiMacHeader::GetAddr1(), ns3::WifiMacHeader::GetAddr2(), ns3::AmpduSubframeHeader::GetLength(), IncrementCounter(), ns3::WifiTxVector::IsAggregation(), ns3::Simulator::Now(), packetsReceived, pktSize, timeFirstReceived, and timeLastReceived.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ associated

std::set<uint32_t> anonymous_namespace{wifi-bianchi.cc}::associated

Contains the IDs of the STAs that successfully associated to the access point (in infrastructure mode only).

Definition at line 113 of file wifi-bianchi.cc.

Referenced by AssociationLog().

◆ backoffTraceFile

std::ofstream anonymous_namespace{wifi-bianchi.cc}::backoffTraceFile

File that traces backoff over time.

Definition at line 67 of file wifi-bianchi.cc.

Referenced by BackoffTrace(), and anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

◆ bianchiResultsDifs

std::map<std::string , std::map<unsigned int , double > > anonymous_namespace{wifi-bianchi.cc}::bianchiResultsDifs

Table of the expected values for DIFS.

Definition at line 1019 of file wifi-bianchi.cc.

◆ bianchiResultsEifs

std::map<std::string , std::map<unsigned int , double > > anonymous_namespace{wifi-bianchi.cc}::bianchiResultsEifs

Table of the expected values for EIFS.

Definition at line 125 of file wifi-bianchi.cc.

◆ bytesReceived

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::bytesReceived

Map that stores the total bytes received per STA (and addressed to that STA).

Definition at line 77 of file wifi-bianchi.cc.

Referenced by RestartCalc(), and TracePacketReception().

◆ cwTraceFile

std::ofstream anonymous_namespace{wifi-bianchi.cc}::cwTraceFile

File that traces CW over time.

Definition at line 66 of file wifi-bianchi.cc.

Referenced by CwTrace(), and anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

◆ macRxTraceFile

std::ofstream anonymous_namespace{wifi-bianchi.cc}::macRxTraceFile

File that traces MAC receptions over time.

Definition at line 70 of file wifi-bianchi.cc.

Referenced by MacRxTrace(), and anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

◆ macTxTraceFile

std::ofstream anonymous_namespace{wifi-bianchi.cc}::macTxTraceFile

File that traces MAC transmissions over time.

Definition at line 69 of file wifi-bianchi.cc.

Referenced by MacTxTrace(), and anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

◆ maxMpdus

uint8_t anonymous_namespace{wifi-bianchi.cc}::maxMpdus = 0

The maximum number of MPDUs in A-MPDUs (0 to disable MPDU aggregation).

Definition at line 118 of file wifi-bianchi.cc.

Referenced by PhyRxOkTrace(), and anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

◆ packetsReceived

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::packetsReceived

Map that stores the total packets received per STA (and addressed to that STA).

Definition at line 74 of file wifi-bianchi.cc.

Referenced by RestartCalc(), and TracePacketReception().

◆ packetsTransmitted

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::packetsTransmitted

Map that stores the total packets transmitted per STA.

Definition at line 79 of file wifi-bianchi.cc.

Referenced by PhyTxTrace(), and RestartCalc().

◆ phyHeaderFailed

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::phyHeaderFailed

Map that stores the total number of unsuccessfully received PHY headers per STA.

Definition at line 87 of file wifi-bianchi.cc.

Referenced by PhyRxDropTrace(), and RestartCalc().

◆ phyTxTraceFile

std::ofstream anonymous_namespace{wifi-bianchi.cc}::phyTxTraceFile

File that traces PHY transmissions over time.

Definition at line 68 of file wifi-bianchi.cc.

Referenced by PhyTxTrace(), and anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

◆ pktSize

uint32_t anonymous_namespace{wifi-bianchi.cc}::pktSize = 1500

packet size used for the simulation (in bytes)

Definition at line 117 of file wifi-bianchi.cc.

Referenced by PhyRxDropTrace(), PhyRxErrorTrace(), PhyRxOkTrace(), PhyTxTrace(), anonymous_namespace{wifi-bianchi.cc}::Experiment::Run(), and TracePacketReception().

◆ psduFailed

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::psduFailed

Map that stores the total number of unsuccessfully received PSDUS (for which the PHY header was successfully received) per STA (including PSDUs not addressed to that STA).

Definition at line 81 of file wifi-bianchi.cc.

Referenced by PhyRxErrorTrace(), and RestartCalc().

◆ psduSucceeded

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::psduSucceeded

Map that stores the total number of successfully received PSDUs per STA (including PSDUs not addressed to that STA).

Definition at line 85 of file wifi-bianchi.cc.

Referenced by PhyRxOkTrace(), and RestartCalc().

◆ rxEventAbortedByTx

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::rxEventAbortedByTx

Map that stores the number of reception events aborted per STA because the PHY has started to transmit.

Definition at line 99 of file wifi-bianchi.cc.

Referenced by PhyRxDropTrace(), and RestartCalc().

◆ rxEventWhileDecodingPreamble

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::rxEventWhileDecodingPreamble

Map that stores the number of reception events per STA that occurred while PHY was already decoding a preamble.

Definition at line 96 of file wifi-bianchi.cc.

Referenced by PhyRxDropTrace(), and RestartCalc().

◆ rxEventWhileRxing

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::rxEventWhileRxing

Map that stores the number of reception events per STA that occurred while PHY was already receiving a PPDU.

Definition at line 93 of file wifi-bianchi.cc.

Referenced by PhyRxDropTrace(), and RestartCalc().

◆ rxEventWhileTxing

std::map<Mac48Address, uint64_t> anonymous_namespace{wifi-bianchi.cc}::rxEventWhileTxing

Map that stores the number of reception events per STA that occurred while PHY was already transmitting a PPDU.

Definition at line 90 of file wifi-bianchi.cc.

Referenced by PhyRxDropTrace(), and RestartCalc().

◆ socketSendTraceFile

std::ofstream anonymous_namespace{wifi-bianchi.cc}::socketSendTraceFile

File that traces packets transmitted by the application over time.

Definition at line 72 of file wifi-bianchi.cc.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run(), and SocketSendTrace().

◆ timeFirstReceived

std::map<Mac48Address, Time> anonymous_namespace{wifi-bianchi.cc}::timeFirstReceived

Map that stores the time at which the first packet was received per STA (and the packet is addressed to that STA).

Definition at line 103 of file wifi-bianchi.cc.

Referenced by RestartCalc(), and TracePacketReception().

◆ timeFirstTransmitted

std::map<Mac48Address, Time> anonymous_namespace{wifi-bianchi.cc}::timeFirstTransmitted

Map that stores the time at which the first packet was transmitted per STA.

Definition at line 108 of file wifi-bianchi.cc.

◆ timeLastReceived

std::map<Mac48Address, Time> anonymous_namespace{wifi-bianchi.cc}::timeLastReceived

Map that stores the time at which the last packet was received per STA (and the packet is addressed to that STA).

Definition at line 106 of file wifi-bianchi.cc.

Referenced by RestartCalc(), and TracePacketReception().

◆ timeLastTransmitted

std::map<Mac48Address, Time> anonymous_namespace{wifi-bianchi.cc}::timeLastTransmitted

Map that stores the time at which the last packet was transmitted per STA.

Definition at line 110 of file wifi-bianchi.cc.

◆ tracing

bool anonymous_namespace{wifi-bianchi.cc}::tracing = false

Flag to enable/disable generation of tracing files.

Definition at line 116 of file wifi-bianchi.cc.

Referenced by BackoffTrace(), CwTrace(), MacRxTrace(), MacTxTrace(), PhyTxTrace(), anonymous_namespace{wifi-bianchi.cc}::Experiment::Run(), and SocketSendTrace().

◆ useRxHelper

bool anonymous_namespace{wifi-bianchi.cc}::useRxHelper = false

Flag to get PPDU statistics with WifiPhyRxTraceHelper.

Definition at line 120 of file wifi-bianchi.cc.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().

◆ useTxHelper

bool anonymous_namespace{wifi-bianchi.cc}::useTxHelper = false

Flag to get MPDU statistics with WifiTxStatsHelper.

Definition at line 119 of file wifi-bianchi.cc.

Referenced by anonymous_namespace{wifi-bianchi.cc}::Experiment::Run().