A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-types.h File Reference
#include "wifi-units.h"
#include "ns3/fatal-error.h"
#include <compare>
#include <map>
#include <ostream>
+ Include dependency graph for wifi-types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::MpduInfo
 MpduInfo structure. More...
 
struct  ns3::RxSignalInfo
 RxSignalInfo structure containing info on the received signal. More...
 
struct  ns3::SignalNoiseDbm
 SignalNoiseDbm structure. More...
 

Namespaces

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

Typedefs

using ns3::BwTonesPair = std::pair<MHz_u, RuType>
 (bandwidth, number of tones) pair
 
using ns3::SubcarrierGroup = std::vector<SubcarrierRange>
 a vector of subcarrier ranges defining a subcarrier group
 
using ns3::SubcarrierGroups = std::map<BwTonesPair, std::vector<SubcarrierGroup>>
 map (bandwidth, number of tones) pairs to the group of subcarrier ranges
 
using ns3::SubcarrierRange = std::pair<int16_t, int16_t>
 (lowest index, highest index) pair defining a subcarrier range
 

Enumerations

enum class  ns3::FrequencyChannelType : uint8_t { ns3::FrequencyChannelType::DSSS = 0 , ns3::FrequencyChannelType::OFDM , ns3::FrequencyChannelType::CH_80211P }
 Enumeration of frequency channel types. More...
 
enum  ns3::MpduType {
  ns3::NORMAL_MPDU , ns3::SINGLE_MPDU , ns3::FIRST_MPDU_IN_AGGREGATE , ns3::MIDDLE_MPDU_IN_AGGREGATE ,
  ns3::LAST_MPDU_IN_AGGREGATE
}
 The type of an MPDU. More...
 
enum class  ns3::RuType : uint8_t {
  ns3::RU_26_TONE = 0 , ns3::RU_52_TONE , ns3::RU_106_TONE , ns3::RU_242_TONE ,
  ns3::RU_484_TONE , ns3::RU_996_TONE , ns3::RU_2x996_TONE , ns3::RU_4x996_TONE ,
  ns3::RU_TYPE_MAX
}
 The different Resource Unit (RU) types. More...
 
enum class  ns3::WifiChannelWidthType : uint8_t {
  ns3::WifiChannelWidthType::UNKNOWN = 0 , ns3::WifiChannelWidthType::CW_20MHZ , ns3::WifiChannelWidthType::CW_22MHZ , ns3::WifiChannelWidthType::CW_5MHZ ,
  ns3::WifiChannelWidthType::CW_10MHZ , ns3::WifiChannelWidthType::CW_40MHZ , ns3::WifiChannelWidthType::CW_80MHZ , ns3::WifiChannelWidthType::CW_160MHZ ,
  ns3::WifiChannelWidthType::CW_80_PLUS_80MHZ , ns3::WifiChannelWidthType::CW_2160MHZ , ns3::WifiChannelWidthType::MAX
}
 Enumeration of the possible channel widths. More...
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, const RuType &ruType)
 Stream insertion operator.