A Discrete-Event Network Simulator
API
wifi-mode.h File Reference
#include "wifi-phy-common.h"
#include "ns3/attribute-helper.h"
#include "ns3/callback.h"
#include <vector>
+ Include dependency graph for wifi-mode.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::WifiMode
 represent a single transmission modeA WifiMode is implemented by a single integer which is used to lookup in a global array the characteristics of the associated transmission mode. More...
 
class  ns3::WifiModeChecker
 
AttributeChecker implementation for WifiModeValue. More...
 
class  ns3::WifiModeFactory
 create WifiMode class instances and keep track of them. More...
 
struct  ns3::WifiModeFactory::WifiModeItem
 This is the data associated to a unique WifiMode. More...
 
class  ns3::WifiModeValue
 
AttributeValue implementation for WifiMode. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define SU_STA_ID   65535
 

Typedefs

typedef std::vector< WifiMode > ns3::WifiModeList
 In various parts of the code, folk are interested in maintaining a list of transmission modes. More...
 
typedef WifiModeList::const_iterator ns3::WifiModeListIterator
 An iterator for WifiModeList vector. More...
 

Enumerations

enum  ns3::WifiCodeRate {
  ns3::WIFI_CODE_RATE_UNDEFINED = 0, ns3::WIFI_CODE_RATE_1_2, ns3::WIFI_CODE_RATE_2_3, ns3::WIFI_CODE_RATE_3_4,
  ns3::WIFI_CODE_RATE_5_6
}
 This enumeration defines the various convolutional coding rates used for the OFDM transmission modes in the IEEE 802.11 standard. More...
 

Functions

template<typename T1 >
Ptr< const AttributeAccessor > ns3::MakeWifiModeAccessor (T1 a1)
 
Create an AttributeAccessor for a class data member, or a lone class get functor or set method. More...
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeWifiModeAccessor (T1 a1, T2 a2)
 
Create an AttributeAccessor using a pair of get functor and set methods from a class. More...
 
Ptr< const AttributeChecker > ns3::MakeWifiModeChecker (void)
 
More...
 
bool ns3::operator< (const WifiMode &a, const WifiMode &b)
 Compare two WifiModes. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const WifiMode &mode)
 Serialize WifiMode to ostream (human-readable). More...
 
bool ns3::operator== (const WifiMode &a, const WifiMode &b)
 Check if the two WifiModes are identical. More...
 
std::istream & ns3::operator>> (std::istream &is, WifiMode &mode)
 Serialize WifiMode from istream (human-readable). More...
 

Macro Definition Documentation

◆ SU_STA_ID