A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
vht-frame-exchange-manager.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Universita' degli Studi di Napoli Federico II
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Stefano Avallone <stavallo@unina.it>
7 */
8
9#ifndef VHT_FRAME_EXCHANGE_MANAGER_H
10#define VHT_FRAME_EXCHANGE_MANAGER_H
11
12#include "ns3/ht-frame-exchange-manager.h"
13#include "ns3/wifi-export.h"
14
15namespace ns3
16{
17
18/**
19 * @ingroup wifi
20 *
21 * VhtFrameExchangeManager handles the frame exchange sequences
22 * for VHT stations.
23 */
25{
26 public:
27 /**
28 * @brief Get the type ID.
29 * @return the object TypeId
30 */
31 static TypeId GetTypeId();
33 ~VhtFrameExchangeManager() override;
34
35 Ptr<WifiPsdu> GetWifiPsdu(Ptr<WifiMpdu> mpdu, const WifiTxVector& txVector) const override;
36
37 protected:
38 uint32_t GetPsduSize(Ptr<const WifiMpdu> mpdu, const WifiTxVector& txVector) const override;
39};
40
41} // namespace ns3
42
43#endif /* VHT_FRAME_EXCHANGE_MANAGER_H */
Smart pointer class similar to boost::intrusive_ptr.
Definition ptr.h:70
a unique identifier for an interface.
Definition type-id.h:50
static TypeId GetTypeId()
Get the type ID.
Ptr< WifiPsdu > GetWifiPsdu(Ptr< WifiMpdu > mpdu, const WifiTxVector &txVector) const override
Get a PSDU containing the given MPDU.
uint32_t GetPsduSize(Ptr< const WifiMpdu > mpdu, const WifiTxVector &txVector) const override
Get the size in bytes of the given MPDU, which is to be transmitted with the given TXVECTOR.
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.