22 #ifndef IE_DOT11S_PEER_MANAGEMENT_H
23 #define IE_DOT11S_PEER_MANAGEMENT_H
25 #include "ns3/mesh-information-element-vector.h"
36 REASON11S_PEERING_CANCELLED = 2,
37 REASON11S_MESH_MAX_PEERS,
38 REASON11S_MESH_CAPABILITY_POLICY_VIOLATION,
39 REASON11S_MESH_CLOSE_RCVD,
40 REASON11S_MESH_MAX_RETRIES,
41 REASON11S_MESH_CONFIRM_TIMEOUT,
42 REASON11S_MESH_INVALID_GTK,
43 REASON11S_MESH_INCONSISTENT_PARAMETERS,
44 REASON11S_MESH_INVALID_SECURITY_CAPABILITY,
62 void SetPeerOpen (uint16_t localLinkId);
63 void SetPeerClose (uint16_t localLinkID, uint16_t peerLinkId,
PmpReasonCode reasonCode);
64 void SetPeerConfirm (uint16_t localLinkID, uint16_t peerLinkId);
67 uint16_t GetLocalLinkId ()
const;
68 uint16_t GetPeerLinkId ()
const;
69 bool SubtypeIsOpen ()
const;
70 bool SubtypeIsClose ()
const;
71 bool SubtypeIsConfirm ()
const;
72 uint8_t GetSubtype ()
const;
81 virtual void Print (std::ostream& os)
const;
86 uint16_t m_localLinkId;
PmpReasonCode m_reasonCode
virtual WifiInformationElementId ElementId() const
Own unique Element ID.
iterator in a Buffer instance
See 7.3.2.85 of draft 2.07.
virtual uint8_t GetInformationFieldSize(void) const
virtual uint8_t DeserializeInformationField(Buffer::Iterator i, uint8_t length)
virtual void Print(std::ostream &os) const
In addition, a subclass may optionally override the following...
std::ostream & operator<<(std::ostream &os, const Angles &a)
PmpReasonCode
Codes used by 802.11s Peer Management Protocol.
uint8_t WifiInformationElementId
virtual void SerializeInformationField(Buffer::Iterator i) const