diff -r 2f8e35b43d11 -r 17a71cd49da3 src/wifi/helper/ht-wifi-mac-helper.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/wifi/helper/ht-wifi-mac-helper.h Tue Aug 13 22:05:25 2013 -0700 @@ -0,0 +1,60 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2009 MIRKO BANCHI + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Ghada Badawy + */ +#ifndef HT_WIFI_MAC_HELPER_H +#define HT_WIFI_MAC_HELPER_H + +#include "wifi-helper.h" +#include "ns3/qos-utils.h" +#include "qos-wifi-mac-helper.h" +#include + +namespace ns3 { + +/** + * \brief create HT-enabled MAC layers for a ns3::WifiNetDevice. + * + * This class can create MACs of type ns3::ApWifiMac, ns3::StaWifiMac, + * and, ns3::AdhocWifiMac, with QosSupported and HTSupported attributes set to True. + */ +class HtWifiMacHelper : public QosWifiMacHelper +{ +public: + /** + * Create a QosWifiMacHelper that is used to make life easier when working + * with Wifi devices using a QOS MAC layer. + */ + HtWifiMacHelper (); + + /** + * \internal + * Destroy a HtWifiMacHelper + */ + virtual ~HtWifiMacHelper (); + + /** + * Create a mac helper in a default working state. + */ + static HtWifiMacHelper Default (void); + + }; + +} // namespace ns3 + +#endif /* HT_WIFI_MAC_HELPER_H */