A Discrete-Event Network Simulator
API
EmlsrUlTxopTest Class Reference

Test the transmission of UL frames from EMLSR clients. More...

#include "wifi-emlsr-test.h"

+ Inheritance diagram for EmlsrUlTxopTest:
+ Collaboration diagram for EmlsrUlTxopTest:

Classes

struct  Params
 Parameters for the EMLSR UL TXOP test. More...
 

Public Member Functions

 EmlsrUlTxopTest (const Params &params)
 Constructor. More...
 
 ~EmlsrUlTxopTest () override=default
 
- Public Member Functions inherited from EmlsrOperationsTestBase
 EmlsrOperationsTestBase (const std::string &name)
 Constructor. More...
 
 ~EmlsrOperationsTestBase () override=default
 
- Public Member Functions inherited from ns3::TestCase
 TestCase (const TestCase &)=delete
 
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName () const
 
TestCaseoperator= (const TestCase &)=delete
 

Protected Member Functions

void CheckBlockAck (const WifiConstPsduMap &psduMap, const WifiTxVector &txVector, uint8_t linkId)
 Check that appropriate actions are taken when an MLD transmits a PPDU containing BlockAck frames on the given link. More...
 
void CheckCtsFrames (Ptr< const WifiMpdu > mpdu, const WifiTxVector &txVector, uint8_t linkId)
 Check that appropriate actions are taken by the EMLSR client when receiving a CTS frame on the given link. More...
 
void CheckQosFrames (const WifiConstPsduMap &psduMap, const WifiTxVector &txVector, uint8_t linkId)
 Check that appropriate actions are taken when an MLD transmits a PPDU containing QoS data frames on the given link. More...
 
void CheckResults ()
 Check that the simulation produced the expected results. More...
 
void CheckRtsFrames (Ptr< const WifiMpdu > mpdu, const WifiTxVector &txVector, uint8_t linkId)
 Check that appropriate actions are taken by the EMLSR client when transmitting an RTS frame on the given link. More...
 
void DoRun () override
 Implementation to actually run this TestCase. More...
 
void DoSetup () override
 Implementation to do any local setup required for this TestCase. More...
 
void Transmit (Ptr< WifiMac > mac, uint8_t phyId, WifiConstPsduMap psduMap, WifiTxVector txVector, double txPowerW) override
 Callback invoked when a FEM passes PSDUs to the PHY. More...
 
- Protected Member Functions inherited from EmlsrOperationsTestBase
void CheckBlockedLink (Ptr< WifiMac > mac, Mac48Address dest, uint8_t linkId, WifiQueueBlockedReason reason, bool blocked, std::string description, bool testUnblockedForOtherReasons=true)
 Check whether QoS data unicast transmissions addressed to the given destination on the given link are blocked or unblocked for the given reason on the given device. More...
 
Ptr< PacketSocketClientGetApplication (TrafficDirection dir, std::size_t staId, std::size_t count, std::size_t pktSize) const
 
- 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 TestCase. More...
 
bool IsStatusFailure () const
 Check if any tests failed. More...
 
bool IsStatusSuccess () 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 () const
 Check if this run should assert on failure. More...
 
bool MustContinueOnFailure () 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...
 

Private Member Functions

void BackoffGenerated (uint32_t backoff, uint8_t linkId)
 Callback invoked when a new backoff value is generated by the EMLSR client. More...
 
void StartTraffic () override
 Start the generation of traffic (needs to be overridden) More...
 

Private Attributes

uint16_t m_auxPhyChannelWidth
 max width (MHz) supported by aux PHYs More...
 
std::optional< Timem_backoffEndTime
 expected backoff end time on main PHY link More...
 
uint16_t m_channelWidth
 width (MHz) of the channels used by MLDs More...
 
bool m_checkBackoffStarted
 whether we are checking the generated backoff values More...
 
std::optional< bool > m_corruptCts
 whether the transmitted CTS must be corrupted More...
 
std::size_t m_countBlockAck
 counter for BlockAck frames More...
 
std::size_t m_countQoSframes
 counter for QoS frames More...
 
std::size_t m_countRtsframes
 counter for RTS frames More...
 
Time m_emlsrEnabledTime
 when EMLSR mode has been enabled on all EMLSR clients More...
 
std::set< uint8_t > m_emlsrLinks
 IDs of the links on which EMLSR mode has to be enabled. More...
 
Ptr< ListErrorModelm_errorModel
 error rate model to corrupt packets More...
 
Time m_firstUlPktsGenTime
 generation time of the first two UL packets More...
 
bool m_genBackoffIfTxopWithoutTx
 whether the backoff should be invoked when the AC gains the right to start a TXOP but it does not transmit any frame More...
 
Time m_lastMsdExpiryTime
 expiry time of the last MediumSyncDelay timer More...
 
Time m_mediumSyncDuration
 duration of the MediumSyncDelay timer More...
 
uint8_t m_msdMaxNTxops
 Max number of TXOPs that an EMLSR client is allowed to attempt to initiate while the MediumSyncDelay timer is running (zero indicates no limit) More...
 
std::optional< uint8_t > m_nonEmlsrLink
 ID of the non-EMLSR link (if any) More...
 
const Time m_unblockMainPhyLinkDelay
 delay between the time the first two UL packets are generated and the time transmissions are unblocked on the link where the main PHY is operating on More...
 

Additional Inherited Members

- Public Types inherited from EmlsrOperationsTestBase
enum  TrafficDirection : uint8_t { DOWNLINK = 0 , UPLINK }
 Enumeration for traffic directions. More...
 
- Public Types inherited from ns3::TestCase
enum  TestDuration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 }
 How long the test takes to execute. More...
 
- Protected Attributes inherited from EmlsrOperationsTestBase
Ptr< ApWifiMacm_apMac
 AP wifi MAC. More...
 
std::vector< PacketSocketAddressm_dlSockets
 packet socket address for DL traffic More...
 
Time m_duration {0}
 simulation duration More...
 
bool m_establishBaDl {false}
 whether BA needs to be established (for TID 0) with the AP as originator More...
 
bool m_establishBaUl {false}
 whether BA needs to be established (for TID 0) with the AP as recipient More...
 
uint16_t m_lastAid {0}
 AID of last associated station. More...
 
std::set< uint8_t > m_linksToEnableEmlsrOn
 IDs of the links on which EMLSR mode has to be enabled. More...
 
uint8_t m_mainPhyId {0}
 ID of the main PHY. More...
 
std::size_t m_nEmlsrStations {1}
 number of stations to create that activate EMLSR More...
 
std::size_t m_nNonEmlsrStations {0}
 number of stations to create that do not activate EMLSR More...
 
std::vector< Timem_paddingDelay
 Padding Delay advertised by the non-AP MLD. More...
 
std::vector< Ptr< StaWifiMac > > m_staMacs
 MACs of the non-AP MLDs. More...
 
std::vector< Timem_transitionDelay
 Transition Delay advertised by the non-AP MLD. More...
 
Time m_transitionTimeout {MicroSeconds(128)}
 Transition Timeout advertised by the AP MLD. More...
 
std::vector< FrameInfom_txPsdus
 transmitted PSDUs More...
 
std::vector< PacketSocketAddressm_ulSockets
 packet socket address for UL traffic More...
 

Detailed Description

Test the transmission of UL frames from EMLSR clients.

This test considers an AP MLD and a non-AP MLD that support EMLSR. The non-AP MLD setups three links, while the set of EMLSR links is configurable. Block ack agreements (for TID 0) for both DL and UL directions are established after that the EML Operating Mode Notification frames are exchanged to enable the EMLSR mode on the EMLSR links. Aux PHYs on the EMLSR client do not switch link, hence the main PHY will switch link (if needed) when terminating a TXOP.

It is checked that:

  • Initially, aux PHYs are configured so that they are unable to transmit frames. Before generating the packets for the first UL data frame, transmissions on the link where the main PHY is operating and on the non-EMLSR link (if any) are blocked. Thus, the first UL data frame is held until transmissions on the link where the main PHY is operating are unblocked. The first UL data frame is sent by the main PHY without RTS protection. When the data frame exchange terminates, the MediumSyncDelay timer is started on the other EMLSR links and the CCA ED threshold is set as expected
  • If there is a non-EMLSR link, another data frame can be sent concurrently (without protection) on the non-EMLSR link
  • When the first UL data frame is transmitted, we make the aux PHYs on the EMLSR client capable of transmitting, we block transmissions on the link where the main PHY is operating and generate new UL packets, which will then be transmitted on a link where an aux PHY is operating. Thus, the aux PHY transmits an RTS frame and the main PHY will take over and transmit the second UL data frame. We check that, while the link on which the main PHY was operating is blocked because another EMLSR link is being used, new backoff values for that link are generated if and only if the QosTxop::GenerateBackoffIfTxopWithoutTx attribute is true; otherwise, a new backoff value is generated when the link is unblocked.
  • When the exchange of the second UL data frame terminates, we make the aux PHY unable to transmit, block transmissions on the non-EMLSR link (if any) and generate some more UL packets, which will then be transmitted by the main PHY. However, a MediumSyncDelay timer is now running on the link where the main PHY is operating, hence transmissions are protected by an RTS frame. We install a post reception error model on the AP MLD so that all RTS frames sent by the EMLSR client are not received by the AP MLD. We check that the EMLSR client makes at most the configured max number of transmission attempts and that another UL data frame is sent once the MediumSyncDelay timer is expired. We also check that the TX width of the RTS frames and the UL data frame equal the channel width used by the main PHY.
  • We check that no issue arises in case an aux PHY sends an RTS frame but the CTS response is not transmitted successfully. Specifically, we check that the main PHY is completing the channel switch when the (unsuccessful) reception of the CTS ends and that a new RTS/CTS exchange is carried out to protect the transmission of the last data frame.

Definition at line 509 of file wifi-emlsr-test.h.

Constructor & Destructor Documentation

◆ EmlsrUlTxopTest()

◆ ~EmlsrUlTxopTest()

EmlsrUlTxopTest::~EmlsrUlTxopTest ( )
overridedefault

Member Function Documentation

◆ BackoffGenerated()

void EmlsrUlTxopTest::BackoffGenerated ( uint32_t  backoff,
uint8_t  linkId 
)
private

Callback invoked when a new backoff value is generated by the EMLSR client.

Parameters
backoffthe generated backoff value
linkIdthe ID of the link for which the backoff value has been generated

Definition at line 2346 of file wifi-emlsr-test.cc.

References ns3::AC_BE, m_backoffEndTime, m_checkBackoffStarted, m_genBackoffIfTxopWithoutTx, EmlsrOperationsTestBase::m_mainPhyId, EmlsrOperationsTestBase::m_staMacs, ns3::Now(), NS_LOG_INFO, and NS_TEST_EXPECT_MSG_EQ.

Referenced by DoSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckBlockAck()

void EmlsrUlTxopTest::CheckBlockAck ( const WifiConstPsduMap psduMap,
const WifiTxVector txVector,
uint8_t  linkId 
)
protected

Check that appropriate actions are taken when an MLD transmits a PPDU containing BlockAck frames on the given link.

Parameters
psduMapthe PSDU carrying BlockAck frames
txVectorthe TXVECTOR used to send the PPDU
linkIdthe ID of the given link

Definition at line 2606 of file wifi-emlsr-test.cc.

References ns3::AC_BE, ns3::Time::As(), ns3::WifiMac::GetAddress(), EmlsrOperationsTestBase::GetApplication(), ns3::WifiPhy::GetPhyBand(), ns3::WifiMac::GetWifiPhy(), EmlsrOperationsTestBase::m_apMac, m_backoffEndTime, m_checkBackoffStarted, m_countBlockAck, m_lastMsdExpiryTime, EmlsrOperationsTestBase::m_mainPhyId, m_nonEmlsrLink, EmlsrOperationsTestBase::m_staMacs, Max, ns3::NanoSeconds(), ns3::Now(), NS_LOG_INFO, NS_TEST_ASSERT_MSG_EQ, NS_TEST_EXPECT_MSG_EQ, EmlsrOperationsTestBase::UPLINK, and ns3::WIFI_QOSDATA_QUEUE.

Referenced by Transmit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckCtsFrames()

void EmlsrUlTxopTest::CheckCtsFrames ( Ptr< const WifiMpdu mpdu,
const WifiTxVector txVector,
uint8_t  linkId 
)
protected

Check that appropriate actions are taken by the EMLSR client when receiving a CTS frame on the given link.

Parameters
mpduthe MPDU carrying the CTS frame
txVectorthe TXVECTOR used to send the PPDU
linkIdthe ID of the given link

Definition at line 2791 of file wifi-emlsr-test.cc.

References ns3::WifiPhy::GetPhyBand(), ns3::WifiMac::GetWifiPhy(), EmlsrOperationsTestBase::m_apMac, m_corruptCts, m_errorModel, EmlsrOperationsTestBase::m_mainPhyId, EmlsrOperationsTestBase::m_staMacs, NS_LOG_INFO, NS_TEST_EXPECT_MSG_EQ, and ns3::ListErrorModel::SetList().

Referenced by Transmit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckQosFrames()

void EmlsrUlTxopTest::CheckQosFrames ( const WifiConstPsduMap psduMap,
const WifiTxVector txVector,
uint8_t  linkId 
)
protected

Check that appropriate actions are taken when an MLD transmits a PPDU containing QoS data frames on the given link.

Parameters
psduMapthe PSDU(s) carrying QoS data frames
txVectorthe TXVECTOR used to send the PPDU
linkIdthe ID of the given link

Definition at line 2471 of file wifi-emlsr-test.cc.

References ns3::AC_BE, EmlsrOperationsTestBase::CheckBlockedLink(), ns3::WifiMac::GetAddress(), EmlsrOperationsTestBase::GetApplication(), ns3::WifiPhy::GetPhyBand(), ns3::WifiMac::GetWifiPhy(), EmlsrOperationsTestBase::m_apMac, m_countQoSframes, EmlsrOperationsTestBase::m_mainPhyId, m_nonEmlsrLink, EmlsrOperationsTestBase::m_staMacs, ns3::MicroSeconds(), NS_LOG_INFO, EmlsrOperationsTestBase::UPLINK, and ns3::WIFI_QOSDATA_QUEUE.

Referenced by Transmit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckResults()

void EmlsrUlTxopTest::CheckResults ( )
protected

Check that the simulation produced the expected results.

EMLSR client with EMLSR mode enabled on all links (main PHY ID = 1).

main PHY│ blocked,│ aux PHYs││main PHY blocked│ cannot │ transmit│ │ ┌───┐ ┌──┐ [link 0] │CTS│ │BA│ ────────────────────────┬───┬┴───┴┬───┬───┬┴──┴───────────────────────────────────────── │RTS│ │QoS│QoS│ └───┘ │ 6 │ 7 │ └───┴───┘ gen backoff gen backoff if MediumSyncDelay ┌──┐ (also many times) not running timer expired ┌──┐ [link 1] │BA│ │ if allowed │ │ │BA│ ─────────┬───┬───┬┴──┴───────────────────────────┬───┬─────┬───┬────┬───┬───┬┴──┴─────── │QoS│QoS│ │RTS│ ... │RTS│ │QoS│QoS│ │ 4 │ 5 │ └───┘ └───┘ │ 8 │ 9 │ └───┴───┘ └───┴───┘

[link 2] ───────────────────────────────────────────────────────────────────────────

EMLSR client with EMLSR mode enabled on links 0 and 1 (main PHY ID = 1).

main PHY │ and │ non-EMLSR│ link │ blocked,│ aux PHYs││main PHY blocked│ cannot │ transmit│ │ ┌───┐ ┌──┐ [link 0] │CTS│ │BA│ ────────────────────────┬───┬┴───┴┬───┬───┬┴──┴───────────────────────────────────────── │RTS│ │QoS│QoS│ └───┘ │ 8 │ 9 │ └───┴───┘ gen backoff gen backoff if MediumSyncDelay ┌──┐ (also many times) not running timer expired ┌──┐ [link 1] │BA│ │ if allowed │ │ │BA│ ─────────┬───┬───┬┴──┴───────────────────────────┬───┬─────┬───┬────┬───┬───┬┴──┴─────── │QoS│QoS│ │RTS│ ... │RTS│ │QoS│QoS│ │ 4 │ 5 │ └───┘ └───┘ │ 10│ 11│ └───┴───┘ └───┴───┘ ┌──┐ [link 2] │BA│ ──────────┬───┬───┬┴──┴──────────────────────────────────────────────────────────── │QoS│QoS│ │ 6 │ 7 │ └───┴───┘

For both scenarios, after the last frame exchange on the main PHY link, we have the following frame exchange on an EMLSR link where an aux PHY is operating on:

        ┌───┐              ┌───┐         ┌──┐
        │CTS│              │CTS│         │BA│

──────┬───┬┴───X─────────┬───┬┴───┴┬───┬───┬┴──┴───────────────────────────────────── │RTS│ │RTS│ │QoS│QoS│ └───┘ └───┘ │ X │ Y │ └───┴───┘ For all EMLSR links scenario, X=10, Y=11; otherwise, X=12, Y=13.

Definition at line 2827 of file wifi-emlsr-test.cc.

References ns3::CtrlTriggerHeader::IsMuRts(), m_auxPhyChannelWidth, m_countRtsframes, m_firstUlPktsGenTime, m_lastMsdExpiryTime, EmlsrOperationsTestBase::m_mainPhyId, m_msdMaxNTxops, m_nonEmlsrLink, EmlsrOperationsTestBase::m_staMacs, EmlsrOperationsTestBase::m_txPsdus, m_unblockMainPhyLinkDelay, NS_TEST_ASSERT_MSG_EQ, NS_TEST_EXPECT_MSG_EQ, NS_TEST_EXPECT_MSG_GT_OR_EQ, NS_TEST_EXPECT_MSG_LT, NS_TEST_EXPECT_MSG_LT_OR_EQ, and NS_TEST_EXPECT_MSG_NE.

Referenced by DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckRtsFrames()

void EmlsrUlTxopTest::CheckRtsFrames ( Ptr< const WifiMpdu mpdu,
const WifiTxVector txVector,
uint8_t  linkId 
)
protected

Check that appropriate actions are taken by the EMLSR client when transmitting an RTS frame on the given link.

Parameters
mpduthe MPDU carrying the RTS frame
txVectorthe TXVECTOR used to send the PPDU
linkIdthe ID of the given link

Definition at line 2753 of file wifi-emlsr-test.cc.

References ns3::WifiTxVector::GetChannelWidth(), ns3::Time::IsZero(), m_corruptCts, m_countRtsframes, m_errorModel, m_firstUlPktsGenTime, EmlsrOperationsTestBase::m_mainPhyId, EmlsrOperationsTestBase::m_staMacs, NS_LOG_INFO, NS_TEST_EXPECT_MSG_EQ, and ns3::ListErrorModel::SetList().

Referenced by Transmit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoRun()

void EmlsrUlTxopTest::DoRun ( )
overrideprotectedvirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Implements ns3::TestCase.

Definition at line 2816 of file wifi-emlsr-test.cc.

References CheckResults(), and EmlsrOperationsTestBase::m_duration.

+ Here is the call graph for this function:

◆ DoSetup()

void EmlsrUlTxopTest::DoSetup ( )
overrideprotectedvirtual

◆ StartTraffic()

void EmlsrUlTxopTest::StartTraffic ( )
overrideprivatevirtual

◆ Transmit()

void EmlsrUlTxopTest::Transmit ( Ptr< WifiMac mac,
uint8_t  phyId,
WifiConstPsduMap  psduMap,
WifiTxVector  txVector,
double  txPowerW 
)
overrideprotectedvirtual

Callback invoked when a FEM passes PSDUs to the PHY.

Parameters
macthe MAC transmitting the PSDUs
phyIdthe ID of the PHY transmitting the PSDUs
psduMapthe PSDU map
txVectorthe TX vector
txPowerWthe tx power in Watts

Reimplemented from EmlsrOperationsTestBase.

Definition at line 2387 of file wifi-emlsr-test.cc.

References CheckBlockAck(), CheckCtsFrames(), CheckQosFrames(), CheckRtsFrames(), EmlsrOperationsTestBase::m_mainPhyId, EmlsrOperationsTestBase::m_txPsdus, third::mac, NS_ASSERT_MSG, NS_TEST_EXPECT_MSG_EQ, EmlsrOperationsTestBase::Transmit(), ns3::WIFI_MAC_CTL_BACKRESP, ns3::WIFI_MAC_CTL_CTS, ns3::WIFI_MAC_CTL_RTS, ns3::WIFI_MAC_MGT_ASSOCIATION_REQUEST, and ns3::WIFI_MAC_QOSDATA.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_auxPhyChannelWidth

uint16_t EmlsrUlTxopTest::m_auxPhyChannelWidth
private

max width (MHz) supported by aux PHYs

Definition at line 609 of file wifi-emlsr-test.h.

Referenced by CheckResults(), and DoSetup().

◆ m_backoffEndTime

std::optional<Time> EmlsrUlTxopTest::m_backoffEndTime
private

expected backoff end time on main PHY link

Definition at line 622 of file wifi-emlsr-test.h.

Referenced by BackoffGenerated(), and CheckBlockAck().

◆ m_channelWidth

uint16_t EmlsrUlTxopTest::m_channelWidth
private

width (MHz) of the channels used by MLDs

Definition at line 608 of file wifi-emlsr-test.h.

Referenced by DoSetup().

◆ m_checkBackoffStarted

bool EmlsrUlTxopTest::m_checkBackoffStarted
private

whether we are checking the generated backoff values

Definition at line 621 of file wifi-emlsr-test.h.

Referenced by BackoffGenerated(), and CheckBlockAck().

◆ m_corruptCts

std::optional<bool> EmlsrUlTxopTest::m_corruptCts
private

whether the transmitted CTS must be corrupted

Definition at line 630 of file wifi-emlsr-test.h.

Referenced by CheckCtsFrames(), and CheckRtsFrames().

◆ m_countBlockAck

std::size_t EmlsrUlTxopTest::m_countBlockAck
private

counter for BlockAck frames

Definition at line 625 of file wifi-emlsr-test.h.

Referenced by CheckBlockAck().

◆ m_countQoSframes

std::size_t EmlsrUlTxopTest::m_countQoSframes
private

counter for QoS frames

Definition at line 624 of file wifi-emlsr-test.h.

Referenced by CheckQosFrames().

◆ m_countRtsframes

std::size_t EmlsrUlTxopTest::m_countRtsframes
private

counter for RTS frames

Definition at line 626 of file wifi-emlsr-test.h.

Referenced by CheckResults(), and CheckRtsFrames().

◆ m_emlsrEnabledTime

Time EmlsrUlTxopTest::m_emlsrEnabledTime
private

when EMLSR mode has been enabled on all EMLSR clients

Definition at line 615 of file wifi-emlsr-test.h.

◆ m_emlsrLinks

std::set<uint8_t> EmlsrUlTxopTest::m_emlsrLinks
private

IDs of the links on which EMLSR mode has to be enabled.

Definition at line 607 of file wifi-emlsr-test.h.

Referenced by EmlsrUlTxopTest().

◆ m_errorModel

Ptr<ListErrorModel> EmlsrUlTxopTest::m_errorModel
private

error rate model to corrupt packets

Definition at line 623 of file wifi-emlsr-test.h.

Referenced by CheckCtsFrames(), CheckRtsFrames(), and DoSetup().

◆ m_firstUlPktsGenTime

Time EmlsrUlTxopTest::m_firstUlPktsGenTime
private

generation time of the first two UL packets

Definition at line 616 of file wifi-emlsr-test.h.

Referenced by CheckResults(), CheckRtsFrames(), and StartTraffic().

◆ m_genBackoffIfTxopWithoutTx

bool EmlsrUlTxopTest::m_genBackoffIfTxopWithoutTx
private

whether the backoff should be invoked when the AC gains the right to start a TXOP but it does not transmit any frame

Definition at line 627 of file wifi-emlsr-test.h.

Referenced by BackoffGenerated(), and DoSetup().

◆ m_lastMsdExpiryTime

Time EmlsrUlTxopTest::m_lastMsdExpiryTime
private

expiry time of the last MediumSyncDelay timer

Definition at line 620 of file wifi-emlsr-test.h.

Referenced by CheckBlockAck(), and CheckResults().

◆ m_mediumSyncDuration

Time EmlsrUlTxopTest::m_mediumSyncDuration
private

duration of the MediumSyncDelay timer

Definition at line 610 of file wifi-emlsr-test.h.

Referenced by DoSetup().

◆ m_msdMaxNTxops

uint8_t EmlsrUlTxopTest::m_msdMaxNTxops
private

Max number of TXOPs that an EMLSR client is allowed to attempt to initiate while the MediumSyncDelay timer is running (zero indicates no limit)

Definition at line 611 of file wifi-emlsr-test.h.

Referenced by CheckResults(), and DoSetup().

◆ m_nonEmlsrLink

std::optional<uint8_t> EmlsrUlTxopTest::m_nonEmlsrLink
private

ID of the non-EMLSR link (if any)

Definition at line 614 of file wifi-emlsr-test.h.

Referenced by EmlsrUlTxopTest(), CheckBlockAck(), CheckQosFrames(), CheckResults(), and StartTraffic().

◆ m_unblockMainPhyLinkDelay

const Time EmlsrUlTxopTest::m_unblockMainPhyLinkDelay
private

delay between the time the first two UL packets are generated and the time transmissions are unblocked on the link where the main PHY is operating on

Definition at line 617 of file wifi-emlsr-test.h.

Referenced by CheckResults(), and StartTraffic().


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