A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::WifiPpduRxRecord Struct Reference

Structure recording a received PPDU (Physical Protocol Data Unit) in a Wi-Fi network. More...

#include "wifi-phy-rx-trace-helper.h"

+ Collaboration diagram for ns3::WifiPpduRxRecord:

Public Attributes

Time m_endTime
 End time of the PPDU reception.
 
uint8_t m_linkId {std::numeric_limits<uint8_t>::max()}
 The link ID belonging to this record.
 
std::vector< WifiPpduRxRecordm_overlappingPpdu
 List of PPDUs that overlapped in time with this reception.
 
Ptr< const WifiPpdum_ppdu {nullptr}
 Pointer to the received PPDU.
 
WifiPhyRxfailureReason m_reason
 Reason for reception failure, if any.
 
uint32_t m_receiverId {std::numeric_limits<uint32_t>::max()}
 Node ID of the receiver.
 
double m_rssi {0}
 Received Signal Strength Indicator (RSSI) in dBm.
 
uint64_t m_rxTag
 Unique tag for the reception of this PPDU.
 
uint32_t m_senderDeviceId {std::numeric_limits<uint32_t>::max()}
 Device ID of Sender.
 
uint32_t m_senderId {std::numeric_limits<uint32_t>::max()}
 Node ID of the sender.
 
Time m_startTime
 Start time of the PPDU reception.
 
std::vector< bool > m_statusPerMpdu
 Reception status for each MPDU within the PPDU.
 

Detailed Description

Structure recording a received PPDU (Physical Protocol Data Unit) in a Wi-Fi network.

This structure contains various details about the received PPDU, such as signal strength, identifiers for the sender and receiver, timing information, and reception status.

Definition at line 80 of file wifi-phy-rx-trace-helper.h.

Member Data Documentation

◆ m_endTime

Time ns3::WifiPpduRxRecord::m_endTime

◆ m_linkId

uint8_t ns3::WifiPpduRxRecord::m_linkId {std::numeric_limits<uint8_t>::max()}

◆ m_overlappingPpdu

std::vector<WifiPpduRxRecord> ns3::WifiPpduRxRecord::m_overlappingPpdu

List of PPDUs that overlapped in time with this reception.

Definition at line 92 of file wifi-phy-rx-trace-helper.h.

Referenced by ns3::WifiPhyRxTraceSink::CountStatisticsForRecord().

◆ m_ppdu

◆ m_reason

WifiPhyRxfailureReason ns3::WifiPpduRxRecord::m_reason
Initial value:

Reason for reception failure, if any.

Definition at line 89 of file wifi-phy-rx-trace-helper.h.

Referenced by ns3::WifiPhyRxTraceSink::CountStatisticsForRecord(), and ns3::WifiPhyRxTraceSink::PhyPpduDrop().

◆ m_receiverId

uint32_t ns3::WifiPpduRxRecord::m_receiverId {std::numeric_limits<uint32_t>::max()}

◆ m_rssi

double ns3::WifiPpduRxRecord::m_rssi {0}

Received Signal Strength Indicator (RSSI) in dBm.

Definition at line 83 of file wifi-phy-rx-trace-helper.h.

Referenced by ns3::WifiPhyRxTraceSink::PhySignalArrival().

◆ m_rxTag

uint64_t ns3::WifiPpduRxRecord::m_rxTag

◆ m_senderDeviceId

uint32_t ns3::WifiPpduRxRecord::m_senderDeviceId {std::numeric_limits<uint32_t>::max()}

◆ m_senderId

uint32_t ns3::WifiPpduRxRecord::m_senderId {std::numeric_limits<uint32_t>::max()}

◆ m_startTime

Time ns3::WifiPpduRxRecord::m_startTime

Start time of the PPDU reception.

Definition at line 87 of file wifi-phy-rx-trace-helper.h.

Referenced by ns3::WifiPhyRxTraceSink::PhySignalArrival(), and ns3::WifiPhyRxTraceSink::PhySignalTransmission().

◆ m_statusPerMpdu

std::vector<bool> ns3::WifiPpduRxRecord::m_statusPerMpdu

The documentation for this struct was generated from the following file: