A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
erp-ofdm-ppdu.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Orange Labs
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Rediet <getachew.redieteab@orange.com>
7
* Muhammad Iqbal Rochman <muhiqbalcr@uchicago.edu>
8
*/
9
10
#ifndef ERP_OFDM_PPDU_H
11
#define ERP_OFDM_PPDU_H
12
13
#include "
ofdm-ppdu.h
"
14
15
/**
16
* \file
17
* \ingroup wifi
18
* Declaration of ns3::ErpOfdmPpdu class.
19
*/
20
21
namespace
ns3
22
{
23
24
class
WifiPsdu;
25
26
/**
27
* \brief ERP-OFDM PPDU (11g)
28
* \ingroup wifi
29
*
30
* ErpOfdmPpdu stores a preamble, PHY headers and a PSDU of a PPDU with non-HT header,
31
* i.e., PPDU that uses ERP-OFDM modulation.
32
*/
33
class
ErpOfdmPpdu
:
public
OfdmPpdu
34
{
35
public
:
36
/**
37
* Create an ERP-OFDM PPDU.
38
*
39
* \param psdu the PHY payload (PSDU)
40
* \param txVector the TXVECTOR that was used for this PPDU
41
* \param channel the operating channel of the PHY used to transmit this PPDU
42
* \param uid the unique ID of this PPDU
43
*/
44
ErpOfdmPpdu
(
Ptr<const WifiPsdu>
psdu,
45
const
WifiTxVector
& txVector,
46
const
WifiPhyOperatingChannel
& channel,
47
uint64_t uid);
48
49
Ptr<WifiPpdu>
Copy
()
const override
;
50
51
private
:
52
void
SetTxVectorFromLSigHeader
(
WifiTxVector
& txVector,
const
LSigHeader
& lSig)
const override
;
53
};
// class ErpOfdmPpdu
54
55
}
// namespace ns3
56
57
#endif
/* ERP_OFDM_PPDU_H */
ns3::ErpOfdmPpdu
ERP-OFDM PPDU (11g)
Definition
erp-ofdm-ppdu.h:34
ns3::ErpOfdmPpdu::Copy
Ptr< WifiPpdu > Copy() const override
Copy this instance.
Definition
erp-ofdm-ppdu.cc:40
ns3::ErpOfdmPpdu::SetTxVectorFromLSigHeader
void SetTxVectorFromLSigHeader(WifiTxVector &txVector, const LSigHeader &lSig) const override
Fill in the TXVECTOR from L-SIG header.
Definition
erp-ofdm-ppdu.cc:33
ns3::ErpOfdmPpdu::ErpOfdmPpdu
ErpOfdmPpdu(Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector, const WifiPhyOperatingChannel &channel, uint64_t uid)
Create an ERP-OFDM PPDU.
Definition
erp-ofdm-ppdu.cc:23
ns3::OfdmPpdu::LSigHeader
OFDM and ERP OFDM L-SIG PHY header.
Definition
ofdm-ppdu.h:43
ns3::OfdmPpdu
OFDM PPDU (11a)
Definition
ofdm-ppdu.h:36
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::WifiPhyOperatingChannel
Class that keeps track of all information about the current PHY operating channel.
Definition
wifi-phy-operating-channel.h:62
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
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ofdm-ppdu.h
Declaration of ns3::OfdmPpdu class.
src
wifi
model
non-ht
erp-ofdm-ppdu.h
Generated on Fri Nov 8 2024 13:59:07 for ns-3 by
1.11.0