A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
eht-ppdu.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 DERONNE SOFTWARE ENGINEERING
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Sébastien Deronne <sebastien.deronne@gmail.com>
18
*/
19
20
#ifndef EHT_PPDU_H
21
#define EHT_PPDU_H
22
23
#include "ns3/he-ppdu.h"
24
31
namespace
ns3
32
{
33
40
class
EhtPpdu
:
public
HePpdu
41
{
42
public
:
56
EhtPpdu
(
const
WifiConstPsduMap
& psdus,
57
const
WifiTxVector
& txVector,
58
uint16_t txCenterFreq,
59
Time
ppduDuration,
60
WifiPhyBand
band,
61
uint64_t uid,
62
TxPsdFlag
flag);
63
64
WifiPpduType
GetType
()
const override
;
65
Ptr<WifiPpdu>
Copy
()
const override
;
66
67
private
:
68
bool
IsDlMu
()
const override
;
69
bool
IsUlMu
()
const override
;
70
void
SetTxVectorFromPhyHeaders
(
WifiTxVector
& txVector,
71
const
LSigHeader
& lSig,
72
const
HeSigHeader
& heSig)
const override
;
73
74
uint8_t
m_ehtSuMcs
{0};
75
uint8_t
m_ehtSuNStreams
{1};
76
};
// class EhtPpdu
77
78
}
// namespace ns3
79
80
#endif
/* EHT_PPDU_H */
ns3::EhtPpdu
EHT PPDU (11be)
Definition:
eht-ppdu.h:41
ns3::EhtPpdu::EhtPpdu
EhtPpdu(const WifiConstPsduMap &psdus, const WifiTxVector &txVector, uint16_t txCenterFreq, Time ppduDuration, WifiPhyBand band, uint64_t uid, TxPsdFlag flag)
Create an EHT PPDU, storing a map of PSDUs.
Definition:
eht-ppdu.cc:32
ns3::EhtPpdu::IsDlMu
bool IsDlMu() const override
Return true if the PPDU is a DL MU PPDU.
Definition:
eht-ppdu.cc:78
ns3::EhtPpdu::IsUlMu
bool IsUlMu() const override
Return true if the PPDU is an UL MU PPDU.
Definition:
eht-ppdu.cc:84
ns3::EhtPpdu::m_ehtSuMcs
uint8_t m_ehtSuMcs
EHT-MCS for EHT SU transmissions.
Definition:
eht-ppdu.h:74
ns3::EhtPpdu::m_ehtSuNStreams
uint8_t m_ehtSuNStreams
Number of streams for EHT SU transmissions.
Definition:
eht-ppdu.h:75
ns3::EhtPpdu::Copy
Ptr< WifiPpdu > Copy() const override
Copy this instance.
Definition:
eht-ppdu.cc:117
ns3::EhtPpdu::GetType
WifiPpduType GetType() const override
Return the PPDU type (.
Definition:
eht-ppdu.cc:59
ns3::EhtPpdu::SetTxVectorFromPhyHeaders
void SetTxVectorFromPhyHeaders(WifiTxVector &txVector, const LSigHeader &lSig, const HeSigHeader &heSig) const override
Fill in the TXVECTOR from PHY headers.
Definition:
eht-ppdu.cc:90
ns3::HePpdu::HeSigHeader
HE-SIG PHY header (HE-SIG-A1/A2/B)
Definition:
he-ppdu.h:51
ns3::HePpdu
HE PPDU (11ax)
Definition:
he-ppdu.h:45
ns3::HePpdu::TxPsdFlag
TxPsdFlag
The transmit power spectral density flag, namely used to correctly build PSDs for pre-HE and HE porti...
Definition:
he-ppdu.h:156
ns3::OfdmPpdu::LSigHeader
OFDM and ERP OFDM L-SIG PHY header.
Definition:
ofdm-ppdu.h:55
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:78
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition:
nstime.h:105
ns3::WifiTxVector
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
Definition:
wifi-tx-vector.h:101
ns3::WifiPhyBand
WifiPhyBand
Identifies the PHY band.
Definition:
wifi-phy-band.h:33
ns3::WifiPpduType
WifiPpduType
The type of PPDU (SU, DL MU, or UL MU)
Definition:
wifi-phy-common.h:279
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::WifiConstPsduMap
std::unordered_map< uint16_t, Ptr< const WifiPsdu > > WifiConstPsduMap
Map of const PSDUs indexed by STA-ID.
Definition:
he-frame-exchange-manager.h:45
src
wifi
model
eht
eht-ppdu.h
Generated on Fri Mar 31 2023 13:30:53 for ns-3 by
1.9.1