A Discrete-Event Network Simulator
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
21namespace ns3
22{
23
24class 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 */
33class 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 */
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 */
ERP-OFDM PPDU (11g)
Ptr< WifiPpdu > Copy() const override
Copy this instance.
void SetTxVectorFromLSigHeader(WifiTxVector &txVector, const LSigHeader &lSig) const override
Fill in the TXVECTOR from L-SIG header.
ErpOfdmPpdu(Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector, const WifiPhyOperatingChannel &channel, uint64_t uid)
Create an ERP-OFDM PPDU.
OFDM and ERP OFDM L-SIG PHY header.
Definition ofdm-ppdu.h:43
OFDM PPDU (11a)
Definition ofdm-ppdu.h:36
Smart pointer class similar to boost::intrusive_ptr.
Class that keeps track of all information about the current PHY operating channel.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Declaration of ns3::OfdmPpdu class.