A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-gcr-test.cc File Reference
#include "wifi-gcr-test.h"
#include "ns3/ampdu-subframe-header.h"
#include "ns3/attribute-container.h"
#include "ns3/boolean.h"
#include "ns3/config.h"
#include "ns3/ctrl-headers.h"
#include "ns3/he-configuration.h"
#include "ns3/ht-configuration.h"
#include "ns3/ideal-wifi-manager.h"
#include "ns3/log.h"
#include "ns3/mac48-address.h"
#include "ns3/mgt-action-headers.h"
#include "ns3/mgt-headers.h"
#include "ns3/mobility-helper.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/node-list.h"
#include "ns3/packet-socket-client.h"
#include "ns3/packet-socket-helper.h"
#include "ns3/packet-socket-server.h"
#include "ns3/pointer.h"
#include "ns3/qos-txop.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/rr-multi-user-scheduler.h"
#include "ns3/simulator.h"
#include "ns3/spectrum-wifi-helper.h"
#include "ns3/spectrum-wifi-phy.h"
#include "ns3/string.h"
#include "ns3/vht-configuration.h"
#include "ns3/wifi-net-device.h"
#include "ns3/wifi-ppdu.h"
#include "ns3/wifi-psdu.h"
#include "ns3/yans-wifi-helper.h"
#include "ns3/yans-wifi-phy.h"
#include <algorithm>
#include <functional>
#include <iomanip>
#include <iterator>
#include <limits>
#include <numeric>
+ Include dependency graph for wifi-gcr-test.cc:

Go to the source code of this file.

Classes

class  IdealWifiManagerForGcrTest
 Extended IdealWifiManager class for the purpose of the tests. More...
 

Namespaces

namespace  anonymous_namespace{wifi-gcr-test.cc}
 

Functions

uint32_t anonymous_namespace{wifi-gcr-test.cc}::ConvertContextToNodeId (const std::string &context)
 Get the node ID from the context string.
 
uint16_t anonymous_namespace{wifi-gcr-test.cc}::GetGcrMaxNumMpdus (uint16_t maxNumMpdus, const std::vector< GcrTestBase::StaInfo > &stas)
 Get the maximum number of groupcast MPDUs that can be in flight.
 
std::size_t anonymous_namespace{wifi-gcr-test.cc}::GetNumGcrStas (const std::vector< GcrTestBase::StaInfo > &stas)
 Get the number of GCR STAs.
 
std::size_t anonymous_namespace{wifi-gcr-test.cc}::GetNumNonGcrStas (const std::vector< GcrTestBase::StaInfo > &stas)
 Get the number of non-GCR STAs.
 
std::size_t anonymous_namespace{wifi-gcr-test.cc}::GetNumNonHtStas (const std::vector< GcrTestBase::StaInfo > &stas)
 Get the number of non-HT STAs.
 

Variables

static WifiGcrTestSuite g_wifiGcrTestSuite
 the test suite
 
constexpr bool anonymous_namespace{wifi-gcr-test.cc}::GCR_CAPABLE_STA {true}
 STA that is GCR capable.
 
constexpr bool anonymous_namespace{wifi-gcr-test.cc}::GCR_INCAPABLE_STA {false}
 STA that is not GCR capable.
 
constexpr uint32_t anonymous_namespace{wifi-gcr-test.cc}::maxRtsCtsThreshold {4692480}
 maximum value for RTS/CTS threshold
 
constexpr uint16_t anonymous_namespace{wifi-gcr-test.cc}::MULTICAST_PROTOCOL {1}
 protocol to create socket for multicast
 
auto anonymous_namespace{wifi-gcr-test.cc}::printStasInfo
 Lambda to print stations information.
 
constexpr uint16_t anonymous_namespace{wifi-gcr-test.cc}::UNICAST_PROTOCOL {2}
 protocol to create socket for unicast
 

Variable Documentation

◆ g_wifiGcrTestSuite

WifiGcrTestSuite g_wifiGcrTestSuite
static

the test suite

Definition at line 2571 of file wifi-gcr-test.cc.