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

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

#include "wifi-emlsr-link-switch-test.h"

Collaboration diagram for EmlsrCheckNavAndCcaLastPifsTest::Events:

Public Member Functions

 Events (WifiMacType type, std::function< void(Ptr< const WifiPsdu >, const WifiTxVector &, uint8_t)> &&f={})
 Constructor.

Public Attributes

std::function< void(Ptr< const WifiPsdu >, const WifiTxVector &, uint8_t)> func
 function to perform actions and checks
WifiMacType hdrType
 MAC header type of frame being transmitted.

Detailed Description

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

Definition at line 644 of file wifi-emlsr-link-switch-test.h.

Constructor & Destructor Documentation

◆ Events()

EmlsrCheckNavAndCcaLastPifsTest::Events::Events ( WifiMacType type,
std::function< void(Ptr< const WifiPsdu >, const WifiTxVector &, uint8_t)> && f = {} )
inline

Constructor.

Parameters
typethe frame MAC header type
ffunction to perform actions and checks

Definition at line 652 of file wifi-emlsr-link-switch-test.h.

Member Data Documentation

◆ func

std::function<void(Ptr<const WifiPsdu>, const WifiTxVector&, uint8_t)> EmlsrCheckNavAndCcaLastPifsTest::Events::func

function to perform actions and checks

Definition at line 661 of file wifi-emlsr-link-switch-test.h.

◆ hdrType

WifiMacType EmlsrCheckNavAndCcaLastPifsTest::Events::hdrType

MAC header type of frame being transmitted.

Definition at line 659 of file wifi-emlsr-link-switch-test.h.


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