HT PHY header (HT-SIG1/2). More...
#include "ht-ppdu.h"
Collaboration diagram for ns3::HtPpdu::HtSigHeader:Public Member Functions | |
| HtSigHeader () | |
| bool | GetAggregation () const |
| Return the aggregation field of HT-SIG. | |
| MHz_u | GetChannelWidth () const |
| Return the channel width. | |
| uint16_t | GetHtLength () const |
| Return the HT length field of HT-SIG (in bytes). | |
| uint8_t | GetMcs () const |
| Return the MCS field of HT-SIG. | |
| bool | GetShortGuardInterval () const |
| Return the short guard interval field of HT-SIG. | |
| void | SetAggregation (bool aggregation) |
| Fill the aggregation field of HT-SIG. | |
| void | SetChannelWidth (MHz_u channelWidth) |
| Fill the channel width field of HT-SIG. | |
| void | SetHtLength (uint16_t length) |
| Fill the HT length field of HT-SIG (in bytes). | |
| void | SetMcs (uint8_t mcs) |
| Fill the MCS field of HT-SIG. | |
| void | SetShortGuardInterval (bool sgi) |
| Fill the short guard interval field of HT-SIG. | |
Private Attributes | |
| uint8_t | m_aggregation |
| Aggregation. | |
| uint8_t | m_cbw20_40 |
| CBW 20/40. | |
| uint16_t | m_htLength |
| HT length. | |
| uint8_t | m_mcs |
| Modulation and Coding Scheme index. | |
| uint8_t | m_sgi |
| Short Guard Interval. | |
HT PHY header (HT-SIG1/2).
See section 19.3.9 in IEEE 802.11-2016.
| ns3::HtPpdu::HtSigHeader::HtSigHeader | ( | ) |
Definition at line 113 of file ht-ppdu.cc.
References m_aggregation, m_cbw20_40, m_htLength, m_mcs, and m_sgi.
| bool ns3::HtPpdu::HtSigHeader::GetAggregation | ( | ) | const |
Return the aggregation field of HT-SIG.
Definition at line 166 of file ht-ppdu.cc.
References m_aggregation.
Referenced by ns3::HtPpdu::SetTxVectorFromPhyHeaders().
Here is the caller graph for this function:| MHz_u ns3::HtPpdu::HtSigHeader::GetChannelWidth | ( | ) | const |
Return the channel width.
Definition at line 142 of file ht-ppdu.cc.
References m_cbw20_40.
Referenced by ns3::HtPpdu::SetTxVectorFromPhyHeaders().
Here is the caller graph for this function:| uint16_t ns3::HtPpdu::HtSigHeader::GetHtLength | ( | ) | const |
Return the HT length field of HT-SIG (in bytes).
Definition at line 154 of file ht-ppdu.cc.
References m_htLength.
| uint8_t ns3::HtPpdu::HtSigHeader::GetMcs | ( | ) | const |
Return the MCS field of HT-SIG.
Definition at line 130 of file ht-ppdu.cc.
References m_mcs.
Referenced by ns3::HtPpdu::SetTxVectorFromPhyHeaders().
Here is the caller graph for this function:| bool ns3::HtPpdu::HtSigHeader::GetShortGuardInterval | ( | ) | const |
Return the short guard interval field of HT-SIG.
Definition at line 178 of file ht-ppdu.cc.
References m_sgi.
Referenced by ns3::HtPpdu::SetTxVectorFromPhyHeaders().
Here is the caller graph for this function:| void ns3::HtPpdu::HtSigHeader::SetAggregation | ( | bool | aggregation | ) |
Fill the aggregation field of HT-SIG.
| aggregation | whether the PSDU contains A-MPDU or not |
Definition at line 160 of file ht-ppdu.cc.
References m_aggregation.
Referenced by ns3::HtPpdu::SetHtSigHeader().
Here is the caller graph for this function:| void ns3::HtPpdu::HtSigHeader::SetChannelWidth | ( | MHz_u | channelWidth | ) |
Fill the channel width field of HT-SIG.
| channelWidth | the channel width |
Definition at line 136 of file ht-ppdu.cc.
References m_cbw20_40.
Referenced by ns3::HtPpdu::SetHtSigHeader().
Here is the caller graph for this function:| void ns3::HtPpdu::HtSigHeader::SetHtLength | ( | uint16_t | length | ) |
Fill the HT length field of HT-SIG (in bytes).
| length | the HT length field of HT-SIG (in bytes) |
Definition at line 148 of file ht-ppdu.cc.
References m_htLength.
Referenced by ns3::HtPpdu::SetHtSigHeader().
Here is the caller graph for this function:| void ns3::HtPpdu::HtSigHeader::SetMcs | ( | uint8_t | mcs | ) |
Fill the MCS field of HT-SIG.
| mcs | the MCS field of HT-SIG |
Definition at line 123 of file ht-ppdu.cc.
References m_mcs, and NS_ASSERT.
Referenced by ns3::HtPpdu::SetHtSigHeader().
Here is the caller graph for this function:| void ns3::HtPpdu::HtSigHeader::SetShortGuardInterval | ( | bool | sgi | ) |
Fill the short guard interval field of HT-SIG.
| sgi | whether short guard interval is used or not |
Definition at line 172 of file ht-ppdu.cc.
References m_sgi.
Referenced by ns3::HtPpdu::SetHtSigHeader().
Here is the caller graph for this function:
|
private |
Aggregation.
Definition at line 110 of file ht-ppdu.h.
Referenced by HtSigHeader(), GetAggregation(), and SetAggregation().
|
private |
CBW 20/40.
Definition at line 108 of file ht-ppdu.h.
Referenced by HtSigHeader(), GetChannelWidth(), and SetChannelWidth().
|
private |
HT length.
Definition at line 109 of file ht-ppdu.h.
Referenced by HtSigHeader(), GetHtLength(), and SetHtLength().
|
private |
Modulation and Coding Scheme index.
Definition at line 107 of file ht-ppdu.h.
Referenced by HtSigHeader(), GetMcs(), and SetMcs().
|
private |
Short Guard Interval.
Definition at line 111 of file ht-ppdu.h.
Referenced by HtSigHeader(), GetShortGuardInterval(), and SetShortGuardInterval().