26 #include "ns3/ofdm-ppdu.h"
64 void Print (std::ostream &os)
const override;
87 uint8_t
GetMcs (
void)
const;
199 uint16_t
GetStaId (
void)
const override;
201 bool CanBeReceived (uint16_t txCenterFreq, uint16_t p20MinFreq,
202 uint16_t p20MaxFreq)
const override;
234 bool IsMu (
void)
const;
iterator in a Buffer instance
HeSigHeader m_heSig
the HE-SIG PHY header
bool CanBeReceived(uint16_t txCenterFreq, uint16_t p20MinFreq, uint16_t p20MaxFreq) const override
Check whether the given PPDU can be received on the specified primary channel.
void SetTxPsdFlag(TxPsdFlag flag)
bool IsDlMu(void) const
Return true if the PPDU is a DL MU PPDU.
TxPsdFlag
The transmit power spectral density flag, namely used to correctly build PSD for HE TB PPDU non-OFDMA...
@ PSD_HE_TB_OFDMA_PORTION
OFDMA portion of HE TB PPDU, which should only be sent on RU.
@ PSD_NON_HE_TB
non-HE TB PPDU transmissions
@ PSD_HE_TB_NON_OFDMA_PORTION
preamble of HE TB PPDU, which should only be sent on minimum subset of 20 MHz channels containing RU
uint16_t GetTransmissionChannelWidth(void) const override
Get the channel width over which the PPDU will effectively be transmitted.
WifiTxVector::HeMuUserInfoMap m_muUserInfos
the HE MU specific per-user information (to be removed once HE-SIG-B headers are implemented)
virtual ~HePpdu()
Destructor for HePpdu.
HePpdu(Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector, Time ppduDuration, WifiPhyBand band, uint64_t uid)
Create an SU HE PPDU, storing a PSDU.
void SetPhyHeaders(const WifiTxVector &txVector, Time ppduDuration)
Fill in the HE PHY headers.
uint16_t GetStaId(void) const override
Get the ID of the STA that transmitted the PPDU for UL MU, SU_STA_ID otherwise.
WifiTxVector DoGetTxVector(void) const override
Get the TXVECTOR used to send the PPDU.
bool IsUlMu(void) const
Return true if the PPDU is an UL MU PPDU.
Ptr< WifiPpdu > Copy(void) const override
Copy this instance.
Time GetTxDuration(void) const override
Get the total transmission duration of the PPDU.
bool IsMu(void) const
Return true if the PPDU is a MU PPDU.
std::string PrintPayload(void) const override
Print the payload of the PPDU.
WifiPpduType GetType(void) const override
Return the PPDU type (.
TxPsdFlag m_txPsdFlag
the transmit power spectral density flag
TxPsdFlag GetTxPsdFlag(void) const
Simulation virtual time values and global simulation resolution.
a unique identifier for an interface.
Ptr< const WifiPsdu > GetPsdu(void) const
Get the payload of the PPDU.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
std::map< uint16_t, HeMuUserInfo > HeMuUserInfoMap
map of HE MU specific user info paramters indexed by STA-ID
WifiPhyBand
Identifies the PHY band.
WifiPpduType
The type of PPDU (SU, DL MU, or UL MU)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::unordered_map< uint16_t, Ptr< const WifiPsdu > > WifiConstPsduMap
Map of const PSDUs indexed by STA-ID.
std::ostream & operator<<(std::ostream &os, const Angles &a)