10139
|
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 |
#ifndef HT_WIFI_MAC_HELPER_H
|
|
21 |
#define HT_WIFI_MAC_HELPER_H
|
|
22 |
|
|
23 |
#include "wifi-helper.h"
|
|
24 |
#include "ns3/qos-utils.h"
|
|
25 |
#include "qos-wifi-mac-helper.h"
|
|
26 |
#include <map>
|
|
27 |
|
|
28 |
namespace ns3 {
|
|
29 |
|
|
30 |
/**
|
|
31 |
* \brief create HT-enabled MAC layers for a ns3::WifiNetDevice.
|
|
32 |
*
|
|
33 |
* This class can create MACs of type ns3::ApWifiMac, ns3::StaWifiMac,
|
|
34 |
* and, ns3::AdhocWifiMac, with QosSupported and HTSupported attributes set to True.
|
|
35 |
*/
|
|
36 |
class HtWifiMacHelper : public QosWifiMacHelper
|
|
37 |
{
|
|
38 |
public:
|
|
39 |
/**
|
|
40 |
* Create a QosWifiMacHelper that is used to make life easier when working
|
|
41 |
* with Wifi devices using a QOS MAC layer.
|
|
42 |
*/
|
|
43 |
HtWifiMacHelper ();
|
|
44 |
|
|
45 |
/**
|
|
46 |
* \internal
|
|
47 |
* Destroy a HtWifiMacHelper
|
|
48 |
*/
|
|
49 |
virtual ~HtWifiMacHelper ();
|
|
50 |
|
|
51 |
/**
|
|
52 |
* Create a mac helper in a default working state.
|
|
53 |
*/
|
|
54 |
static HtWifiMacHelper Default (void);
|
|
55 |
|
|
56 |
};
|
|
57 |
|
|
58 |
} // namespace ns3
|
|
59 |
|
|
60 |
#endif /* HT_WIFI_MAC_HELPER_H */
|