A Discrete-Event Network Simulator
API
AmpduAggregationTest Class Reference

Ampdu Aggregation Test. More...

+ Inheritance diagram for AmpduAggregationTest:
+ Collaboration diagram for AmpduAggregationTest:

Public Member Functions

 AmpduAggregationTest ()
 
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName (void) const
 

Private Member Functions

virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 

Private Attributes

Ptr< DcfManagerm_dcfManager
 DCF manager. More...
 
Ptr< EdcaTxopNm_edca
 EDCA. More...
 
ObjectFactory m_factory
 factory More...
 
Ptr< MacLowm_low
 MacLow. More...
 
Ptr< WifiRemoteStationManagerm_manager
 remote station manager More...
 
Ptr< MpduAggregatorm_mpduAggregator
 A-MPDU aggregrator. More...
 
Ptr< YansWifiPhym_phy
 Phy. More...
 
Ptr< MacTxMiddlem_txMiddle
 MacTxMiddle. 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...
 
TestCaseGetParent () 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...
 

Detailed Description

Ampdu Aggregation Test.

Definition at line 41 of file wifi-aggregation-test.cc.

Constructor & Destructor Documentation

AmpduAggregationTest::AmpduAggregationTest ( )

Definition at line 58 of file wifi-aggregation-test.cc.

Member Function Documentation

void AmpduAggregationTest::DoRun ( void  )
privatevirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Implements ns3::TestCase.

Definition at line 64 of file wifi-aggregation-test.cc.

References ns3::AC_BE, ns3::EdcaTxopN::CompleteConfig(), ns3::WifiPhy::ConfigureStandard(), ns3::Packet::Copy(), ns3::ObjectFactory::Create(), ns3::Object::Dispose(), ns3::MacLow::GetDataTxVector(), ns3::MacTxMiddle::GetNextSequenceNumberFor(), ns3::DcaTxop::GetQueue(), ns3::WifiMacHeader::GetSequenceNumber(), ns3::Packet::GetSize(), ns3::MacLow::IsAmpdu(), ns3::MacLow::m_aggregateQueue, ns3::EdcaTxopN::m_baManager, ns3::DcaTxop::m_currentHdr, ns3::MacLow::m_currentHdr, ns3::DcaTxop::m_currentPacket, ns3::MacLow::m_currentPacket, ns3::MacLow::m_currentTxVector, m_dcfManager, m_edca, m_factory, m_low, m_manager, m_mpduAggregator, m_phy, m_txMiddle, ns3::MicroSeconds(), ns3::EdcaTxopN::MissedAck(), NS_TEST_EXPECT_MSG_EQ, ns3::ObjectFactory::Set(), ns3::EdcaTxopN::SetAccessCategory(), ns3::WifiMacHeader::SetAddr1(), ns3::MacLow::SetAddress(), ns3::MgtAddBaRequestHeader::SetBufferSize(), ns3::WifiRemoteStationManager::SetHtSupported(), ns3::MgtAddBaRequestHeader::SetImmediateBlockAck(), ns3::DcaTxop::SetLow(), ns3::DcaTxop::SetManager(), ns3::WifiRemoteStationManager::SetMaxSlrc(), ns3::EdcaTxopN::SetMpduAggregator(), ns3::MacLow::SetPhy(), ns3::WifiMacHeader::SetSequenceNumber(), ns3::DcfManager::SetSlot(), ns3::MgtAddBaRequestHeader::SetStartingSequence(), ns3::MgtAddBaRequestHeader::SetTid(), ns3::MgtAddBaRequestHeader::SetTimeout(), ns3::DcaTxop::SetTxMiddle(), ns3::ObjectFactory::SetTypeId(), ns3::DcfManager::SetupLow(), ns3::WifiRemoteStationManager::SetupPhy(), ns3::DcfManager::SetupPhyListener(), ns3::EdcaTxopN::SetWifiRemoteStationManager(), ns3::MacLow::SetWifiRemoteStationManager(), ns3::WIFI_MAC_DATA, ns3::WIFI_MAC_QOSDATA, and ns3::WIFI_PHY_STANDARD_80211n_5GHZ.

+ Here is the call graph for this function:

Member Data Documentation

Ptr<DcfManager> AmpduAggregationTest::m_dcfManager
private

DCF manager.

Definition at line 55 of file wifi-aggregation-test.cc.

Referenced by DoRun().

Ptr<EdcaTxopN> AmpduAggregationTest::m_edca
private

EDCA.

Definition at line 50 of file wifi-aggregation-test.cc.

Referenced by DoRun().

ObjectFactory AmpduAggregationTest::m_factory
private

factory

Definition at line 53 of file wifi-aggregation-test.cc.

Referenced by DoRun().

Ptr<MacLow> AmpduAggregationTest::m_low
private

MacLow.

Definition at line 48 of file wifi-aggregation-test.cc.

Referenced by DoRun().

Ptr<WifiRemoteStationManager> AmpduAggregationTest::m_manager
private

remote station manager

Definition at line 52 of file wifi-aggregation-test.cc.

Referenced by DoRun().

Ptr<MpduAggregator> AmpduAggregationTest::m_mpduAggregator
private

A-MPDU aggregrator.

Definition at line 54 of file wifi-aggregation-test.cc.

Referenced by DoRun().

Ptr<YansWifiPhy> AmpduAggregationTest::m_phy
private

Phy.

Definition at line 49 of file wifi-aggregation-test.cc.

Referenced by DoRun().

Ptr<MacTxMiddle> AmpduAggregationTest::m_txMiddle
private

MacTxMiddle.

Definition at line 51 of file wifi-aggregation-test.cc.

Referenced by DoRun().


The documentation for this class was generated from the following file: