A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
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
:
57
EhtPpdu
(
const
WifiConstPsduMap
& psdus,
58
const
WifiTxVector
& txVector,
59
uint16_t txCenterFreq,
60
Time
ppduDuration,
61
WifiPhyBand
band,
62
uint64_t uid,
63
TxPsdFlag
flag,
64
uint8_t p20Index);
68
~EhtPpdu
()
override
;
69
70
WifiPpduType
GetType
()
const override
;
71
Ptr<WifiPpdu>
Copy
()
const override
;
72
73
protected
:
74
bool
IsDlMu
()
const override
;
75
bool
IsUlMu
()
const override
;
76
WifiTxVector
DoGetTxVector
()
const override
;
77
};
// class EhtPpdu
78
79
}
// namespace ns3
80
81
#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, uint8_t p20Index)
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:71
ns3::EhtPpdu::DoGetTxVector
WifiTxVector DoGetTxVector() const override
Get the TXVECTOR used to send the PPDU.
Definition:
eht-ppdu.cc:83
ns3::EhtPpdu::IsUlMu
bool IsUlMu() const override
Return true if the PPDU is an UL MU PPDU.
Definition:
eht-ppdu.cc:77
ns3::EhtPpdu::Copy
Ptr< WifiPpdu > Copy() const override
Copy this instance.
Definition:
eht-ppdu.cc:103
ns3::EhtPpdu::GetType
WifiPpduType GetType() const override
Return the PPDU type (.
Definition:
eht-ppdu.cc:52
ns3::EhtPpdu::~EhtPpdu
~EhtPpdu() override
Destructor for EhtPpdu.
Definition:
eht-ppdu.cc:46
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:157
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 Tue Nov 1 2022 23:00:42 for ns-3 by
1.9.3