A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
anonymous_namespace{wifi-helper.cc} Namespace Reference

Functions

uint32_t GetRadiotapField (uint32_t mask, uint32_t val)
 Helper function to place the value to set in the correct bit(s) of a radiotap subfield.
 

Function Documentation

◆ GetRadiotapField()

uint32_t anonymous_namespace{wifi-helper.cc}::GetRadiotapField ( uint32_t mask,
uint32_t val )

Helper function to place the value to set in the correct bit(s) of a radiotap subfield.

Parameters
maskthe mask of the corresponding subfield
valthe value the subfield should be set to
Returns
the value placed at the correct position based on the mask

Definition at line 47 of file wifi-helper.cc.