21 #include "ns3/assert.h"
28 for (uint8_t i = 0; i < 33; i++)
36 const char *ssid = s.c_str ();
38 while (*ssid != 0 && len < 32)
157 ssid =
Ssid (str.c_str ());
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
uint8_t m_ssid[33]
Raw SSID value.
#define NS_ASSERT(condition)
bool IsBroadcast(void) const
Check if the SSID is broadcast.
bool IsEqual(const Ssid &o) const
Check if the two SSIDs are equal.
iterator in a Buffer instance
uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
char * PeekString(void) const
Peek the SSID.
void SerializeInformationField(Buffer::Iterator start) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
void Read(uint8_t *buffer, uint32_t size)
The IEEE 802.11 SSID Information Element.
WifiInformationElementId ElementId() const
Own unique Element ID.
void Write(uint8_t const *buffer, uint32_t size)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
ATTRIBUTE_HELPER_CPP(ObjectFactory)
uint8_t m_length
Length of the SSID.
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) ...