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
eht-configuration.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
* Authors: Sébastien Deronne <sebastien.deronne@gmail.com>
18
* Stefano Avallone <stavallo@unina.it>
19
*/
20
21
#ifndef EHT_CONFIGURATION_H
22
#define EHT_CONFIGURATION_H
23
24
#include "ns3/nstime.h"
25
#include "ns3/object.h"
26
#include "ns3/wifi-utils.h"
27
28
#include <list>
29
#include <map>
30
31
namespace
ns3
32
{
33
37
enum
WifiTidToLinkMappingNegSupport
: uint8_t
38
{
39
WIFI_TID_TO_LINK_MAPPING_NOT_SUPPORTED
= 0,
40
WIFI_TID_TO_LINK_MAPPING_SAME_LINK_SET
= 1,
41
WIFI_TID_TO_LINK_MAPPING_ANY_LINK_SET
= 3
42
};
43
52
class
EhtConfiguration
:
public
Object
53
{
54
public
:
55
EhtConfiguration
();
56
~EhtConfiguration
()
override
;
57
62
static
TypeId
GetTypeId
();
63
68
WifiTidLinkMapping
GetTidLinkMapping
(
WifiDirection
dir
)
const
;
69
76
void
SetTidLinkMapping
(
WifiDirection
dir
,
77
const
std::map<std::list<uint8_t>, std::list<uint8_t>>& mapping);
78
79
private
:
80
bool
m_emlsrActivated
;
81
Time
m_transitionTimeout
;
82
WifiTidToLinkMappingNegSupport
83
m_tidLinkMappingSupport
;
84
std::map<std::list<uint64_t>, std::list<uint64_t>>
85
m_linkMappingDl
;
86
std::map<std::list<uint64_t>, std::list<uint64_t>>
87
m_linkMappingUl
;
88
};
89
90
}
// namespace ns3
91
92
#endif
/* EHT_CONFIGURATION_H */
ns3::EhtConfiguration
EHT configuration.
Definition:
eht-configuration.h:53
ns3::EhtConfiguration::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
eht-configuration.cc:49
ns3::EhtConfiguration::m_emlsrActivated
bool m_emlsrActivated
whether EMLSR option is activated
Definition:
eht-configuration.h:80
ns3::EhtConfiguration::EhtConfiguration
EhtConfiguration()
Definition:
eht-configuration.cc:38
ns3::EhtConfiguration::GetTidLinkMapping
WifiTidLinkMapping GetTidLinkMapping(WifiDirection dir) const
Definition:
eht-configuration.cc:143
ns3::EhtConfiguration::m_transitionTimeout
Time m_transitionTimeout
Transition timeout.
Definition:
eht-configuration.h:81
ns3::EhtConfiguration::m_linkMappingDl
std::map< std::list< uint64_t >, std::list< uint64_t > > m_linkMappingDl
TIDs-indexed Link Mapping for downlink.
Definition:
eht-configuration.h:85
ns3::EhtConfiguration::SetTidLinkMapping
void SetTidLinkMapping(WifiDirection dir, const std::map< std::list< uint8_t >, std::list< uint8_t > > &mapping)
Set the TID-to-Link mapping for the given direction.
Definition:
eht-configuration.cc:160
ns3::EhtConfiguration::m_tidLinkMappingSupport
WifiTidToLinkMappingNegSupport m_tidLinkMappingSupport
TID-to-Link Mapping Negotiation Support.
Definition:
eht-configuration.h:83
ns3::EhtConfiguration::m_linkMappingUl
std::map< std::list< uint64_t >, std::list< uint64_t > > m_linkMappingUl
TIDs-indexed Link Mapping for uplink.
Definition:
eht-configuration.h:87
ns3::EhtConfiguration::~EhtConfiguration
~EhtConfiguration() override
Definition:
eht-configuration.cc:43
ns3::Object
A base class which provides memory management and object aggregation.
Definition:
object.h:89
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition:
nstime.h:105
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::WifiTidToLinkMappingNegSupport
WifiTidToLinkMappingNegSupport
TID-to-Link Mapping Negotiation Support.
Definition:
eht-configuration.h:38
ns3::WIFI_TID_TO_LINK_MAPPING_SAME_LINK_SET
@ WIFI_TID_TO_LINK_MAPPING_SAME_LINK_SET
Definition:
eht-configuration.h:40
ns3::WIFI_TID_TO_LINK_MAPPING_NOT_SUPPORTED
@ WIFI_TID_TO_LINK_MAPPING_NOT_SUPPORTED
Definition:
eht-configuration.h:39
ns3::WIFI_TID_TO_LINK_MAPPING_ANY_LINK_SET
@ WIFI_TID_TO_LINK_MAPPING_ANY_LINK_SET
Definition:
eht-configuration.h:41
ns3::WifiDirection
WifiDirection
Wifi direction.
Definition:
wifi-utils.h:43
ns3::WifiTidLinkMapping
std::map< uint8_t, std::set< uint8_t > > WifiTidLinkMapping
TID-indexed map of the link set to which the TID is mapped.
Definition:
wifi-utils.h:74
dir
std::string dir
Definition:
tcp-bbr-example.cc:65
src
wifi
model
eht
eht-configuration.h
Generated on Wed Sep 27 2023 18:44:41 for ns-3 by
1.9.6