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
* 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
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
18
*/
19
20
#include "
wifi-standards.h
"
21
22
namespace
ns3
23
{
24
25
const
std::map<WifiStandard, std::list<WifiPhyBand>>
wifiStandards
= {
26
{
WIFI_STANDARD_80211a
, {
WIFI_PHY_BAND_5GHZ
}},
27
{
WIFI_STANDARD_80211b
, {
WIFI_PHY_BAND_2_4GHZ
}},
28
{
WIFI_STANDARD_80211g
, {
WIFI_PHY_BAND_2_4GHZ
}},
29
{
WIFI_STANDARD_80211p
, {
WIFI_PHY_BAND_5GHZ
}},
30
{
WIFI_STANDARD_80211n
, {
WIFI_PHY_BAND_2_4GHZ
,
WIFI_PHY_BAND_5GHZ
}},
31
{
WIFI_STANDARD_80211ac
, {
WIFI_PHY_BAND_5GHZ
}},
32
{
WIFI_STANDARD_80211ad
, {
WIFI_PHY_BAND_60GHZ
}},
33
{
WIFI_STANDARD_80211ax
, {
WIFI_PHY_BAND_2_4GHZ
,
WIFI_PHY_BAND_5GHZ
,
WIFI_PHY_BAND_6GHZ
}},
34
{
WIFI_STANDARD_80211be
, {
WIFI_PHY_BAND_2_4GHZ
,
WIFI_PHY_BAND_5GHZ
,
WIFI_PHY_BAND_6GHZ
}},
35
};
36
37
}
// namespace ns3
ns3::WIFI_STANDARD_80211a
@ WIFI_STANDARD_80211a
Definition:
wifi-standards.h:40
ns3::WIFI_STANDARD_80211ad
@ WIFI_STANDARD_80211ad
Definition:
wifi-standards.h:46
ns3::WIFI_STANDARD_80211p
@ WIFI_STANDARD_80211p
Definition:
wifi-standards.h:43
ns3::WIFI_STANDARD_80211be
@ WIFI_STANDARD_80211be
Definition:
wifi-standards.h:48
ns3::WIFI_STANDARD_80211n
@ WIFI_STANDARD_80211n
Definition:
wifi-standards.h:44
ns3::WIFI_STANDARD_80211g
@ WIFI_STANDARD_80211g
Definition:
wifi-standards.h:42
ns3::WIFI_STANDARD_80211ax
@ WIFI_STANDARD_80211ax
Definition:
wifi-standards.h:47
ns3::WIFI_STANDARD_80211ac
@ WIFI_STANDARD_80211ac
Definition:
wifi-standards.h:45
ns3::WIFI_STANDARD_80211b
@ WIFI_STANDARD_80211b
Definition:
wifi-standards.h:41
ns3::WIFI_PHY_BAND_6GHZ
@ WIFI_PHY_BAND_6GHZ
The 6 GHz band.
Definition:
wifi-phy-band.h:39
ns3::WIFI_PHY_BAND_2_4GHZ
@ WIFI_PHY_BAND_2_4GHZ
The 2.4 GHz band.
Definition:
wifi-phy-band.h:35
ns3::WIFI_PHY_BAND_60GHZ
@ WIFI_PHY_BAND_60GHZ
The 60 GHz band.
Definition:
wifi-phy-band.h:41
ns3::WIFI_PHY_BAND_5GHZ
@ WIFI_PHY_BAND_5GHZ
The 5 GHz band.
Definition:
wifi-phy-band.h:37
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:25
wifi-standards.h
src
wifi
model
wifi-standards.cc
Generated on Tue May 28 2024 23:40:44 for ns-3 by
1.9.6