DSSS SIG PHY header. More...
#include "dsss-ppdu.h"
Public Member Functions | |
DsssSigHeader () | |
uint16_t | GetLength () const |
Return the LENGTH field of L-SIG (in bytes). More... | |
uint64_t | GetRate () const |
Return the RATE field of L-SIG (in bit/s). More... | |
void | SetLength (uint16_t length) |
Fill the LENGTH field of L-SIG (in bytes). More... | |
void | SetRate (uint64_t rate) |
Fill the RATE field of L-SIG (in bit/s). More... | |
Private Attributes | |
uint16_t | m_length |
LENGTH field. More... | |
uint8_t | m_rate |
RATE field. More... | |
DSSS SIG PHY header.
See section 16.2.2 in IEEE 802.11-2016.
Definition at line 51 of file dsss-ppdu.h.
ns3::DsssPpdu::DsssSigHeader::DsssSigHeader | ( | ) |
Definition at line 94 of file dsss-ppdu.cc.
uint16_t ns3::DsssPpdu::DsssSigHeader::GetLength | ( | void | ) | const |
Return the LENGTH field of L-SIG (in bytes).
Definition at line 161 of file dsss-ppdu.cc.
Referenced by ns3::DsssPpdu::GetTxDuration().
uint64_t ns3::DsssPpdu::DsssSigHeader::GetRate | ( | ) | const |
Return the RATE field of L-SIG (in bit/s).
Definition at line 130 of file dsss-ppdu.cc.
References NS_ASSERT_MSG.
Referenced by ns3::DsssPpdu::SetTxVectorFromDsssHeader().
void ns3::DsssPpdu::DsssSigHeader::SetLength | ( | uint16_t | length | ) |
Fill the LENGTH field of L-SIG (in bytes).
length | the LENGTH field of L-SIG expressed in bytes |
Definition at line 155 of file dsss-ppdu.cc.
Referenced by ns3::DsssPpdu::SetDsssHeader().
void ns3::DsssPpdu::DsssSigHeader::SetRate | ( | uint64_t | rate | ) |
Fill the RATE field of L-SIG (in bit/s).
rate | the RATE field of L-SIG expressed in bit/s |
Definition at line 101 of file dsss-ppdu.cc.
References NS_ASSERT_MSG.
Referenced by ns3::DsssPpdu::SetDsssHeader().
|
private |
LENGTH field.
Definition at line 83 of file dsss-ppdu.h.
|
private |
RATE field.
Definition at line 82 of file dsss-ppdu.h.