21 #include "ns3/nstime.h"
22 #include "ns3/uinteger.h"
40 .SetGroupName (
"Wifi")
42 .AddAttribute (
"GuardInterval",
43 "Specify the shortest guard interval duration that can be used for HE transmissions."
44 "Possible values are 800ns, 1600ns or 3200ns.",
49 .AddAttribute (
"BssColor",
54 MakeUintegerChecker<uint8_t> ())
55 .AddAttribute (
"MpduBufferSize",
56 "The MPDU buffer size for receiving A-MPDUs",
60 MakeUintegerChecker<uint16_t> (64, 256))
static TypeId GetTypeId(void)
Get the type ID.
uint8_t GetBssColor(void) const
uint16_t m_mpduBufferSize
MPDU buffer size.
Time GetGuardInterval(void) const
void SetBssColor(uint8_t bssColor)
uint16_t GetMpduBufferSize(void) const
Time m_guardInterval
Supported HE guard interval.
void SetGuardInterval(Time guardInterval)
uint8_t m_bssColor
BSS color.
void SetMpduBufferSize(uint16_t size)
A base class which provides memory management and object aggregation.
Simulation virtual time values and global simulation resolution.
AttributeValue implementation for Time.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Hold an unsigned integer type.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Ptr< const AttributeAccessor > MakeTimeAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
#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.
Time NanoSeconds(uint64_t value)
Construct a Time in the indicated unit.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< const AttributeChecker > MakeTimeChecker(const Time min, const Time max)
Helper to make a Time checker with bounded range.