Common parameters for GCR tests. More...
#include "wifi-gcr-test.h"
Public Attributes | |
std::set< uint8_t > | addbaReqsToCorrupt {} |
list of GCR ADDBA requests (starting from 1) to corrupt | |
std::set< uint8_t > | addbaRespsToCorrupt {} |
list of GCR ADDBA responses (starting from 1) to corrupt | |
uint16_t | baInactivityTimeout {0} |
max time (blocks of 1024 microseconds) allowed for block ack inactivity | |
std::set< uint8_t > | ctsFramesToCorrupt {} |
list of CTS frames (starting from 1) to corrupt | |
Time | duration |
the duration of the simulation for the test run (2 seconds by default) | |
std::set< uint8_t > | expectedDroppedGroupcastMpdus {} |
list of groupcast MPDUs that are expected to be dropped because of lifetime expiry (starting from 1) | |
GroupcastProtectionMode | gcrProtectionMode |
the protection mode to use | |
Time | maxLifetime {MilliSeconds(500)} |
the maximum MSDU lifetime | |
uint16_t | maxNumMpdusInPsdu {0} |
maximum number of MPDUs in PSDUs | |
std::map< uint8_t, std::map< uint8_t, std::set< uint8_t > > > | mpdusToCorruptPerPsdu {} |
list of MPDUs (starting from 1) to corrupt per PSDU (starting from 1) | |
uint16_t | numGroupcastPackets {0} |
number of groupcast packets to generate | |
uint16_t | numUnicastPackets {0} |
number of unicast packets to generate | |
uint32_t | packetSize {1000} |
the size in bytes of the packets to generate | |
std::set< uint8_t > | rtsFramesToCorrupt {} |
list of RTS frames (starting from 1) to corrupt | |
uint32_t | rtsThreshold {} |
the RTS threshold in bytes | |
Time | startGroupcast {Seconds(1.0)} |
time to start groupcast packets generation | |
Time | startUnicast {} |
time to start unicast packets generation | |
std::vector< StaInfo > | stas {} |
information about STAs | |
Time | txopLimit {} |
the TXOP limit duration | |
Common parameters for GCR tests.
Definition at line 76 of file wifi-gcr-test.h.
std::set<uint8_t> GcrTestBase::GcrParameters::addbaReqsToCorrupt {} |
list of GCR ADDBA requests (starting from 1) to corrupt
Definition at line 95 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), and GcrTestBase::Transmit().
std::set<uint8_t> GcrTestBase::GcrParameters::addbaRespsToCorrupt {} |
list of GCR ADDBA responses (starting from 1) to corrupt
Definition at line 97 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), and GcrTestBase::Transmit().
uint16_t GcrTestBase::GcrParameters::baInactivityTimeout {0} |
max time (blocks of 1024 microseconds) allowed for block ack inactivity
Definition at line 101 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), and GcrTestBase::DoSetup().
std::set<uint8_t> GcrTestBase::GcrParameters::ctsFramesToCorrupt {} |
list of CTS frames (starting from 1) to corrupt
Definition at line 93 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), GcrBaTest::PacketGenerated(), and GcrTestBase::Transmit().
Time GcrTestBase::GcrParameters::duration |
the duration of the simulation for the test run (2 seconds by default)
Definition at line 104 of file wifi-gcr-test.h.
Referenced by GcrTestBase::DoRun(), and GcrTestBase::DoSetup().
std::set<uint8_t> GcrTestBase::GcrParameters::expectedDroppedGroupcastMpdus {} |
list of groupcast MPDUs that are expected to be dropped because of lifetime expiry (starting from 1)
Definition at line 98 of file wifi-gcr-test.h.
Referenced by GcrBaTest::CheckResults(), GcrUrTest::CheckResults(), and GcrBaTest::Transmit().
GroupcastProtectionMode GcrTestBase::GcrParameters::gcrProtectionMode |
the protection mode to use
Definition at line 87 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), GcrBaTest::ConfigureGcrManager(), and GcrUrTest::ConfigureGcrManager().
Time GcrTestBase::GcrParameters::maxLifetime {MilliSeconds(500)} |
the maximum MSDU lifetime
Definition at line 85 of file wifi-gcr-test.h.
Referenced by GcrTestBase::DoSetup().
uint16_t GcrTestBase::GcrParameters::maxNumMpdusInPsdu {0} |
maximum number of MPDUs in PSDUs
Definition at line 82 of file wifi-gcr-test.h.
Referenced by GcrTestBase::GcrTestBase(), GcrBaTest::CheckResults(), GcrTestBase::CheckResults(), GcrUrTest::CheckResults(), GcrTestBase::DoSetup(), GcrTestBase::IsUsingAmpduOrSmpdu(), GcrUrTest::IsUsingAmpduOrSmpdu(), and GcrUrTest::Transmit().
std::map<uint8_t, std::map<uint8_t, std::set<uint8_t> > > GcrTestBase::GcrParameters::mpdusToCorruptPerPsdu {} |
list of MPDUs (starting from 1) to corrupt per PSDU (starting from 1)
Definition at line 90 of file wifi-gcr-test.h.
Referenced by GcrBaTest::CheckResults(), GcrUrTest::CheckResults(), GcrBaTest::Transmit(), and GcrTestBase::Transmit().
uint16_t GcrTestBase::GcrParameters::numGroupcastPackets {0} |
number of groupcast packets to generate
Definition at line 79 of file wifi-gcr-test.h.
Referenced by GcrBaTest::CheckResults(), GcrTestBase::CheckResults(), GcrUrTest::CheckResults(), GcrTestBase::DoSetup(), GcrBaTest::Transmit(), and GcrUrTest::Transmit().
uint16_t GcrTestBase::GcrParameters::numUnicastPackets {0} |
number of unicast packets to generate
Definition at line 80 of file wifi-gcr-test.h.
Referenced by GcrBaTest::CheckResults(), GcrTestBase::CheckResults(), GcrTestBase::DoSetup(), GcrBaTest::Transmit(), and GcrTestBase::Transmit().
uint32_t GcrTestBase::GcrParameters::packetSize {1000} |
the size in bytes of the packets to generate
Definition at line 81 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), GcrTestBase::DoSetup(), and GcrTestBase::PhyRx().
std::set<uint8_t> GcrTestBase::GcrParameters::rtsFramesToCorrupt {} |
list of RTS frames (starting from 1) to corrupt
Definition at line 92 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), GcrBaTest::PacketGenerated(), and GcrTestBase::Transmit().
uint32_t GcrTestBase::GcrParameters::rtsThreshold {} |
the RTS threshold in bytes
Definition at line 86 of file wifi-gcr-test.h.
Referenced by GcrTestBase::CheckResults(), and GcrTestBase::DoSetup().
time to start groupcast packets generation
Definition at line 83 of file wifi-gcr-test.h.
Referenced by GcrTestBase::DoSetup(), GcrBaTest::Transmit(), and GcrTestBase::Transmit().
Time GcrTestBase::GcrParameters::startUnicast {} |
time to start unicast packets generation
Definition at line 84 of file wifi-gcr-test.h.
Referenced by GcrTestBase::DoSetup(), GcrBaTest::Transmit(), and GcrTestBase::Transmit().
std::vector<StaInfo> GcrTestBase::GcrParameters::stas {} |
information about STAs
Definition at line 78 of file wifi-gcr-test.h.
Referenced by GcrBaTest::CheckResults(), GcrTestBase::CheckResults(), GcrUrTest::CheckResults(), GcrTestBase::DoSetup(), GcrTestBase::IsUsingAmpduOrSmpdu(), GcrUrTest::IsUsingAmpduOrSmpdu(), GcrTestBase::PhyRx(), GcrBaTest::Receive(), GcrBaTest::Transmit(), and GcrTestBase::Transmit().
Time GcrTestBase::GcrParameters::txopLimit {} |
the TXOP limit duration
Definition at line 103 of file wifi-gcr-test.h.
Referenced by GcrBaTest::CheckResults(), GcrTestBase::DoSetup(), GcrBaTest::Receive(), and GcrBaTest::Transmit().