11#include "ns3/boolean.h"
12#include "ns3/double.h"
14#include "ns3/string.h"
42 .AddAttribute(
"Support160MHzOperation",
43 "Whether or not 160 MHz operation is to be supported.",
47 .AddAttribute(
"SecondaryCcaSensitivityThresholds",
48 "Tuple {threshold for 20MHz PPDUs, threshold for 40MHz PPDUs, threshold "
50 "describing the CCA sensitivity thresholds for PPDUs that do not occupy "
51 "the primary channel. "
52 "The power of a received PPDU that does not occupy the primary channel "
53 "should be higher than "
54 "the threshold (dBm) associated to the PPDU bandwidth to allow the PHY "
55 "layer to declare CCA BUSY state.",
98const std::map<MHz_u, dBm_u>&
AttributeValue implementation for Boolean.
A base class which provides memory management and object aggregation.
Hold variables of type string.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
void Set160MHzOperationSupported(bool enable)
Enable or disable 160 MHz operation support.
std::tuple< dBm_u, dBm_u, dBm_u > SecondaryCcaSensitivityThresholds
Tuple identifying CCA sensitivity thresholds for secondary channels.
void SetSecondaryCcaSensitivityThresholds(const SecondaryCcaSensitivityThresholds &thresholds)
Sets the CCA sensitivity thresholds for PPDUs that do not occupy the primary channel.
const std::map< MHz_u, dBm_u > & GetSecondaryCcaSensitivityThresholdsPerBw() const
bool Get160MHzOperationSupported() const
bool m_160MHzSupported
whether 160 MHz operation is supported
~VhtConfiguration() override
SecondaryCcaSensitivityThresholds GetSecondaryCcaSensitivityThresholds() const
static TypeId GetTypeId()
Get the type ID.
std::map< MHz_u, dBm_u > m_secondaryCcaSensitivityThresholds
CCA sensitivity thresholds for signals that do not occupy the primary channel, indexed by signal band...
Ptr< const AttributeChecker > MakeBooleanChecker()
Ptr< const AttributeAccessor > MakeBooleanAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
Ptr< const AttributeChecker > MakeDoubleChecker()
Ptr< const AttributeChecker > MakeTupleChecker(Ts... checkers)
Create a TupleChecker from AttributeCheckers associated with TupleValue elements.
Ptr< const AttributeAccessor > MakeTupleAccessor(T1 a1)
Create an AttributeAccessor for a class data member of type tuple, or a lone class get functor or set...
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Every class exported by the ns3 library is enclosed in the ns3 namespace.