Two Level Aggregation Test. More...
Public Member Functions | |
TwoLevelAggregationTest () | |
Public Member Functions inherited from ns3::TestCase | |
TestCase (const TestCase &)=delete | |
virtual | ~TestCase () |
Destructor. More... | |
std::string | GetName (void) const |
TestCase & | operator= (const TestCase &)=delete |
Private Member Functions | |
void | DoRun (void) override |
Implementation to actually run this TestCase. More... | |
Private Attributes | |
Ptr< WifiNetDevice > | m_device |
WifiNetDevice. More... | |
ObjectFactory | m_factory |
factory More... | |
Ptr< StaWifiMac > | m_mac |
Mac. More... | |
Ptr< WifiRemoteStationManager > | m_manager |
remote station manager More... | |
Ptr< YansWifiPhy > | m_phy |
Phy. More... | |
Additional Inherited Members | |
Public Types inherited from ns3::TestCase | |
enum | TestDuration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
Protected Member Functions inherited from ns3::TestCase | |
TestCase (std::string name) | |
Constructor. More... | |
void | AddTestCase (TestCase *testCase, TestDuration duration=QUICK) |
Add an individual child TestCase to this test suite. More... | |
TestCase * | GetParent () const |
Get the parent of this TestCsse. More... | |
bool | IsStatusFailure (void) const |
Check if any tests failed. More... | |
bool | IsStatusSuccess (void) const |
Check if all tests passed. More... | |
void | SetDataDir (std::string directory) |
Set the data directory where reference trace files can be found. More... | |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
Log the failure of this TestCase. More... | |
bool | MustAssertOnFailure (void) const |
Check if this run should assert on failure. More... | |
bool | MustContinueOnFailure (void) const |
Check if this run should continue on failure. More... | |
std::string | CreateDataDirFilename (std::string filename) |
Construct the full path to a file in the data directory. More... | |
std::string | CreateTempDirFilename (std::string filename) |
Construct the full path to a file in a temporary directory. More... | |
Two Level Aggregation Test.
Definition at line 323 of file wifi-aggregation-test.cc.
TwoLevelAggregationTest::TwoLevelAggregationTest | ( | ) |
Definition at line 337 of file wifi-aggregation-test.cc.
|
overrideprivatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 343 of file wifi-aggregation-test.cc.
References ns3::WifiRemoteStationManager::AddStationHtCapabilities(), ns3::ASSOCIATED, ns3::WifiTxParameters::Clear(), ns3::WifiMac::ConfigureStandard(), ns3::WifiPhy::ConfigureStandard(), ns3::ObjectFactory::Create(), ns3::Object::Dispose(), ns3::WifiMacHeader::GetAddr1(), ns3::QosTxop::GetBaManager(), ns3::WifiMac::GetBEQueue(), ns3::WifiRemoteStationManager::GetDataTxVector(), ns3::WifiMac::GetFrameExchangeManager(), ns3::QosTxop::GetNextMpdu(), ns3::WifiPsdu::GetSize(), ns3::MgtAddBaRequestHeader::GetTid(), ns3::MgtAddBaRequestHeader::GetTimeout(), ns3::Txop::GetTxopLimit(), ns3::WifiMac::GetVIQueue(), ns3::Txop::GetWifiMacQueue(), ns3::WifiMac::GetWifiRemoteStationManager(), ns3::MgtAddBaRequestHeader::IsAmsduSupported(), m_device, m_factory, m_mac, m_manager, m_phy, ns3::WifiTxParameters::m_txVector, Min, NS_TEST_EXPECT_MSG_EQ, ns3::QosTxop::PeekNextMpdu(), test-ns3::result, ns3::ObjectFactory::Set(), ns3::WifiMacHeader::SetAddr1(), ns3::WifiMacHeader::SetAddr2(), ns3::WifiMac::SetAddress(), ns3::MgtAddBaResponseHeader::SetAmsduSupport(), ns3::ObjectBase::SetAttribute(), ns3::MgtAddBaRequestHeader::SetBufferSize(), ns3::MgtAddBaResponseHeader::SetBufferSize(), ns3::WifiMac::SetDevice(), ns3::WifiPhy::SetDevice(), ns3::WifiNetDevice::SetHtConfiguration(), ns3::MgtAddBaRequestHeader::SetImmediateBlockAck(), ns3::MgtAddBaResponseHeader::SetImmediateBlockAck(), ns3::YansWifiPhy::SetInterferenceHelper(), ns3::WifiNetDevice::SetMac(), ns3::HtCapabilities::SetMaxAmpduLength(), ns3::HtCapabilities::SetMaxAmsduLength(), ns3::WifiNetDevice::SetPhy(), ns3::WifiMacHeader::SetQosTid(), ns3::WifiNetDevice::SetRemoteStationManager(), ns3::WifiNetDevice::SetStandard(), ns3::MgtAddBaRequestHeader::SetStartingSequence(), ns3::StaWifiMac::SetState(), ns3::MgtAddBaResponseHeader::SetStatusCode(), ns3::StatusCode::SetSuccess(), ns3::MgtAddBaRequestHeader::SetTid(), ns3::MgtAddBaResponseHeader::SetTid(), ns3::MgtAddBaRequestHeader::SetTimeout(), ns3::MgtAddBaResponseHeader::SetTimeout(), ns3::WifiMacHeader::SetType(), ns3::ObjectFactory::SetTypeId(), ns3::WifiRemoteStationManager::SetupPhy(), ns3::StaWifiMac::SetWifiPhy(), ns3::WifiMac::SetWifiRemoteStationManager(), ns3::WIFI_MAC_QOSDATA, and ns3::WIFI_STANDARD_80211n.
|
private |
|
private |
|
private |
|
private |
remote station manager
Definition at line 333 of file wifi-aggregation-test.cc.
Referenced by DoRun().
|
private |