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