28 for (uint8_t i = 0; i < 33; i++)
37 const char *
ssid = s.c_str ();
39 while (*
ssid != 0 && len < 32)
123 os <<
ssid.PeekString ();
WifiInformationElementId ElementId() const
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
uint8_t m_ssid[33]
Raw SSID value.
#define ATTRIBUTE_HELPER_CPP(type)
Define the attribute value, accessor and checkers for class type
void SerializeInformationField(Buffer::Iterator start) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
Ssid()
Create SSID with broadcast SSID.
iterator in a Buffer instance
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.
char * PeekString(void) const
Peek the SSID.
uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
The IEEE 802.11 SSID Information Element.
bool IsEqual(const Ssid &o) const
Check if the two SSIDs are equal.
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
uint8_t m_length
Length of the SSID.
bool IsBroadcast(void) const
Check if the SSID is broadcast.
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) ...