OFDM and ERP OFDM L-SIG PHY header. More...
#include "ofdm-ppdu.h"
Collaboration diagram for ns3::OfdmPpdu::LSigHeader:Public Member Functions | |
| LSigHeader () | |
| uint16_t | GetLength () const |
| Return the LENGTH field of L-SIG (in bytes). | |
| uint64_t | GetRate (MHz_u channelWidth=MHz_u{20}) const |
| Return the RATE field of L-SIG (in bit/s). | |
| void | SetLength (uint16_t length) |
| Fill the LENGTH field of L-SIG (in bytes). | |
| void | SetRate (uint64_t rate, MHz_u channelWidth=MHz_u{20}) |
| Fill the RATE field of L-SIG (in bit/s). | |
Private Attributes | |
| uint16_t | m_length |
| LENGTH field. | |
| uint8_t | m_rate |
| RATE field. | |
OFDM and ERP OFDM L-SIG PHY header.
See section 17.3.4 in IEEE 802.11-2016.
Definition at line 42 of file ofdm-ppdu.h.
| ns3::OfdmPpdu::LSigHeader::LSigHeader | ( | ) |
Definition at line 87 of file ofdm-ppdu.cc.
| uint16_t ns3::OfdmPpdu::LSigHeader::GetLength | ( | ) | const |
Return the LENGTH field of L-SIG (in bytes).
Definition at line 199 of file ofdm-ppdu.cc.
References m_length.
Return the RATE field of L-SIG (in bit/s).
| channelWidth | the channel width |
Definition at line 147 of file ofdm-ppdu.cc.
References m_rate, and NS_ASSERT_MSG.
Referenced by ns3::ErpOfdmPpdu::SetTxVectorFromLSigHeader(), and ns3::OfdmPpdu::SetTxVectorFromLSigHeader().
Here is the caller graph for this function:| void ns3::OfdmPpdu::LSigHeader::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 192 of file ofdm-ppdu.cc.
References m_length, and NS_ASSERT_MSG.
Referenced by ns3::HtPpdu::SetLSigHeader(), ns3::OfdmPpdu::SetLSigHeader(), and ns3::VhtPpdu::SetLSigHeader().
Here is the caller graph for this function:Fill the RATE field of L-SIG (in bit/s).
| rate | the RATE field of L-SIG expressed in bit/s |
| channelWidth | the channel width |
Definition at line 94 of file ofdm-ppdu.cc.
References m_rate, and NS_ASSERT_MSG.
Referenced by ns3::OfdmPpdu::SetLSigHeader().
Here is the caller graph for this function:
|
private |
LENGTH field.
Definition at line 76 of file ofdm-ppdu.h.
Referenced by LSigHeader(), GetLength(), and SetLength().
|
private |
RATE field.
Definition at line 75 of file ofdm-ppdu.h.
Referenced by LSigHeader(), GetRate(), and SetRate().