A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
EmlsrStaleTxopEndTest::Events Struct Reference

Actions and checks to perform upon the transmission of each frame. More...

Collaboration diagram for EmlsrStaleTxopEndTest::Events:

Public Member Functions

 Events (WifiMacType type, linkId_t id, Ptr< WifiMac > tx, std::optional< uint8_t > phy=std::nullopt, std::function< void(const WifiConstPsduMap &, const WifiTxVector &)> &&f={})
 Constructor.

Public Attributes

std::function< void(const WifiConstPsduMap &, const WifiTxVector &)> func
 actions and checks to perform
WifiMacType hdrType
 MAC header type of the frame.
linkId_t linkId
 ID of the link on which the frame is expected.
std::optional< uint8_t > phyId
 ID of the PHY expected to transmit the frame, if any.
Ptr< WifiMac > txMac
 MAC of the device expected to transmit the frame.

Detailed Description

Actions and checks to perform upon the transmission of each frame.

Definition at line 148 of file wifi-emlsr-txop-end-tracking-test.cc.

Constructor & Destructor Documentation

◆ Events()

EmlsrStaleTxopEndTest::Events::Events ( WifiMacType type,
linkId_t id,
Ptr< WifiMac > tx,
std::optional< uint8_t > phy = std::nullopt,
std::function< void(const WifiConstPsduMap &, const WifiTxVector &)> && f = {} )
inline

Constructor.

Parameters
typethe frame MAC header type
idthe ID of the link on which the frame is expected
txthe MAC of the device expected to transmit the frame
phythe ID of the PHY expected to transmit the frame, if it is to be checked
ffunction to perform actions and checks

Definition at line 159 of file wifi-emlsr-txop-end-tracking-test.cc.

Member Data Documentation

◆ func

std::function<void(const WifiConstPsduMap&, const WifiTxVector&)> EmlsrStaleTxopEndTest::Events::func

actions and checks to perform

Definition at line 177 of file wifi-emlsr-txop-end-tracking-test.cc.

◆ hdrType

WifiMacType EmlsrStaleTxopEndTest::Events::hdrType

MAC header type of the frame.

Definition at line 172 of file wifi-emlsr-txop-end-tracking-test.cc.

◆ linkId

linkId_t EmlsrStaleTxopEndTest::Events::linkId

ID of the link on which the frame is expected.

Definition at line 173 of file wifi-emlsr-txop-end-tracking-test.cc.

◆ phyId

std::optional<uint8_t> EmlsrStaleTxopEndTest::Events::phyId

ID of the PHY expected to transmit the frame, if any.

Definition at line 175 of file wifi-emlsr-txop-end-tracking-test.cc.

◆ txMac

Ptr<WifiMac> EmlsrStaleTxopEndTest::Events::txMac

MAC of the device expected to transmit the frame.

Definition at line 174 of file wifi-emlsr-txop-end-tracking-test.cc.


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