25 #include "ns3/nstime.h" 84 void Print (std::ostream &os)
const;
Simulation virtual time values and global simulation resolution.
Smart pointer class similar to boost::intrusive_ptr.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
Ptr< const WifiPsdu > GetPsdu(void) const
Get the payload of the PPDU.
void SetTruncatedTx(void)
Indicate that the PPDU's transmission was aborted due to transmitter switch off.
WifiTxVector GetTxVector(void) const
Get the TXVECTOR used to send the PPDU.
HeSigHeader m_heSig
the HE-SIG PHY header
WifiPreamble
The type of preamble to be used by an IEEE 802.11 transmission.
void Print(std::ostream &os) const
Print the PPDU contents.
WifiPreamble m_preamble
the PHY preamble
HtSigHeader m_htSig
the HT-SIG PHY header
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
WifiPpdu stores a preamble, a modulation class, PHY headers and a PSDU.
WifiPhyBand m_band
the WifiPhyBand used to transmit that PPDU
bool IsTruncatedTx(void) const
Return true if the PPDU's transmission was aborted due to transmitter switch off. ...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t m_txPowerLevel
the transmission power level (used only for TX and initializing the returned WifiTxVector) ...
bool m_truncatedTx
flag indicating whether the frame's transmission was aborted due to transmitter switch off ...
WifiPhyBand
Identifies the PHY band.
Ptr< const WifiPsdu > m_psdu
the PSDU contained in this PPDU
WifiModulationClass
This enumeration defines the modulation classes per (Table 9-4 "Modulation classes"; IEEE 802...
DsssSigHeader m_dsssSig
the DSSS SIG PHY header
LSigHeader m_lSig
the L-SIG PHY header
VhtSigHeader m_vhtSig
the VHT-SIG PHY header
WifiPpdu(Ptr< const WifiPsdu > psdu, WifiTxVector txVector, Time ppduDuration, WifiPhyBand band)
Create a single user PPDU storing a PSDU.
uint16_t m_channelWidth
the channel width used to transmit that PPDU in MHz
Time GetTxDuration() const
Get the total transmission duration of the PPDU.
A template-based reference counting class.
WifiModulationClass m_modulation
the modulation used for the transmission of this PPDU