22 #include "ns3/assert.h"
31 : m_currentChannel (0),
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
#define ATTRIBUTE_HELPER_CPP(type)
Define the attribute value, accessor and checkers for class type.
#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.
uint8_t GetCurrentChannel(void) const
uint16_t GetSerializedSize() const
Return the serialized size of this DSSS Parameter Set.
iterator in a Buffer instance
WifiInformationElementId ElementId() const
Own unique Element ID.
uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length)
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
void SerializeInformationField(Buffer::Iterator start) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
void SetCurrentChannel(uint8_t currentChannel)
Set the Current Channel field in the DsssParameterSet information element.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void SetDsssSupported(uint8_t DsssSupported)
The DSSS Parameter SetThis class knows how to serialise and deserialise the DSSS Parameter Set...
void WriteU8(uint8_t data)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
Buffer::Iterator Serialize(Buffer::Iterator start) const
This information element is a bit special in that it is only included if the STA does support DSSS...