25 #include "ns3/nstime.h" 83 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...
WifiPpdu(Ptr< const WifiPsdu > psdu, WifiTxVector txVector, Time ppduDuration, uint16_t frequency)
Create a single user PPDU storing a PSDU.
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.
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 ...
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
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.
uint16_t m_frequency
the frequency used to transmit that PPDU in MHz
A template-based reference counting class.
WifiModulationClass m_modulation
the modulation used for the transmission of this PPDU