This documentation is not the
Latest Release
.
A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ht-wifi-mac-helper.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2009 MIRKO BANCHI
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: Ghada Badawy <gbadawy@gmail.com>
19
*/
20
21
#ifndef HT_WIFI_MAC_HELPER_H
22
#define HT_WIFI_MAC_HELPER_H
23
24
#include "ns3/string.h"
25
#include "
wifi-helper.h
"
26
#include "ns3/qos-utils.h"
27
#include "
qos-wifi-mac-helper.h
"
28
#include <map>
29
30
namespace
ns3
{
31
38
class
HtWifiMacHelper
:
public
QosWifiMacHelper
39
{
40
public
:
45
HtWifiMacHelper
();
46
50
virtual
~HtWifiMacHelper
();
51
55
static
HtWifiMacHelper
Default
(
void
);
56
60
static
StringValue
DataRateForMcs
(
int
mcs);
61
};
62
63
}
//namespace ns3
64
65
#endif
/* HT_WIFI_MAC_HELPER_H */
ns3::HtWifiMacHelper
create HT-enabled MAC layers for a ns3::WifiNetDevice.
Definition:
ht-wifi-mac-helper.h:38
ns3::HtWifiMacHelper::DataRateForMcs
static StringValue DataRateForMcs(int mcs)
Converts a HT MCS value into a DataRate value.
Definition:
ht-wifi-mac-helper.cc:51
ns3::HtWifiMacHelper::~HtWifiMacHelper
virtual ~HtWifiMacHelper()
Destroy a HtWifiMacHelper.
Definition:
ht-wifi-mac-helper.cc:34
ns3::StringValue
Hold variables of type string.
Definition:
string.h:41
wifi-helper.h
ns3::HtWifiMacHelper::Default
static HtWifiMacHelper Default(void)
Create a mac helper in a default working state.
Definition:
ht-wifi-mac-helper.cc:39
qos-wifi-mac-helper.h
ns3::HtWifiMacHelper::HtWifiMacHelper
HtWifiMacHelper()
Create a HtWifiMacHelper that is used to make life easier when working with Wifi devices using a QOS ...
Definition:
ht-wifi-mac-helper.cc:30
ns3::QosWifiMacHelper
create QoS-enabled MAC layers for a ns3::WifiNetDevice.
Definition:
qos-wifi-mac-helper.h:37
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
wifi
helper
ht-wifi-mac-helper.h
Generated on Wed Nov 11 2015 20:00:50 for ns-3 by
1.8.9.1