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))
Simulation virtual time values and global simulation resolution.
#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.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Time GetGuardInterval(void) const
uint16_t m_mpduBufferSize
MPDU buffer size.
uint8_t GetBssColor(void) const
AttributeValue implementation for Time.
Time NanoSeconds(uint64_t value)
Construct a Time in the indicated unit.
Hold an unsigned integer type.
HE configurationThis object stores HE configuration information, for use in modifying AP or STA behav...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void SetBssColor(uint8_t bssColor)
void SetMpduBufferSize(uint16_t size)
Ptr< const AttributeAccessor > MakeTimeAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
void SetGuardInterval(Time guardInterval)
static TypeId GetTypeId(void)
Get the type ID.
uint16_t GetMpduBufferSize(void) const
uint8_t m_bssColor
BSS color.
Ptr< const AttributeChecker > MakeTimeChecker(const Time min, const Time max)
Helper to make a Time checker with bounded range.
A base class which provides memory management and object aggregation.
Time m_guardInterval
Supported HE guard interval.
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.