Struct providing a function call operator to compare two RUs. More...
#include "wifi-ru.h"
Public Member Functions | |
| RuSpecCompare (MHz_u channelWidth, uint8_t p20Index) | |
| Constructor. | |
| bool | operator() (const RuSpec &lhs, const RuSpec &rhs) const |
| Function call operator. | |
Private Attributes | |
| MHz_u | m_channelWidth |
| The channel width. | |
| uint8_t | m_p20Index |
| Primary20 channel index. | |
Struct providing a function call operator to compare two RUs.
| ns3::WifiRu::RuSpecCompare::RuSpecCompare | ( | MHz_u | channelWidth, |
| uint8_t | p20Index ) |
Constructor.
| channelWidth | the channel width |
| p20Index | the index of the primary20 channel |
Definition at line 16 of file wifi-ru.cc.
References m_channelWidth, and m_p20Index.
Function call operator.
| lhs | left hand side RU |
| rhs | right hand side RU |
Definition at line 23 of file wifi-ru.cc.
References ns3::WifiRu::GetPhyIndex(), ns3::WifiRu::GetRuType(), ns3::WifiRu::GetSubcarrierGroup(), ns3::WifiRu::IsHe(), m_channelWidth, m_p20Index, ns3::WIFI_MOD_CLASS_EHT, and ns3::WIFI_MOD_CLASS_HE.
|
private |
The channel width.
Definition at line 53 of file wifi-ru.h.
Referenced by RuSpecCompare(), and operator()().
|
private |
Primary20 channel index.
Definition at line 54 of file wifi-ru.h.
Referenced by RuSpecCompare(), and operator()().