25 #include <unordered_map> 26 #include "ns3/nstime.h" 103 bool IsMu (
void)
const;
115 void Print (std::ostream &os)
const;
Simulation virtual time values and global simulation resolution.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
WifiTxVector::HeMuUserInfoMap m_muUserInfos
the HE MU specific per-user information (to be removed once HE-SIG-B headers are implemented) ...
std::unordered_map< uint16_t, Ptr< const WifiPsdu > > WifiConstPsduMap
std::map< uint16_t, HeMuUserInfo > HeMuUserInfoMap
map of HE MU specific user info paramters indexed by STA-ID
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
Ptr< const WifiPsdu > GetPsdu(uint8_t bssColor=64, uint16_t staId=SU_STA_ID) const
Get the payload of the PPDU.
WifiModulationClass GetModulation(void) const
Get the modulation used for the PPDU.
WifiPreamble
The type of preamble to be used by an IEEE 802.11 transmission.
void SetPhyHeaders(WifiTxVector txVector, Time ppduDuration, WifiPhyBand band)
Fill in the PHY headers.
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.
WifiPsdu stores an MPDU, S-MPDU or A-MPDU, by keeping header(s) and payload(s) separate for each cons...
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.
WifiConstPsduMap m_psdus
the PSDUs 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 SU 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.
bool IsMu(void) const
Return true if the PPDU is a MU PPDU.
WifiModulationClass m_modulation
the modulation used for the transmission of this PPDU