11#include "ns3/boolean.h" 
   12#include "ns3/double.h" 
   14#include "ns3/string.h" 
   43            .AddAttribute(
"Support160MHzOperation",
 
   44                          "Whether or not 160 MHz operation is to be supported.",
 
   49                          "Set an initial channel via WifiPhy::ChannelSettings whose width " 
   50                          "corresponds to the maximum desired width instead")
 
   51            .AddAttribute(
"SecondaryCcaSensitivityThresholds",
 
   52                          "Tuple {threshold for 20MHz PPDUs, threshold for 40MHz PPDUs, threshold " 
   54                          "describing the CCA sensitivity thresholds for PPDUs that do not occupy " 
   55                          "the primary channel. " 
   56                          "The power of a received PPDU that does not occupy the primary channel " 
   57                          "should be higher than " 
   58                          "the threshold (dBm) associated to the PPDU bandwidth to allow the PHY " 
   59                          "layer to declare CCA BUSY state.",
 
 
  102const 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.
@ OBSOLETE
Attribute or trace source is not used anymore; simulation fails.
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.