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
wifi-standards.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2007 INRIA
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
7
*/
8
9
#include "
wifi-standards.h
"
10
11
namespace
ns3
12
{
13
14
const
std::map<WifiStandard, std::list<WifiPhyBand>>
wifiStandards
= {
15
{
WIFI_STANDARD_80211a
, {
WIFI_PHY_BAND_5GHZ
}},
16
{
WIFI_STANDARD_80211b
, {
WIFI_PHY_BAND_2_4GHZ
}},
17
{
WIFI_STANDARD_80211g
, {
WIFI_PHY_BAND_2_4GHZ
}},
18
{
WIFI_STANDARD_80211p
, {
WIFI_PHY_BAND_5GHZ
}},
19
{
WIFI_STANDARD_80211n
, {
WIFI_PHY_BAND_2_4GHZ
,
WIFI_PHY_BAND_5GHZ
}},
20
{
WIFI_STANDARD_80211ac
, {
WIFI_PHY_BAND_5GHZ
}},
21
{
WIFI_STANDARD_80211ad
, {
WIFI_PHY_BAND_60GHZ
}},
22
{
WIFI_STANDARD_80211ax
, {
WIFI_PHY_BAND_2_4GHZ
,
WIFI_PHY_BAND_5GHZ
,
WIFI_PHY_BAND_6GHZ
}},
23
{
WIFI_STANDARD_80211be
, {
WIFI_PHY_BAND_2_4GHZ
,
WIFI_PHY_BAND_5GHZ
,
WIFI_PHY_BAND_6GHZ
}},
24
};
25
26
}
// namespace ns3
ns3::WIFI_STANDARD_80211a
@ WIFI_STANDARD_80211a
Definition
wifi-standards.h:31
ns3::WIFI_STANDARD_80211ad
@ WIFI_STANDARD_80211ad
Definition
wifi-standards.h:37
ns3::WIFI_STANDARD_80211p
@ WIFI_STANDARD_80211p
Definition
wifi-standards.h:34
ns3::WIFI_STANDARD_80211be
@ WIFI_STANDARD_80211be
Definition
wifi-standards.h:39
ns3::WIFI_STANDARD_80211n
@ WIFI_STANDARD_80211n
Definition
wifi-standards.h:35
ns3::WIFI_STANDARD_80211g
@ WIFI_STANDARD_80211g
Definition
wifi-standards.h:33
ns3::WIFI_STANDARD_80211ax
@ WIFI_STANDARD_80211ax
Definition
wifi-standards.h:38
ns3::WIFI_STANDARD_80211ac
@ WIFI_STANDARD_80211ac
Definition
wifi-standards.h:36
ns3::WIFI_STANDARD_80211b
@ WIFI_STANDARD_80211b
Definition
wifi-standards.h:32
ns3::WIFI_PHY_BAND_6GHZ
@ WIFI_PHY_BAND_6GHZ
The 6 GHz band.
Definition
wifi-phy-band.h:28
ns3::WIFI_PHY_BAND_2_4GHZ
@ WIFI_PHY_BAND_2_4GHZ
The 2.4 GHz band.
Definition
wifi-phy-band.h:24
ns3::WIFI_PHY_BAND_60GHZ
@ WIFI_PHY_BAND_60GHZ
The 60 GHz band.
Definition
wifi-phy-band.h:30
ns3::WIFI_PHY_BAND_5GHZ
@ WIFI_PHY_BAND_5GHZ
The 5 GHz band.
Definition
wifi-phy-band.h:26
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::wifiStandards
const std::map< WifiStandard, std::list< WifiPhyBand > > wifiStandards
map a given standard configured by the user to the allowed PHY bands
Definition
wifi-standards.cc:14
wifi-standards.h
src
wifi
model
wifi-standards.cc
Generated on Fri Nov 8 2024 13:59:08 for ns-3 by
1.11.0